Geant4 11.3.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ITTrackingManager Class Reference

#include <G4ITTrackingManager.hh>

Public Member Functions

 G4ITTrackingManager ()
 
 ~G4ITTrackingManager ()
 
void StartTracking (G4Track *)
 
void AppendStep (G4Track *track, G4Step *step)
 
void EndTracking (G4Track *)
 
void EndTrackingWOKill (G4Track *)
 
void SetInteractivity (G4ITTrackingInteractivity *)
 
G4ITTrackingInteractivityGetInteractivity ()
 

Protected Attributes

G4ITTrackingInteractivityfpTrackingInteractivity
 

Detailed Description

Definition at line 59 of file G4ITTrackingManager.hh.

Constructor & Destructor Documentation

◆ G4ITTrackingManager()

G4ITTrackingManager::G4ITTrackingManager ( )

Definition at line 44 of file G4ITTrackingManager.cc.

45{
47}
G4ITTrackingInteractivity * fpTrackingInteractivity

◆ ~G4ITTrackingManager()

G4ITTrackingManager::~G4ITTrackingManager ( )

Definition at line 54 of file G4ITTrackingManager.cc.

55{
57}

Member Function Documentation

◆ AppendStep()

void G4ITTrackingManager::AppendStep ( G4Track * track,
G4Step * step )

Definition at line 73 of file G4ITTrackingManager.cc.

74{
75 if (fpTrackingInteractivity != nullptr) fpTrackingInteractivity->AppendStep(track, step);
76}

◆ EndTracking()

void G4ITTrackingManager::EndTracking ( G4Track * track)

Definition at line 89 of file G4ITTrackingManager.cc.

90{
91 if (fpTrackingInteractivity != nullptr)
92 {
93 fpTrackingInteractivity->EndTracking(track);
94#ifdef G4VERBOSE
95 fpTrackingInteractivity->GetSteppingVerbose()->TrackingEnded(track);
96#endif
97 }
98
100}
void PushToKill(G4Track *track)
static G4ITTrackHolder * Instance()

◆ EndTrackingWOKill()

void G4ITTrackingManager::EndTrackingWOKill ( G4Track * track)

Definition at line 102 of file G4ITTrackingManager.cc.

103{
104 if (fpTrackingInteractivity != nullptr)
105 {
106 fpTrackingInteractivity->EndTracking(track);
107#ifdef G4VERBOSE
108 fpTrackingInteractivity->GetSteppingVerbose()->TrackingEnded(track);
109#endif
110 }
111}

◆ GetInteractivity()

G4ITTrackingInteractivity * G4ITTrackingManager::GetInteractivity ( )
inline

Definition at line 76 of file G4ITTrackingManager.hh.

77 {
79 }

◆ SetInteractivity()

void G4ITTrackingManager::SetInteractivity ( G4ITTrackingInteractivity * iteractivity)

Definition at line 79 of file G4ITTrackingManager.cc.

80{
81 if ((fpTrackingInteractivity != nullptr) && fpTrackingInteractivity != iteractivity)
82 {
84 }
85 fpTrackingInteractivity = iteractivity;
86}

◆ StartTracking()

void G4ITTrackingManager::StartTracking ( G4Track * track)

Definition at line 59 of file G4ITTrackingManager.cc.

60{
61 if (fpTrackingInteractivity != nullptr)
62 {
63 fpTrackingInteractivity->StartTracking(track);
64#ifdef G4VERBOSE
65 fpTrackingInteractivity->GetSteppingVerbose()->TrackingStarted(track);
66#endif
67 }
68
69 // Inform beginning of tracking to physics processes
71}
G4ProcessManager * GetProcessManager() const
void StartTracking(G4Track *aTrack=nullptr)
G4ParticleDefinition * GetDefinition() const

Member Data Documentation

◆ fpTrackingInteractivity


The documentation for this class was generated from the following files: