63{
64
65
66
67 fpTrack = apValueG4Track;
68 EventIsAborted = false;
69
70
71
73 delete itr;
74 }
76
78
79
80
82
83
84
85 fpTrajectory = nullptr;
86 if (fpUserTrackingAction != nullptr) {
88 }
89
90
91
92 {
93#if defined(GEANT4_USE_TIMEMORY)
95#endif
96
97#ifdef G4_STORE_TRAJECTORY
98
99
100 if ((StoreTrajectory != 0) && (fpTrajectory == nullptr)) {
101
102 switch (StoreTrajectory) {
103 default:
104 case 1:
106 break;
107 case 2:
109 break;
110 case 3:
112 break;
113 case 4:
115 break;
116 }
117 }
118#endif
119
120
122
123
125
126
128
129
130
134#ifdef G4_STORE_TRAJECTORY
135 if (StoreTrajectory != 0) {
137 }
138#endif
139 if (EventIsAborted) {
141 }
142 }
143
145 }
146
147
148 if (fpUserTrackingAction != nullptr) {
150 }
151
152
153#ifdef G4VERBOSE
154 if ((StoreTrajectory != 0) && verboseLevel > 10) {
156 }
157#endif
158 if ((StoreTrajectory == 0) && (fpTrajectory != nullptr)) {
159 delete fpTrajectory;
160 fpTrajectory = nullptr;
161 }
162}
G4ProcessManager * GetProcessManager() const
void StartTracking(G4Track *aTrack=nullptr)
void SetInitialStep(G4Track *valueTrack)
G4TrackStatus GetTrackStatus() const
void SetStep(const G4Step *aValue)
G4ParticleDefinition * GetDefinition() const
void IncrementCurrentStepNumber()
G4TrackVector * GimmeSecondaries() const
G4Track::ProfilerConfig ProfilerConfig
virtual void PostUserTrackingAction(const G4Track *)
virtual void PreUserTrackingAction(const G4Track *)
virtual void ShowTrajectory(std::ostream &os=G4cout) const
virtual void AppendStep(const G4Step *aStep)=0