#include <G4TrackingManager.hh>
Definition at line 69 of file G4TrackingManager.hh.
G4TrackingManager::G4TrackingManager |
( |
| ) |
|
Definition at line 48 of file G4TrackingManager.cc.
50 : fpUserTrackingAction(0), fpTrajectory(0),
51 StoreTrajectory(0), verboseLevel(0), EventIsAborted(
false)
G4TrackingManager::~G4TrackingManager |
( |
| ) |
|
Definition at line 58 of file G4TrackingManager.cc.
62 delete fpSteppingManager;
63 if (fpUserTrackingAction)
delete fpUserTrackingAction;
void G4TrackingManager::EventAborted |
( |
| ) |
|
Definition at line 164 of file G4TrackingManager.cc.
168 EventIsAborted =
true;
void SetTrackStatus(const G4TrackStatus aTrackStatus)
G4int G4TrackingManager::GetStoreTrajectory |
( |
| ) |
const |
|
inline |
G4Track * G4TrackingManager::GetTrack |
( |
| ) |
const |
|
inline |
G4int G4TrackingManager::GetVerboseLevel |
( |
| ) |
const |
|
inline |
void G4TrackingManager::ProcessOneTrack |
( |
G4Track * |
apValueG4Track | ) |
|
Definition at line 67 of file G4TrackingManager.cc.
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->
129 AppendStep(fpSteppingManager->
GetStep());
139 if( fpUserTrackingAction != 0 ) {
145 if(StoreTrajectory&&verboseLevel>10) fpTrajectory->
ShowTrajectory();
147 if( (!StoreTrajectory)&&fpTrajectory ) {
void SetTrackStatus(const G4TrackStatus aTrackStatus)
G4ParticleDefinition * GetDefinition() const
G4TrackStatus GetTrackStatus() const
G4TrackVector * GimmeSecondaries() const
void SetInitialStep(G4Track *valueTrack)
void IncrementCurrentStepNumber()
void StartTracking(G4Track *aTrack=0)
G4ProcessManager * GetProcessManager() const
virtual void PostUserTrackingAction(const G4Track *)
virtual void ShowTrajectory(std::ostream &os=G4cout) const
void SetStep(const G4Step *aValue)
virtual void PreUserTrackingAction(const G4Track *)
void G4TrackingManager::SetStoreTrajectory |
( |
G4int |
value | ) |
|
|
inline |
Definition at line 153 of file G4TrackingManager.cc.
155 #ifndef G4_STORE_TRAJECTORY
158 "Invoked without G4_STORE_TRAJECTORY option set!");
160 fpTrajectory = aTrajectory;
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition at line 185 of file G4TrackingManager.hh.
186 fpUserTrackingAction = apAction;
virtual void SetTrackingManagerPointer(G4TrackingManager *pValue)
Definition at line 192 of file G4TrackingManager.hh.
virtual void SetSteppingManagerPointer(G4SteppingManager *pValue)
void SetUserAction(G4UserSteppingAction *apAction)
Definition at line 209 of file G4TrackingManager.hh.
void SetUserInformation(G4VUserTrackInformation *aValue) const
void G4TrackingManager::SetVerboseLevel |
( |
G4int |
vLevel | ) |
|
|
inline |
The documentation for this class was generated from the following files: