34 #ifndef G4MTRunManager_h
35 #define G4MTRunManager_h 1
108 typedef std::list<G4Thread*> G4ThreadsList;
109 G4ThreadsList threads;
112 std::vector<G4String> uiCmdsForWorkers;
224 #endif //G4MTRunManager_h
virtual void InitializeEventLoop(G4int n_event, const char *macroFile=0, G4int n_select=-1)
std::vector< G4String > GetCommandStack()
virtual void PrepareCommandsStack()
std::map< G4int, G4VPhysicalVolume * > masterWorlds_t
virtual G4bool SetUpAnEvent(G4Event *, long &s1, long &s2, long &s3)
static void addWorld(G4int counter, G4VPhysicalVolume *w)
WorkerActionRequest nextActionRequest
virtual void ThisWorkerEndEventLoop()
void SetNumberOfThreads(G4int n)
virtual G4bool InitializeSeeds(G4int)
void SetEventModulo(G4int i=1)
static masterWorlds_t & GetMasterWorlds()
virtual void ConstructScoringWorlds()
virtual void RunTermination()
virtual void SetUserAction(G4UserRunAction *userAction)
std::queue< long > G4SeedsQueue
virtual void WaitForEndEventLoopWorkers()
virtual void TerminateOneEvent()
virtual void TerminateWorkers()
static G4RunManagerKernel * GetMasterRunManagerKernel()
virtual void InitializePhysics()
void MergeRun(const G4Run *localRun)
virtual void ProcessOneEvent(G4int i_event)
virtual void WaitForReadyWorkers()
static G4MTRunManager * GetMasterRunManager()
virtual G4int SetUpNEvents(G4Event *, G4SeedsQueue *seedsQueue)
virtual WorkerActionRequest ThisWorkerWaitForNextAction()
virtual void SetUserInitialization(G4VUserPhysicsList *userPL)
G4int GetNumberOfThreads() const
virtual void AbortRun(G4bool softAbort=false)
virtual void NewActionRequest(WorkerActionRequest newRequest)
virtual void Initialize()
static G4ScoringManager * GetMasterScoringManager()
virtual void ThisWorkerReady()
virtual void AbortEvent()
const CLHEP::HepRandomEngine * getMasterRandomEngine() const
G4int GetEventModulo() const
virtual ~G4MTRunManager()
G4int numberOfEventToBeProcessed
static G4MTRunManagerKernel * GetMTMasterRunManagerKernel()
void MergeScores(const G4ScoringManager *localScoringManager)
virtual void TerminateEventLoop()
virtual void StoreRNGStatus(const G4String &filenamePrefix)
virtual void CreateAndStartWorkers()