Message: Re: Global Time of Ions Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Global Time of Ions 

Forum: Event and Track Management
Re: None Global Time of Ions (Adam Anderson)
Date: 17 May, 2013
From: Gumplinger Peter <Gumplinger Peter>

Hi Adam,

> I am accessing the global time in the ProcessHits method of my
> sensitive detector class using myStep->GetTrack()->GetGlobalTime().
> So I am curious: could this be a bug in the geant4 tracking? Or am I
> just misinterpreting the meaning of the global time attribute of the
> G4Track object?

No, to your last question.

Can you tell us what process produces the 3He ions? The process producing the secondary must instantiate a new G4Track with this constructor:

that includes the global time. It should in general be set to:

G4double aSecondaryTime = (pPostStepPoint->GetGlobalTime()) + TimeDelay;

where the TimeDelay may be zero.

Also, can you switch to at least the latest patch for 9.5 (patch02) and confirm that your issue persists.


 Add Message Add Message
to: "Re: Global Time of Ions"

 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 ]