Geant4 VMC Version 6.6
|
Defines additional track information. More...
#include <TG4TrackInformation.h>
Public Member Functions | |
TG4TrackInformation () | |
TG4TrackInformation (G4int trackParticleID) | |
virtual | ~TG4TrackInformation () |
void * | operator new (size_t) |
Override new operator for G4Allocator. | |
void | operator delete (void *trackInformation) |
Override delete operator for G4Allocator. | |
virtual void | Print () const |
void | SetTrackParticleID (G4int trackParticleID) |
void | SetParentParticleID (G4int parentParticleID) |
void | SetPDGLifetime (G4double pdgLifetime) |
void | SetPDGEncoding (G4int pdgEncoding) |
void | SetInitialTrackStatus (TMCParticleStatus *status) |
void | SetIsUserTrack (G4bool isUserTrack) |
void | SetStop (G4bool stop) |
void | SetInterrupt (G4bool interrupt) |
G4int | GetTrackParticleID () const |
G4int | GetParentParticleID () const |
G4double | GetPDGLifetime () const |
G4int | GetPDGEncoding () const |
const TMCParticleStatus * | GetInitialTrackStatus () const |
G4bool | IsUserTrack () const |
G4bool | IsStop () const |
G4bool | IsInterrupt () const |
Private Attributes | |
G4int | fTrackParticleID |
the index of track particle in VMC stack | |
G4int | fParentParticleID |
the index of parent track in VMC stack | |
G4double | fPDGLifetime |
the original particle PDG lifetime | |
G4double | fPDGEncoding |
the particle PDG encoding | |
G4bool | fIsUserTrack |
true if defined by user and not primary track | |
G4bool | fStop |
true if track should be stopped | |
G4bool | fInterrupt |
TMCParticleStatus * | fInitialTrackStatus |
Defines additional track information.
Definition at line 30 of file TG4TrackInformation.h.
TG4TrackInformation::TG4TrackInformation | ( | ) |
Default constructor
Definition at line 21 of file TG4TrackInformation.cxx.
TG4TrackInformation::TG4TrackInformation | ( | G4int | trackParticleID | ) |
Standard constructor
Definition at line 36 of file TG4TrackInformation.cxx.
|
virtual |
Destructor
Definition at line 61 of file TG4TrackInformation.cxx.
|
inline |
Override new operator for G4Allocator.
|
inline |
Override delete operator for G4Allocator.
|
virtual |
Print track information.
Definition at line 71 of file TG4TrackInformation.cxx.
void TG4TrackInformation::SetTrackParticleID | ( | G4int | trackParticleID | ) |
Referenced by TG4TrackManager::SetTrackInformation().
void TG4TrackInformation::SetParentParticleID | ( | G4int | parentParticleID | ) |
Referenced by TG4TrackManager::SetParentToTrackInformation(), and TG4TrackManager::SetTrackInformation().
void TG4TrackInformation::SetPDGLifetime | ( | G4double | pdgLifetime | ) |
Referenced by TG4StepManager::ForceDecayTime().
void TG4TrackInformation::SetPDGEncoding | ( | G4int | pdgEncoding | ) |
Referenced by TG4StackPopper::PostStepDoIt().
void TG4TrackInformation::SetInitialTrackStatus | ( | TMCParticleStatus * | status | ) |
Referenced by TG4TrackManager::SetTrackInformation().
void TG4TrackInformation::SetIsUserTrack | ( | G4bool | isUserTrack | ) |
Referenced by TG4StackPopper::PostStepDoIt().
void TG4TrackInformation::SetStop | ( | G4bool | stop | ) |
Referenced by TG4SteppingAction::ProcessTrackIfBelowCut().
void TG4TrackInformation::SetInterrupt | ( | G4bool | interrupt | ) |
Referenced by TG4StepManager::InterruptTrack().
G4int TG4TrackInformation::GetTrackParticleID | ( | ) | const |
G4int TG4TrackInformation::GetParentParticleID | ( | ) | const |
G4double TG4TrackInformation::GetPDGLifetime | ( | ) | const |
Referenced by TG4TrackManager::SetBackPDGLifetime().
G4int TG4TrackInformation::GetPDGEncoding | ( | ) | const |
Referenced by TG4StepManager::TrackPid().
const TMCParticleStatus * TG4TrackInformation::GetInitialTrackStatus | ( | ) | const |
G4bool TG4TrackInformation::IsUserTrack | ( | ) | const |
Referenced by TG4TrackManager::IsUserTrack().
G4bool TG4TrackInformation::IsStop | ( | ) | const |
Referenced by TG4VSpecialCuts::PostStepGetPhysicalInteractionLength().
G4bool TG4TrackInformation::IsInterrupt | ( | ) | const |
|
private |
the index of track particle in VMC stack
Definition at line 71 of file TG4TrackInformation.h.
Referenced by Print().
|
private |
the index of parent track in VMC stack
Definition at line 72 of file TG4TrackInformation.h.
Referenced by Print().
|
private |
the original particle PDG lifetime
Definition at line 73 of file TG4TrackInformation.h.
|
private |
the particle PDG encoding
Definition at line 74 of file TG4TrackInformation.h.
|
private |
true if defined by user and not primary track
Definition at line 75 of file TG4TrackInformation.h.
Referenced by Print().
|
private |
true if track should be stopped
Definition at line 76 of file TG4TrackInformation.h.
Referenced by Print().
|
private |
true if track should be interrupted
Definition at line 77 of file TG4TrackInformation.h.
|
private |
Pointer holds some additional information on the particle status e.g. for the case the track has already been transported up to the current point in another engine.
Definition at line 81 of file TG4TrackInformation.h.
Referenced by Print().