Message: Trying to reset global time Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Trying to reset global time 

Forum: Event and Track Management
Date: 14 Dec, 2011
From: Sarah Bender <Sarah Bender>

I'm trying to use the timing information to reject coincident pulses in different detectors (same tracker). Since I'm decaying my source, I want to reset my global time to zero at the start of each decay to get rid of the time before the decay occurred. From ProcessHits in my Tracker, I'm using this to do the reset:

        G4double reset = 0.0*second;
        aStep->GetTrack()->SetGlobalTime(reset);

This only works the one individual track though. Why do tracks that follow this still have the original track time? When I call the reset after the first gamma ray interaction in my detector, all the electrons generated by the interaction retain the reset track time. Why the difference?

Thank you, Sarah

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

1 Feedback: Re: Trying to reset global time   (Gumplinger Peter - 14 Dec, 2011)
(_ None: Re: Trying to reset global time   (Sarah Bender - 15 Dec, 2011)
(_ None: Re: Trying to reset global time   (Michael H. Kelsey - 15 Dec, 2011)
 Add Message Add Message
to: "Trying to reset global time"

 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 ]