Geant4-11
|
#include <G4StackManager.hh>
Private Member Functions | |
G4ClassificationOfNewTrack | DefaultClassification (G4Track *aTrack) |
Private Attributes | |
std::vector< G4TrackStack * > | additionalWaitingStacks |
G4int | numberOfAdditionalWaitingStacks = 0 |
G4TrackStack * | postponeStack = nullptr |
G4StackingMessenger * | theMessenger = nullptr |
G4TrackStack * | urgentStack = nullptr |
G4UserStackingAction * | userStackingAction = nullptr |
G4int | verboseLevel = 0 |
G4TrackStack * | waitingStack = nullptr |
Definition at line 61 of file G4StackManager.hh.
G4StackManager::G4StackManager | ( | ) |
Definition at line 45 of file G4StackManager.cc.
References postponeStack, theMessenger, urgentStack, and waitingStack.
G4StackManager::~G4StackManager | ( | ) |
Definition at line 59 of file G4StackManager.cc.
References additionalWaitingStacks, G4cout, G4endl, G4TrackStack::GetMaxNTrack(), numberOfAdditionalWaitingStacks, postponeStack, theMessenger, urgentStack, userStackingAction, verboseLevel, and waitingStack.
void G4StackManager::clear | ( | ) |
Definition at line 547 of file G4StackManager.cc.
References ClearUrgentStack(), ClearWaitingStack(), and numberOfAdditionalWaitingStacks.
Referenced by G4EventManager::AbortCurrentEvent(), and export_G4StackManager().
void G4StackManager::ClearPostponeStack | ( | ) |
Definition at line 577 of file G4StackManager.cc.
References G4TrackStack::clearAndDestroy(), and postponeStack.
Referenced by export_G4StackManager(), and G4StackingMessenger::SetNewValue().
void G4StackManager::ClearUrgentStack | ( | ) |
Definition at line 557 of file G4StackManager.cc.
References G4TrackStack::clearAndDestroy(), and urgentStack.
Referenced by clear(), export_G4StackManager(), and G4StackingMessenger::SetNewValue().
void G4StackManager::ClearWaitingStack | ( | G4int | i = 0 | ) |
Definition at line 562 of file G4StackManager.cc.
References additionalWaitingStacks, G4TrackStack::clearAndDestroy(), numberOfAdditionalWaitingStacks, and waitingStack.
Referenced by clear(), export_G4StackManager(), and G4StackingMessenger::SetNewValue().
|
private |
Definition at line 634 of file G4StackManager.cc.
References fPostpone, fPostponeToNextEvent, fUrgent, and G4Track::GetTrackStatus().
Referenced by PrepareNewEvent(), and PushOneTrack().
G4int G4StackManager::GetNPostponedTrack | ( | ) | const |
Definition at line 615 of file G4StackManager.cc.
References G4TrackStack::GetNTrack(), and postponeStack.
Referenced by PrepareNewEvent(), and G4StackingMessenger::SetNewValue().
G4int G4StackManager::GetNTotalTrack | ( | ) | const |
Definition at line 582 of file G4StackManager.cc.
References additionalWaitingStacks, G4TrackStack::GetNTrack(), CLHEP::detail::n, numberOfAdditionalWaitingStacks, postponeStack, urgentStack, and waitingStack.
Referenced by G4EventManager::DoProcessing(), and export_G4StackManager().
G4int G4StackManager::GetNUrgentTrack | ( | ) | const |
Definition at line 594 of file G4StackManager.cc.
References G4TrackStack::GetNTrack(), and urgentStack.
Referenced by G4EventManager::DoProcessing(), export_G4StackManager(), PopNextTrack(), PushOneTrack(), ReClassify(), and G4StackingMessenger::SetNewValue().
Definition at line 599 of file G4StackManager.cc.
References additionalWaitingStacks, G4TrackStack::GetNTrack(), numberOfAdditionalWaitingStacks, and waitingStack.
Referenced by export_G4StackManager(), PopNextTrack(), and G4StackingMessenger::SetNewValue().
|
delete |
|
delete |
|
delete |
G4Track * G4StackManager::PopNextTrack | ( | G4VTrajectory ** | newTrajectory | ) |
Definition at line 169 of file G4StackManager.cc.
References additionalWaitingStacks, G4cout, G4endl, GetNUrgentTrack(), GetNWaitingTrack(), G4Track::GetParentID(), G4StackedTrack::GetTrack(), G4Track::GetTrackID(), G4StackedTrack::GetTrajectory(), G4UserStackingAction::NewStage(), numberOfAdditionalWaitingStacks, G4TrackStack::PopFromStack(), G4TrackStack::TransferTo(), urgentStack, userStackingAction, verboseLevel, and waitingStack.
Referenced by G4EventManager::DoProcessing().
G4int G4StackManager::PrepareNewEvent | ( | ) |
Definition at line 283 of file G4StackManager.cc.
References additionalWaitingStacks, G4UserStackingAction::ClassifyNewTrack(), G4TrackStack::clearAndDestroy(), DefaultClassification(), FatalException, fKill, fPostpone, fUrgent, fWaiting, G4cout, G4endl, G4Exception(), GetNPostponedTrack(), G4TrackStack::GetNTrack(), G4StackedTrack::GetTrack(), G4StackedTrack::GetTrajectory(), numberOfAdditionalWaitingStacks, G4TrackStack::PopFromStack(), postponeStack, G4UserStackingAction::PrepareNewEvent(), G4TrackStack::PushToStack(), G4Track::SetParentID(), G4Track::SetTrackID(), G4TrackStack::TransferTo(), urgentStack, userStackingAction, verboseLevel, and waitingStack.
Referenced by G4EventManager::DoProcessing().
G4int G4StackManager::PushOneTrack | ( | G4Track * | newTrack, |
G4VTrajectory * | newTrajectory = nullptr |
||
) |
Definition at line 84 of file G4StackManager.cc.
References additionalWaitingStacks, G4UserStackingAction::ClassifyNewTrack(), DefaultClassification(), FatalException, fKill, fPostpone, fUrgent, fWaiting, G4cout, G4endl, G4Exception(), G4Track::GetCreatorProcess(), GetNUrgentTrack(), G4Track::GetParentID(), G4Track::GetParticleDefinition(), G4ParticleDefinition::GetParticleDefinitionID(), G4ParticleDefinition::GetParticleName(), G4VProcess::GetProcessName(), G4Track::GetTrackID(), numberOfAdditionalWaitingStacks, postponeStack, G4TrackStack::PushToStack(), urgentStack, userStackingAction, verboseLevel, and waitingStack.
Referenced by G4EventManager::DoProcessing(), and G4EventManager::StackTracks().
void G4StackManager::ReClassify | ( | ) |
Definition at line 236 of file G4StackManager.cc.
References additionalWaitingStacks, G4UserStackingAction::ClassifyNewTrack(), FatalException, fKill, fPostpone, fUrgent, fWaiting, G4endl, G4Exception(), G4TrackStack::GetNTrack(), GetNUrgentTrack(), G4StackedTrack::GetTrack(), G4StackedTrack::GetTrajectory(), numberOfAdditionalWaitingStacks, G4TrackStack::PopFromStack(), postponeStack, G4TrackStack::PushToStack(), G4TrackStack::TransferTo(), urgentStack, userStackingAction, and waitingStack.
Referenced by export_G4StackManager(), and G4AdjointStackingAction::NewStage().
void G4StackManager::SetNumberOfAdditionalWaitingStacks | ( | G4int | iAdd | ) |
Definition at line 367 of file G4StackManager.cc.
References additionalWaitingStacks, and numberOfAdditionalWaitingStacks.
Referenced by G4EventManager::SetNumberOfAdditionalWaitingStacks().
void G4StackManager::SetUserStackingAction | ( | G4UserStackingAction * | value | ) |
Definition at line 625 of file G4StackManager.cc.
References G4UserStackingAction::SetStackManager(), and userStackingAction.
Referenced by G4EventManager::SetUserAction().
void G4StackManager::SetVerboseLevel | ( | G4int const | value | ) |
Definition at line 620 of file G4StackManager.cc.
References verboseLevel.
Referenced by export_G4StackManager(), G4StackingMessenger::SetNewValue(), and G4EventManager::SetVerboseLevel().
void G4StackManager::TransferOneStackedTrack | ( | G4ClassificationOfNewTrack | origin, |
G4ClassificationOfNewTrack | destination | ||
) |
Definition at line 466 of file G4StackManager.cc.
References additionalWaitingStacks, fKill, fPostpone, fUrgent, fWaiting, G4TrackStack::GetNTrack(), G4StackedTrack::GetTrack(), G4StackedTrack::GetTrajectory(), numberOfAdditionalWaitingStacks, G4TrackStack::PopFromStack(), postponeStack, G4TrackStack::PushToStack(), urgentStack, and waitingStack.
void G4StackManager::TransferStackedTracks | ( | G4ClassificationOfNewTrack | origin, |
G4ClassificationOfNewTrack | destination | ||
) |
Definition at line 387 of file G4StackManager.cc.
References additionalWaitingStacks, G4TrackStack::clearAndDestroy(), fKill, fPostpone, fUrgent, fWaiting, numberOfAdditionalWaitingStacks, postponeStack, G4TrackStack::TransferTo(), urgentStack, and waitingStack.
|
private |
Definition at line 137 of file G4StackManager.hh.
Referenced by ClearWaitingStack(), GetNTotalTrack(), GetNWaitingTrack(), PopNextTrack(), PrepareNewEvent(), PushOneTrack(), ReClassify(), SetNumberOfAdditionalWaitingStacks(), TransferOneStackedTrack(), TransferStackedTracks(), and ~G4StackManager().
|
private |
Definition at line 138 of file G4StackManager.hh.
Referenced by clear(), ClearWaitingStack(), GetNTotalTrack(), GetNWaitingTrack(), PopNextTrack(), PrepareNewEvent(), PushOneTrack(), ReClassify(), SetNumberOfAdditionalWaitingStacks(), TransferOneStackedTrack(), TransferStackedTracks(), and ~G4StackManager().
|
private |
Definition at line 135 of file G4StackManager.hh.
Referenced by ClearPostponeStack(), G4StackManager(), GetNPostponedTrack(), GetNTotalTrack(), PrepareNewEvent(), PushOneTrack(), ReClassify(), TransferOneStackedTrack(), TransferStackedTracks(), and ~G4StackManager().
|
private |
Definition at line 136 of file G4StackManager.hh.
Referenced by G4StackManager(), and ~G4StackManager().
|
private |
Definition at line 132 of file G4StackManager.hh.
Referenced by ClearUrgentStack(), G4StackManager(), GetNTotalTrack(), GetNUrgentTrack(), PopNextTrack(), PrepareNewEvent(), PushOneTrack(), ReClassify(), TransferOneStackedTrack(), TransferStackedTracks(), and ~G4StackManager().
|
private |
Definition at line 127 of file G4StackManager.hh.
Referenced by PopNextTrack(), PrepareNewEvent(), PushOneTrack(), ReClassify(), SetUserStackingAction(), and ~G4StackManager().
|
private |
Definition at line 128 of file G4StackManager.hh.
Referenced by PopNextTrack(), PrepareNewEvent(), PushOneTrack(), SetVerboseLevel(), and ~G4StackManager().
|
private |
Definition at line 134 of file G4StackManager.hh.
Referenced by ClearWaitingStack(), G4StackManager(), GetNTotalTrack(), GetNWaitingTrack(), PopNextTrack(), PrepareNewEvent(), PushOneTrack(), ReClassify(), TransferOneStackedTrack(), TransferStackedTracks(), and ~G4StackManager().