Geant4
10.03
|
#include <G4EventManager.hh>
Static Public Member Functions | |
static G4EventManager * | GetEventManager () |
Private Member Functions | |
G4EventManager (const G4EventManager &right)=delete | |
G4EventManager & | operator= (const G4EventManager &right)=delete |
void | DoProcessing (G4Event *anEvent) |
void | StackTracks (G4TrackVector *trackVector, G4bool IDhasAlreadySet=false) |
Static Private Attributes | |
static G4ThreadLocal G4EventManager * | fpEventManager = nullptr |
Definition at line 60 of file G4EventManager.hh.
G4EventManager::G4EventManager | ( | ) |
Definition at line 49 of file G4EventManager.cc.
References FatalException, fpEventManager, G4Exception(), G4SDManager::GetSDMpointerIfExist(), G4StateManager::GetStateManager(), sdManager, stateManager, theMessenger, trackContainer, trackManager, transformer, userEventAction, userStackingAction, userSteppingAction, and userTrackingAction.
G4EventManager::~G4EventManager | ( | ) |
Definition at line 81 of file G4EventManager.cc.
References fpEventManager, theMessenger, trackContainer, trackManager, transformer, and userEventAction.
|
privatedelete |
void G4EventManager::AbortCurrentEvent | ( | ) |
Definition at line 387 of file G4EventManager.cc.
References abortRequested, G4StackManager::clear(), G4TrackingManager::EventAborted(), trackContainer, tracking, and trackManager.
Referenced by G4RunManager::AbortEvent(), G4RunManager::AbortRun(), export_G4EventManager(), and G4EvManMessenger::SetNewValue().
|
private |
Definition at line 98 of file G4EventManager.cc.
References abortRequested, G4UserEventAction::BeginOfEventAction(), currentEvent, G4UserEventAction::EndOfEventAction(), fAlive, fKillTrackAndSecondaries, fPostponeToNextEvent, fStopAndKill, fStopButAlive, fSuspend, G4cout, G4endl, G4Exception(), G4State_EventProc, G4State_GeomClosed, G4StateManager::GetCurrentState(), G4Event::GetHCofThisEvent(), G4TransportationManager::GetNavigatorForTracking(), G4StackManager::GetNTotalTrack(), G4Event::GetNumberOfPrimaryVertex(), G4Track::GetParentID(), G4SDManager::GetSDMpointerIfExist(), G4Track::GetTrackID(), G4Track::GetTrackStatus(), G4TransportationManager::GetTransportationManager(), G4PrimaryTransformer::GimmePrimaries(), G4TrackingManager::GimmeSecondaries(), G4TrackingManager::GimmeTrajectory(), G4TrajectoryContainer::insert(), JustWarning, G4Navigator::LocateGlobalPointAndSetup(), G4VTrajectory::MergeTrajectory(), G4StackManager::PopNextTrack(), G4StackManager::PrepareNewEvent(), G4SDManager::PrepareNewEvent(), G4TrackingManager::ProcessOneTrack(), G4StackManager::PushOneTrack(), randomNumberStatusToG4Event, sdManager, G4Event::SetHCofThisEvent(), G4StateManager::SetNewState(), G4Event::SetRandomNumberStatusForProcessing(), G4Event::SetTrajectoryContainer(), StackTracks(), stateManager, storetRandomNumberStatusToG4Event, G4SDManager::TerminateCurrentEvent(), trackContainer, trackIDCounter, tracking, trackManager, trajectoryContainer, transformer, userEventAction, and verboseLevel.
Referenced by ProcessOneEvent().
|
inline |
Definition at line 125 of file G4EventManager.hh.
References currentEvent.
Referenced by LXeStackingAction::ClassifyNewTrack(), G4VisManager::Draw(), ScoreSpecies::EndOfEvent(), G4VisManager::EndOfEvent(), export_G4EventManager(), F04EventAction::GetEventNo(), WLSEventAction::GetEventNo(), PrimaryKiller::ProcessHits(), and LXeSteppingAction::UserSteppingAction().
|
static |
Definition at line 46 of file G4EventManager.cc.
References fpEventManager.
Referenced by LXeEventAction::BeginOfEventAction(), Par02EventAction::BeginOfEventAction(), LXeStackingAction::ClassifyNewTrack(), G4StackChecker::ClassifyNewTrack(), Par02FastSimModelEMCal::DoIt(), Par02FastSimModelHCal::DoIt(), Par02FastSimModelTracker::DoIt(), G4VisManager::Draw(), ScoreSpecies::EndOfEvent(), G4VisManager::EndOfEvent(), ITTrackingInteractivity::EndTracking(), export_G4EventManager(), G4ErrorPropagator::G4ErrorPropagator(), G4MaterialScanner::G4MaterialScanner(), G4TheRayTracer::G4TheRayTracer(), SteppingAction::Initialize(), ITTrackingInteractivity::Initialize(), G4ErrorPropagator::InvokePostUserTrackingAction(), G4ErrorPropagator::InvokePreUserTrackingAction(), PrimaryKiller::ProcessHits(), G4ErrorPropagatorManager::SetSteppingManagerVerboseLevel(), G4ErrorRunManagerHelper::SetUserAction(), G4ErrorPropagatorManager::SetUserAction(), G4ErrorPropagatorManager::StartNavigator(), LXeSteppingAction::UserSteppingAction(), and ITTrackingInteractivity::~ITTrackingInteractivity().
|
inline |
Definition at line 127 of file G4EventManager.hh.
References currentEvent.
Referenced by ITTrackingInteractivity::EndTracking(), and export_G4EventManager().
|
inline |
Definition at line 184 of file G4EventManager.hh.
References transformer.
Referenced by G4RunManagerKernel::GetPrimaryTransformer().
|
inline |
Definition at line 162 of file G4EventManager.hh.
References trackContainer.
Referenced by export_G4EventManager(), and G4RunManagerKernel::GetStackManager().
|
inline |
Definition at line 164 of file G4EventManager.hh.
References trackManager.
Referenced by export_G4EventManager(), G4ErrorPropagator::G4ErrorPropagator(), G4RunManagerKernel::GetTrackingManager(), ITTrackingInteractivity::Initialize(), G4ErrorPropagatorManager::SetSteppingManagerVerboseLevel(), and G4ErrorPropagatorManager::StartNavigator().
|
inline |
Definition at line 145 of file G4EventManager.hh.
References userEventAction.
Referenced by G4MaterialScanner::StoreUserActions(), and G4TheRayTracer::StoreUserActions().
G4VUserEventInformation * G4EventManager::GetUserInformation | ( | ) |
Definition at line 375 of file G4EventManager.cc.
References currentEvent, G4State_EventProc, G4StateManager::GetCurrentState(), G4Event::GetUserInformation(), and stateManager.
Referenced by Par02FastSimModelEMCal::DoIt(), Par02FastSimModelHCal::DoIt(), Par02FastSimModelTracker::DoIt(), and export_G4EventManager().
|
inline |
Definition at line 147 of file G4EventManager.hh.
References userStackingAction.
Referenced by G4MaterialScanner::StoreUserActions(), and G4TheRayTracer::StoreUserActions().
|
inline |
Definition at line 151 of file G4EventManager.hh.
References userSteppingAction.
Referenced by G4MaterialScanner::StoreUserActions(), G4TheRayTracer::StoreUserActions(), and ITTrackingInteractivity::~ITTrackingInteractivity().
|
inline |
Definition at line 149 of file G4EventManager.hh.
References userTrackingAction.
Referenced by G4ErrorPropagator::InvokePostUserTrackingAction(), G4ErrorPropagator::InvokePreUserTrackingAction(), G4MaterialScanner::StoreUserActions(), G4TheRayTracer::StoreUserActions(), and ITTrackingInteractivity::~ITTrackingInteractivity().
|
inline |
Definition at line 168 of file G4EventManager.hh.
References verboseLevel.
Referenced by RE01EventAction::EndOfEventAction(), export_G4EventManager(), and G4EvManMessenger::GetCurrentValue().
void G4EventManager::KeepTheCurrentEvent | ( | ) |
Definition at line 384 of file G4EventManager.cc.
References currentEvent, and G4Event::KeepTheEvent().
Referenced by G4VisManager::EndOfEvent(), and G4EvManMessenger::SetNewValue().
|
privatedelete |
void G4EventManager::ProcessOneEvent | ( | G4Event * | anEvent | ) |
Definition at line 332 of file G4EventManager.cc.
References DoProcessing(), and trackIDCounter.
Referenced by G4TheRayTracer::CreateBitMap(), CexmcRunManager::DoCommonEventLoop(), G4MaterialScanner::DoScan(), G4WorkerRunManager::ProcessOneEvent(), and G4RunManager::ProcessOneEvent().
void G4EventManager::ProcessOneEvent | ( | G4TrackVector * | trackVector, |
G4Event * | anEvent = 0 |
||
) |
Definition at line 338 of file G4EventManager.cc.
References DoProcessing(), G4ThreadLocal, G4Event::SetRandomNumberStatus(), StackTracks(), storetRandomNumberStatusToG4Event, and trackIDCounter.
|
inline |
Definition at line 156 of file G4EventManager.hh.
References G4StackManager::SetNumberOfAdditionalWaitingStacks().
Referenced by export_G4EventManager(), and G4RunManager::SetNumberOfAdditionalWaitingStacks().
|
inline |
Definition at line 186 of file G4EventManager.hh.
Referenced by G4RunManagerKernel::SetPrimaryTransformer().
void G4EventManager::SetUserAction | ( | G4UserEventAction * | userAction | ) |
Definition at line 308 of file G4EventManager.cc.
References G4UserEventAction::SetEventManager(), and userEventAction.
Referenced by G4MaterialScanner::RestoreUserActions(), G4TheRayTracer::RestoreUserActions(), G4ErrorRunManagerHelper::SetUserAction(), G4ErrorPropagatorManager::SetUserAction(), G4RunManager::SetUserAction(), G4MaterialScanner::StoreUserActions(), and G4TheRayTracer::StoreUserActions().
void G4EventManager::SetUserAction | ( | G4UserStackingAction * | userAction | ) |
Definition at line 314 of file G4EventManager.cc.
References G4StackManager::SetUserStackingAction(), trackContainer, and userStackingAction.
void G4EventManager::SetUserAction | ( | G4UserTrackingAction * | userAction | ) |
Definition at line 320 of file G4EventManager.cc.
References G4TrackingManager::SetUserAction(), trackManager, and userTrackingAction.
void G4EventManager::SetUserAction | ( | G4UserSteppingAction * | userAction | ) |
Definition at line 326 of file G4EventManager.cc.
References G4TrackingManager::SetUserAction(), trackManager, and userSteppingAction.
void G4EventManager::SetUserInformation | ( | G4VUserEventInformation * | anInfo | ) |
Definition at line 361 of file G4EventManager.cc.
References currentEvent, G4Exception(), G4State_EventProc, G4StateManager::GetCurrentState(), JustWarning, G4Event::SetUserInformation(), and stateManager.
Referenced by LXeEventAction::BeginOfEventAction(), Par02EventAction::BeginOfEventAction(), and export_G4EventManager().
|
inline |
Definition at line 170 of file G4EventManager.hh.
References G4PrimaryTransformer::SetVerboseLevel(), and G4StackManager::SetVerboseLevel().
Referenced by export_G4EventManager(), and G4EvManMessenger::SetNewValue().
|
private |
Definition at line 269 of file G4EventManager.cc.
References G4cout, G4endl, G4InuclParticleNames::pp, G4StackManager::PushOneTrack(), G4PrimaryParticle::SetTrackID(), trackContainer, trackIDCounter, and verboseLevel.
Referenced by DoProcessing(), and ProcessOneEvent().
|
inline |
Definition at line 188 of file G4EventManager.hh.
Referenced by G4RunManager::StoreRandomNumberStatusToG4Event().
|
private |
Definition at line 110 of file G4EventManager.hh.
Referenced by AbortCurrentEvent(), and DoProcessing().
|
private |
Definition at line 100 of file G4EventManager.hh.
Referenced by DoProcessing(), GetConstCurrentEvent(), GetNonconstCurrentEvent(), GetUserInformation(), KeepTheCurrentEvent(), and SetUserInformation().
|
staticprivate |
Definition at line 67 of file G4EventManager.hh.
Referenced by G4EventManager(), GetEventManager(), and ~G4EventManager().
|
private |
Definition at line 120 of file G4EventManager.hh.
Referenced by DoProcessing().
|
private |
Definition at line 107 of file G4EventManager.hh.
Referenced by DoProcessing(), and G4EventManager().
|
private |
Definition at line 122 of file G4EventManager.hh.
Referenced by DoProcessing(), G4EventManager(), GetUserInformation(), and SetUserInformation().
|
private |
Definition at line 119 of file G4EventManager.hh.
Referenced by DoProcessing(), and ProcessOneEvent().
|
private |
Definition at line 112 of file G4EventManager.hh.
Referenced by G4EventManager(), and ~G4EventManager().
|
private |
Definition at line 102 of file G4EventManager.hh.
Referenced by AbortCurrentEvent(), DoProcessing(), G4EventManager(), GetStackManager(), SetUserAction(), StackTracks(), and ~G4EventManager().
|
private |
Definition at line 105 of file G4EventManager.hh.
Referenced by DoProcessing(), ProcessOneEvent(), and StackTracks().
|
private |
Definition at line 109 of file G4EventManager.hh.
Referenced by AbortCurrentEvent(), and DoProcessing().
|
private |
Definition at line 103 of file G4EventManager.hh.
Referenced by AbortCurrentEvent(), DoProcessing(), G4EventManager(), GetTrackingManager(), SetUserAction(), and ~G4EventManager().
|
private |
Definition at line 104 of file G4EventManager.hh.
Referenced by DoProcessing().
|
private |
Definition at line 108 of file G4EventManager.hh.
Referenced by DoProcessing(), G4EventManager(), GetPrimaryTransformer(), and ~G4EventManager().
|
private |
Definition at line 114 of file G4EventManager.hh.
Referenced by DoProcessing(), G4EventManager(), GetUserEventAction(), SetUserAction(), and ~G4EventManager().
|
private |
Definition at line 115 of file G4EventManager.hh.
Referenced by G4EventManager(), GetUserStackingAction(), and SetUserAction().
|
private |
Definition at line 117 of file G4EventManager.hh.
Referenced by G4EventManager(), GetUserSteppingAction(), and SetUserAction().
|
private |
Definition at line 116 of file G4EventManager.hh.
Referenced by G4EventManager(), GetUserTrackingAction(), and SetUserAction().
|
private |
Definition at line 106 of file G4EventManager.hh.
Referenced by DoProcessing(), GetVerboseLevel(), and StackTracks().