35#ifndef G4EventManager_hh
36#define G4EventManager_hh 1
96 {
return currentEvent; }
98 {
return currentEvent; }
114 {
return userEventAction; }
116 {
return userStackingAction; }
118 {
return userTrackingAction; }
120 {
return userSteppingAction; }
133 {
return trackContainer; }
135 {
return trackManager; }
138 {
return verboseLevel; }
141 verboseLevel = value;
154 {
return transformer; }
156 { transformer = tf; }
158 { storetRandomNumberStatusToG4Event = vl; }
162 void DoProcessing(
G4Event* anEvent);
168 G4Event* currentEvent =
nullptr;
173 G4int trackIDCounter = 0;
174 G4int verboseLevel = 0;
178 G4bool abortRequested =
false;
187 G4int storetRandomNumberStatusToG4Event = 0;
188 G4String randomNumberStatusToG4Event;
193 std::unique_ptr<ProfilerConfig> eventProfiler;
std::vector< G4Track * > G4TrackVector
G4UserTrackingAction * GetUserTrackingAction()
void SetUserAction(G4UserEventAction *userAction)
void SetUserInformation(G4VUserEventInformation *anInfo)
G4PrimaryTransformer * GetPrimaryTransformer() const
G4UserSteppingAction * GetUserSteppingAction()
G4UserStackingAction * GetUserStackingAction()
void KeepTheCurrentEvent()
void SetVerboseLevel(G4int value)
const G4Event * GetConstCurrentEvent()
G4EventManager & operator=(const G4EventManager &right)=delete
G4Event * GetNonconstCurrentEvent()
G4UserEventAction * GetUserEventAction()
static G4EventManager * GetEventManager()
void SetNumberOfAdditionalWaitingStacks(G4int iAdd)
void SetPrimaryTransformer(G4PrimaryTransformer *tf)
G4TrackingManager * GetTrackingManager() const
void StackTracks(G4TrackVector *trackVector, G4bool IDhasAlreadySet=false)
void StoreRandomNumberStatusToG4Event(G4int vl)
void ProcessOneEvent(G4Event *anEvent)
G4StackManager * GetStackManager() const
G4VUserEventInformation * GetUserInformation()
G4EventManager(const G4EventManager &right)=delete
void SetNumberOfAdditionalWaitingStacks(G4int iAdd)
void SetVerboseLevel(G4int const value)