62{
63
64
65
66 fpTrack = apValueG4Track;
67 EventIsAborted = false;
68
69
70
72 {
74 }
76
78
79
80
82
83
84
85 fpTrajectory = nullptr;
86 if( fpUserTrackingAction != nullptr )
87 {
89 }
90
91
92
93 {
94#if defined(GEANT4_USE_TIMEMORY)
96#endif
97
98#ifdef G4_STORE_TRAJECTORY
99
100
101 if(StoreTrajectory && (fpTrajectory == nullptr))
102 {
103
104 switch(StoreTrajectory)
105 {
106 default:
107 case 1:
109 break;
110 case 2:
112 break;
113 case 3:
115 break;
116 case 4:
118 break;
119 }
120 }
121#endif
122
123
125
126
128
129
131
132
133
136 {
139#ifdef G4_STORE_TRAJECTORY
140 if(StoreTrajectory)
141 {
143 }
144#endif
145 if(EventIsAborted)
146 {
148 }
149 }
150
152 }
153
154
155 if( fpUserTrackingAction != nullptr )
156 {
158 }
159
160
161#ifdef G4VERBOSE
162 if(StoreTrajectory&&verboseLevel>10)
163 {
165 }
166#endif
167 if( (!StoreTrajectory) && (fpTrajectory != nullptr) )
168 {
169 delete fpTrajectory;
170 fpTrajectory = nullptr;
171 }
172}
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