Geant4
10.00.p01
|
#include <G4StackManager.hh>
Public Member Functions | |
G4StackManager () | |
~G4StackManager () | |
G4int | PushOneTrack (G4Track *newTrack, G4VTrajectory *newTrajectory=0) |
G4Track * | PopNextTrack (G4VTrajectory **newTrajectory) |
G4int | PrepareNewEvent () |
void | ReClassify () |
void | SetNumberOfAdditionalWaitingStacks (G4int iAdd) |
void | TransferStackedTracks (G4ClassificationOfNewTrack origin, G4ClassificationOfNewTrack destination) |
void | TransferOneStackedTrack (G4ClassificationOfNewTrack origin, G4ClassificationOfNewTrack destination) |
void | clear () |
void | ClearUrgentStack () |
void | ClearWaitingStack (int i=0) |
void | ClearPostponeStack () |
G4int | GetNTotalTrack () const |
G4int | GetNUrgentTrack () const |
G4int | GetNWaitingTrack (int i=0) const |
G4int | GetNPostponedTrack () const |
void | SetVerboseLevel (G4int const value) |
void | SetUserStackingAction (G4UserStackingAction *value) |
Private Member Functions | |
const G4StackManager & | operator= (const G4StackManager &right) |
G4int | operator== (const G4StackManager &right) const |
G4int | operator!= (const G4StackManager &right) const |
G4ClassificationOfNewTrack | DefaultClassification (G4Track *aTrack) |
Private Attributes | |
G4UserStackingAction * | userStackingAction |
G4int | verboseLevel |
G4TrackStack * | urgentStack |
G4TrackStack * | waitingStack |
G4TrackStack * | postponeStack |
G4StackingMessenger * | theMessenger |
std::vector< G4TrackStack * > | additionalWaitingStacks |
G4int | numberOfAdditionalWaitingStacks |
Definition at line 62 of file G4StackManager.hh.
G4StackManager::G4StackManager | ( | ) |
Definition at line 39 of file G4StackManager.cc.
References postponeStack, theMessenger, urgentStack, and waitingStack.
G4StackManager::~G4StackManager | ( | ) |
Definition at line 54 of file G4StackManager.cc.
References additionalWaitingStacks, G4cout, G4endl, G4TrackStack::GetMaxNTrack(), numberOfAdditionalWaitingStacks, postponeStack, theMessenger, urgentStack, userStackingAction, verboseLevel, and waitingStack.
void G4StackManager::clear | ( | void | ) |
Definition at line 534 of file G4StackManager.cc.
References ClearUrgentStack(), ClearWaitingStack(), and numberOfAdditionalWaitingStacks.
Referenced by G4EventManager::AbortCurrentEvent(), export_G4StackManager(), ExN04StackingAction::NewStage(), and RE05StackingAction::NewStage().
void G4StackManager::ClearPostponeStack | ( | ) |
Definition at line 555 of file G4StackManager.cc.
References G4TrackStack::clearAndDestroy(), and postponeStack.
Referenced by export_G4StackManager(), and G4StackingMessenger::SetNewValue().
void G4StackManager::ClearUrgentStack | ( | ) |
Definition at line 541 of file G4StackManager.cc.
References G4TrackStack::clearAndDestroy(), and urgentStack.
Referenced by clear(), export_G4StackManager(), and G4StackingMessenger::SetNewValue().
void G4StackManager::ClearWaitingStack | ( | int | i = 0 | ) |
Definition at line 546 of file G4StackManager.cc.
References additionalWaitingStacks, G4TrackStack::clearAndDestroy(), numberOfAdditionalWaitingStacks, and waitingStack.
Referenced by clear(), export_G4StackManager(), and G4StackingMessenger::SetNewValue().
|
private |
Definition at line 597 of file G4StackManager.cc.
References fPostpone, fPostponeToNextEvent, fUrgent, and G4Track::GetTrackStatus().
Referenced by PrepareNewEvent(), and PushOneTrack().
G4int G4StackManager::GetNPostponedTrack | ( | ) | const |
Definition at line 581 of file G4StackManager.cc.
References G4TrackStack::GetNTrack(), and postponeStack.
Referenced by PrepareNewEvent(), and G4StackingMessenger::SetNewValue().
G4int G4StackManager::GetNTotalTrack | ( | ) | const |
Definition at line 560 of file G4StackManager.cc.
References additionalWaitingStacks, G4TrackStack::GetNTrack(), n, numberOfAdditionalWaitingStacks, postponeStack, urgentStack, and waitingStack.
Referenced by G4EventManager::DoProcessing(), and export_G4StackManager().
G4int G4StackManager::GetNUrgentTrack | ( | ) | const |
Definition at line 567 of file G4StackManager.cc.
References G4TrackStack::GetNTrack(), and urgentStack.
Referenced by export_G4StackManager(), RE01StackingAction::NewStage(), CCalStackingAction::NewStage(), PopNextTrack(), PushOneTrack(), ReClassify(), and G4StackingMessenger::SetNewValue().
G4int G4StackManager::GetNWaitingTrack | ( | int | i = 0 | ) | const |
Definition at line 572 of file G4StackManager.cc.
References additionalWaitingStacks, G4TrackStack::GetNTrack(), numberOfAdditionalWaitingStacks, and waitingStack.
Referenced by export_G4StackManager(), PopNextTrack(), and G4StackingMessenger::SetNewValue().
|
private |
Definition at line 81 of file G4StackManager.cc.
|
private |
Definition at line 78 of file G4StackManager.cc.
|
private |
Definition at line 79 of file G4StackManager.cc.
G4Track * G4StackManager::PopNextTrack | ( | G4VTrajectory ** | newTrajectory | ) |
Definition at line 215 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 312 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 = 0 |
||
) |
Definition at line 92 of file G4StackManager.cc.
References additionalWaitingStacks, G4UserStackingAction::ClassifyNewTrack(), DefaultClassification(), FatalException, fKill, fPostpone, fUrgent, fWaiting, G4cout, G4endl, G4Exception(), G4ProcessManager::GetAlongStepIndex(), G4ProcessManager::GetAtRestIndex(), G4Track::GetCreatorProcess(), G4ParticleTable::GetGenericIon(), GetNUrgentTrack(), G4Track::GetParentID(), G4Track::GetParticleDefinition(), G4ParticleDefinition::GetParticleDefinitionID(), G4ParticleDefinition::GetParticleName(), G4ParticleTable::GetParticleTable(), G4ProcessManager::GetPostStepIndex(), G4ProcessManager::GetProcessList(), G4ParticleDefinition::GetProcessManager(), G4VProcess::GetProcessName(), G4Track::GetTrackID(), G4ParticleDefinition::IsGeneralIon(), JustWarning, numberOfAdditionalWaitingStacks, postponeStack, G4TrackStack::PushToStack(), G4ParticleDefinition::SetParticleDefinitionID(), G4ProcessVector::size(), urgentStack, userStackingAction, verboseLevel, and waitingStack.
Referenced by G4EventManager::DoProcessing(), and G4EventManager::StackTracks().
void G4StackManager::ReClassify | ( | ) |
Definition at line 268 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(), ExN04StackingAction::NewStage(), CCalStackingAction::NewStage(), and RE05StackingAction::NewStage().
void G4StackManager::SetNumberOfAdditionalWaitingStacks | ( | G4int | iAdd | ) |
Definition at line 384 of file G4StackManager.cc.
References additionalWaitingStacks, and numberOfAdditionalWaitingStacks.
Referenced by G4EventManager::SetNumberOfAdditionalWaitingStacks().
void G4StackManager::SetUserStackingAction | ( | G4UserStackingAction * | value | ) |
Definition at line 591 of file G4StackManager.cc.
References G4UserStackingAction::SetStackManager(), and userStackingAction.
Referenced by G4EventManager::SetUserAction().
void G4StackManager::SetVerboseLevel | ( | G4int const | value | ) |
Definition at line 586 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 465 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.
Referenced by RE01StackingAction::NewStage().
void G4StackManager::TransferStackedTracks | ( | G4ClassificationOfNewTrack | origin, |
G4ClassificationOfNewTrack | destination | ||
) |
Definition at line 404 of file G4StackManager.cc.
References additionalWaitingStacks, G4TrackStack::clearAndDestroy(), fKill, fPostpone, fUrgent, fWaiting, numberOfAdditionalWaitingStacks, postponeStack, G4TrackStack::TransferTo(), urgentStack, and waitingStack.
Referenced by RE01StackingAction::NewStage().
|
private |
Definition at line 120 of file G4StackManager.hh.
Referenced by ClearWaitingStack(), GetNTotalTrack(), GetNWaitingTrack(), PopNextTrack(), PrepareNewEvent(), PushOneTrack(), ReClassify(), SetNumberOfAdditionalWaitingStacks(), TransferOneStackedTrack(), TransferStackedTracks(), and ~G4StackManager().
|
private |
Definition at line 121 of file G4StackManager.hh.
Referenced by clear(), ClearWaitingStack(), GetNTotalTrack(), GetNWaitingTrack(), PopNextTrack(), PrepareNewEvent(), PushOneTrack(), ReClassify(), SetNumberOfAdditionalWaitingStacks(), TransferOneStackedTrack(), TransferStackedTracks(), and ~G4StackManager().
|
private |
Definition at line 118 of file G4StackManager.hh.
Referenced by ClearPostponeStack(), G4StackManager(), GetNPostponedTrack(), GetNTotalTrack(), PrepareNewEvent(), PushOneTrack(), ReClassify(), TransferOneStackedTrack(), TransferStackedTracks(), and ~G4StackManager().
|
private |
Definition at line 119 of file G4StackManager.hh.
Referenced by G4StackManager(), and ~G4StackManager().
|
private |
Definition at line 115 of file G4StackManager.hh.
Referenced by ClearUrgentStack(), G4StackManager(), GetNTotalTrack(), GetNUrgentTrack(), PopNextTrack(), PrepareNewEvent(), PushOneTrack(), ReClassify(), TransferOneStackedTrack(), TransferStackedTracks(), and ~G4StackManager().
|
private |
Definition at line 110 of file G4StackManager.hh.
Referenced by PopNextTrack(), PrepareNewEvent(), PushOneTrack(), ReClassify(), SetUserStackingAction(), and ~G4StackManager().
|
private |
Definition at line 111 of file G4StackManager.hh.
Referenced by PopNextTrack(), PrepareNewEvent(), PushOneTrack(), SetVerboseLevel(), and ~G4StackManager().
|
private |
Definition at line 117 of file G4StackManager.hh.
Referenced by ClearWaitingStack(), G4StackManager(), GetNTotalTrack(), GetNWaitingTrack(), PopNextTrack(), PrepareNewEvent(), PushOneTrack(), ReClassify(), TransferOneStackedTrack(), TransferStackedTracks(), and ~G4StackManager().