Message: G4Timer Questions Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question G4Timer Questions 

Keywords: G4Timer, Minimum Time, G4Timer Start, G4Timer Stop
Forum: Run Management
Date: 06 Aug, 2006
From: Zach Marshall <zmarshal@caltech.edu>

Hello,

I cannot find the answers to these in the GEANT documentation, but I am sure they are fairly straightforward:

What is the minimum time a G4Timer can record?
  (such that it will not give myTime->GetSystemElapsed()=0)

Is there a structure for a timer that can be started and stopped repeatedl? Am I correct that a G4Timer cannot do this, e.g.

myTime->Start()
  do something for 1 second
myTime->Stop()
  do something for 2 seconds
myTime->Start()
  do something for 1 second
myTime->Stop()

myTime->GetSystemElapsed()

> 2 seconds

Thank you, Zach

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Idea: Re: G4Timer Questions   (Zach Marshall - 19 Aug, 2006)
 Add Message Add Message
to: "G4Timer Questions"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]