Geant4.10
|
#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) |
Definition at line 62 of file G4StackManager.hh.
G4StackManager::G4StackManager | ( | ) |
Definition at line 39 of file G4StackManager.cc.
G4StackManager::~G4StackManager | ( | ) |
Definition at line 54 of file G4StackManager.cc.
References G4cout, G4endl, and G4TrackStack::GetMaxNTrack().
Definition at line 534 of file G4StackManager.cc.
References ClearUrgentStack(), and ClearWaitingStack().
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().
Referenced by export_G4StackManager(), and G4StackingMessenger::SetNewValue().
void G4StackManager::ClearUrgentStack | ( | ) |
Definition at line 541 of file G4StackManager.cc.
References G4TrackStack::clearAndDestroy().
Referenced by clear(), export_G4StackManager(), and G4StackingMessenger::SetNewValue().
Definition at line 546 of file G4StackManager.cc.
References G4TrackStack::clearAndDestroy().
Referenced by clear(), export_G4StackManager(), and G4StackingMessenger::SetNewValue().
G4int G4StackManager::GetNPostponedTrack | ( | ) | const |
Definition at line 581 of file G4StackManager.cc.
References G4TrackStack::GetNTrack().
Referenced by PrepareNewEvent(), and G4StackingMessenger::SetNewValue().
G4int G4StackManager::GetNTotalTrack | ( | ) | const |
Definition at line 560 of file G4StackManager.cc.
References G4TrackStack::GetNTrack(), and n.
Referenced by export_G4StackManager().
G4int G4StackManager::GetNUrgentTrack | ( | ) | const |
Definition at line 567 of file G4StackManager.cc.
References G4TrackStack::GetNTrack().
Referenced by export_G4StackManager(), RE01StackingAction::NewStage(), CCalStackingAction::NewStage(), PopNextTrack(), PushOneTrack(), ReClassify(), and G4StackingMessenger::SetNewValue().
Definition at line 572 of file G4StackManager.cc.
References G4TrackStack::GetNTrack().
Referenced by export_G4StackManager(), PopNextTrack(), and G4StackingMessenger::SetNewValue().
G4Track * G4StackManager::PopNextTrack | ( | G4VTrajectory ** | newTrajectory | ) |
Definition at line 215 of file G4StackManager.cc.
References G4cout, G4endl, GetNUrgentTrack(), GetNWaitingTrack(), G4Track::GetParentID(), G4StackedTrack::GetTrack(), G4Track::GetTrackID(), G4StackedTrack::GetTrajectory(), G4UserStackingAction::NewStage(), G4TrackStack::PopFromStack(), and G4TrackStack::TransferTo().
G4int G4StackManager::PrepareNewEvent | ( | ) |
Definition at line 312 of file G4StackManager.cc.
References G4UserStackingAction::ClassifyNewTrack(), G4TrackStack::clearAndDestroy(), FatalException, fKill, fPostpone, fUrgent, fWaiting, G4cout, G4endl, G4Exception(), GetNPostponedTrack(), G4TrackStack::GetNTrack(), G4StackedTrack::GetTrack(), G4StackedTrack::GetTrajectory(), G4TrackStack::PopFromStack(), G4UserStackingAction::PrepareNewEvent(), G4TrackStack::PushToStack(), G4Track::SetParentID(), G4Track::SetTrackID(), and G4TrackStack::TransferTo().
G4int G4StackManager::PushOneTrack | ( | G4Track * | newTrack, |
G4VTrajectory * | newTrajectory = 0 |
||
) |
Definition at line 92 of file G4StackManager.cc.
References G4UserStackingAction::ClassifyNewTrack(), 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, G4TrackStack::PushToStack(), G4ParticleDefinition::SetParticleDefinitionID(), and G4ProcessVector::size().
void G4StackManager::ReClassify | ( | ) |
Definition at line 268 of file G4StackManager.cc.
References G4UserStackingAction::ClassifyNewTrack(), FatalException, fKill, fPostpone, fUrgent, fWaiting, G4endl, G4Exception(), G4TrackStack::GetNTrack(), GetNUrgentTrack(), G4StackedTrack::GetTrack(), G4StackedTrack::GetTrajectory(), G4TrackStack::PopFromStack(), G4TrackStack::PushToStack(), and G4TrackStack::TransferTo().
Referenced by export_G4StackManager(), ExN04StackingAction::NewStage(), CCalStackingAction::NewStage(), and RE05StackingAction::NewStage().
Definition at line 384 of file G4StackManager.cc.
Referenced by G4EventManager::SetNumberOfAdditionalWaitingStacks().
void G4StackManager::SetUserStackingAction | ( | G4UserStackingAction * | value | ) |
Definition at line 591 of file G4StackManager.cc.
References G4UserStackingAction::SetStackManager().
Referenced by G4EventManager::SetUserAction().
Definition at line 586 of file G4StackManager.cc.
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 fKill, fPostpone, fUrgent, fWaiting, G4TrackStack::GetNTrack(), G4StackedTrack::GetTrack(), G4StackedTrack::GetTrajectory(), G4TrackStack::PopFromStack(), and G4TrackStack::PushToStack().
Referenced by RE01StackingAction::NewStage().
void G4StackManager::TransferStackedTracks | ( | G4ClassificationOfNewTrack | origin, |
G4ClassificationOfNewTrack | destination | ||
) |
Definition at line 404 of file G4StackManager.cc.
References G4TrackStack::clearAndDestroy(), fKill, fPostpone, fUrgent, fWaiting, and G4TrackStack::TransferTo().
Referenced by RE01StackingAction::NewStage().