Message: Re: Calculating time between scintillated events Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Calculating time between scintillated events 

Forum: Processes Involving Optical Photons
Re: Question Calculating time between scintillated events (Cejo George)
Re: Feedback Re: Calculating time between scintillated events (Gumplinger Peter)
Re: Question Re: Calculating time between scintillated events (Ashwath Rao)
Date: 11 Oct, 2012
From: Gumplinger Peter <Gumplinger Peter>

Dear Ashwath,

> 1) Sir, I understand the usage of > particleGun->SetParticleTime(time);
> to be for creating offsets for "every individual event to start"

Yes

> with a
> fixed offset time having no dependency on the previous event. .... TRUE?

Well, you can calculate 'time' in the above call as a function of event number. In that case, the start times do have a depencency on the previous event. If you don't, then there is no dependency.

> 2) As you said: > That said, Geant4 does keep track of time within an
> event. Is there any command for keeping time "between" the
> (scintillation) events ?

Sorry, I don't understand what you mean by 'scintillation events'? If you want to keep time between, let's say, 'scintillator-1' being hit and 'scintillator-2' being hit, then you have to do this yourself with calls to GlobalTime when tracks reach scint-1 and scint-2.

> 3) Time of flight offset is derived based on the offset mentioned
> through > particleGun->SetParticleTime(time); . TRUE ?

Yes, what you get with GlobalTime is the initial offset (SetParticleTime) +(plus) the time of flight of the track.

Hope that clarifies the situation, Peter

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

1 Agree: Re: Calculating time between scintillated events   (Ashwath Rao - 11 Oct, 2012)
(_ Question: Re: Calculating time between scintillated events   (Cejo George - 12 Oct, 2012)
 Add Message Add Message
to: "Re: Calculating time between scintillated events"

 Subscribe Subscribe

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