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; }
130 {
return trackContainer; }
132 {
return trackManager; }
135 {
return verboseLevel; }
138 verboseLevel = value;
151 {
return transformer; }
153 { transformer = tf; }
155 { storetRandomNumberStatusToG4Event = vl; }
158 { subEventPara =
true; }
172 void DoProcessing(
G4Event* anEvent);
178 G4Event* currentEvent =
nullptr;
183 G4int trackIDCounter = 0;
184 G4int verboseLevel = 0;
188 G4bool abortRequested =
false;
189 G4bool subEventPara =
false;
198 G4int storetRandomNumberStatusToG4Event = 0;
199 G4String randomNumberStatusToG4Event;
204 std::unique_ptr<ProfilerConfig> eventProfiler;
std::vector< G4Track * > G4TrackVector
G4UserTrackingAction * GetUserTrackingAction()
void UseSubEventParallelism()
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 SetPrimaryTransformer(G4PrimaryTransformer *tf)
G4TrackingManager * GetTrackingManager() const
void StackTracks(G4TrackVector *trackVector, G4bool IDhasAlreadySet=false)
G4SubEvent * PopSubEvent(G4int ty)
void StoreRandomNumberStatusToG4Event(G4int vl)
void ProcessOneEvent(G4Event *anEvent)
G4StackManager * GetStackManager() const
G4VUserEventInformation * GetUserInformation()
G4EventManager(const G4EventManager &right)=delete
void TerminateSubEvent(const G4SubEvent *se, const G4Event *evt)
void SetVerboseLevel(G4int const value)