35#ifndef G4EventManager_hh
36#define G4EventManager_hh 1
93 {
return currentEvent; }
95 {
return currentEvent; }
111 {
return userEventAction; }
113 {
return userStackingAction; }
115 {
return userTrackingAction; }
117 {
return userSteppingAction; }
127 {
return trackContainer; }
129 {
return trackManager; }
132 {
return verboseLevel; }
135 verboseLevel = value;
136 trackContainer->SetVerboseLevel( value );
137 transformer->SetVerboseLevel( value );
148 {
return transformer; }
150 { transformer = tf; }
152 { storetRandomNumberStatusToG4Event = vl; }
157 subEventParaWorker = worker;
178 void DoProcessing(
G4Event* anEvent,
185 G4Event* currentEvent =
nullptr;
190 G4int trackIDCounter = 0;
191 G4int verboseLevel = 0;
195 G4bool abortRequested =
false;
196 G4bool subEventPara =
false;
197 G4bool subEventParaWorker =
false;
198 G4int evID_inSubEv = -1;
207 G4int storetRandomNumberStatusToG4Event = 0;
208 G4String randomNumberStatusToG4Event;
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
G4int StoreSubEvent(G4Event *, G4int &, G4SubEvent *)
G4Event * GetNonconstCurrentEvent()
G4UserEventAction * GetUserEventAction()
static G4EventManager * GetEventManager()
void UseSubEventParallelism(G4bool worker=false)
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)