56 delete fpSteppingManager;
57 delete fpUserTrackingAction;
67 fpTrack = apValueG4Track;
68 EventIsAborted =
false;
85 fpTrajectory =
nullptr;
86 if (fpUserTrackingAction !=
nullptr) {
93#if defined(GEANT4_USE_TIMEMORY)
97#ifdef G4_STORE_TRAJECTORY
100 if ((StoreTrajectory != 0) && (fpTrajectory ==
nullptr)) {
102 switch (StoreTrajectory) {
134#ifdef G4_STORE_TRAJECTORY
135 if (StoreTrajectory != 0) {
139 if (EventIsAborted) {
148 if (fpUserTrackingAction !=
nullptr) {
154 if ((StoreTrajectory != 0) && verboseLevel > 10) {
158 if ((StoreTrajectory == 0) && (fpTrajectory !=
nullptr)) {
160 fpTrajectory =
nullptr;
168#ifndef G4_STORE_TRAJECTORY
170 "Invoked without G4_STORE_TRAJECTORY option set!");
172 fpTrajectory = aTrajectory;
180 EventIsAborted =
true;
184void G4TrackingManager::TrackBanner()
188 G4cout <<
"*******************************************************"
189 <<
"**************************************************" <<
G4endl;
190 G4cout <<
"* G4Track Information: "
192 <<
" Track ID = " << fpTrack->
GetTrackID() <<
","
194 G4cout <<
"*******************************************************"
195 <<
"**************************************************" <<
G4endl;
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
@ fKillTrackAndSecondaries
G4GLOB_DLL std::ostream G4cout
G4ProcessManager * GetProcessManager() const
const G4String & GetParticleName() const
void StartTracking(G4Track *aTrack=nullptr)
void SetInitialStep(G4Track *valueTrack)
G4TrackStatus GetTrackStatus() const
void SetTrackStatus(const G4TrackStatus aTrackStatus)
void SetStep(const G4Step *aValue)
G4ParticleDefinition * GetDefinition() const
G4int GetParentID() const
void IncrementCurrentStepNumber()
G4TrackVector * GimmeSecondaries() const
void ProcessOneTrack(G4Track *apValueG4Track)
void SetTrajectory(G4VTrajectory *aTrajectory)
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