Friday, October 6, 2006
John Allison  Geant4 Lisbon Workshop  October 2006
3
Getting time information
Get from track or step  and store (G4RichTrajectory)
aTrack->GetGlobalTime()
aStep->GetPreStepPoint()->GetGlobalTime()
aStep->GetPostStepPoint()->GetGlobalTime()
Accessible through CreateAttValues at display time in your trajectory model
Instantiate trajectory in tracking action
fpTrackingManager->SetTrajectory(new G4RichTrajectory(track))
Instantiate tracking action in main
runManager->SetUserAction(new MyTrackingAction)