50 : fpUserTrackingAction(0), fpTrajectory(0),
51 StoreTrajectory(0),
verboseLevel(0), EventIsAborted(false)
63 if (fpUserTrackingAction)
delete fpUserTrackingAction;
73 fpTrack = apValueG4Track;
74 EventIsAborted =
false;
93 if( fpUserTrackingAction != 0 ) {
96 #ifdef G4_STORE_TRAJECTORY
98 if(StoreTrajectory&&(!fpTrajectory)) {
100 switch (StoreTrajectory) {
102 case 1: fpTrajectory =
new G4Trajectory(fpTrack);
break;
127 #ifdef G4_STORE_TRAJECTORY
128 if(StoreTrajectory) fpTrajectory->
139 if( fpUserTrackingAction != 0 ) {
147 if( (!StoreTrajectory)&&fpTrajectory ) {
155 #ifndef G4_STORE_TRAJECTORY
158 "Invoked without G4_STORE_TRAJECTORY option set!");
160 fpTrajectory = aTrajectory;
168 EventIsAborted =
true;
172 void G4TrackingManager::TrackBanner()
175 G4cout <<
"*******************************************************"
176 <<
"**************************************************"
178 G4cout <<
"* G4Track Information: "
185 G4cout <<
"*******************************************************"
186 <<
"**************************************************"
void SetTrackStatus(const G4TrackStatus aTrackStatus)
G4ParticleDefinition * GetDefinition() const
G4int GetParentID() const
void ProcessOneTrack(G4Track *apValueG4Track)
void G4UserSteppingAction:: fpSteppingManager
G4TrackStatus GetTrackStatus() const
const G4String & GetParticleName() const
G4GLOB_DLL std::ostream G4cout
G4TrackVector * GimmeSecondaries() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
void IncrementCurrentStepNumber()
void StartTracking(G4Track *aTrack=0)
G4ProcessManager * GetProcessManager() const
virtual void PostUserTrackingAction(const G4Track *)
void SetTrajectory(G4VTrajectory *aTrajectory)
virtual void ShowTrajectory(std::ostream &os=G4cout) const
void SetStep(const G4Step *aValue)
virtual void PreUserTrackingAction(const G4Track *)