GGS(GenericGEANT4Simulation)Software  2.99.0
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Macros
GGSWorkerRunManager.h
Go to the documentation of this file.
1 /*
2  * GGSWorkerRunManager.h
3  *
4  * Created on: 22 Oct 2020
5  * Author: Nicola Mori
6  */
7 
10 #ifndef GGSWORKERRUNMANAGER_H_
11 #define GGSWORKERRUNMANAGER_H_
12 
13 #include "G4WorkerRunManager.hh"
14 #include "montecarlo/mccore/GGSRunManagerExtensions.h"
15 
25 class GGSWorkerRunManager : public G4WorkerRunManager, public GGSRunManagerExtensions {
26 public:
36  void DoEventLoop(G4int n_event, const char *macroFile = 0, G4int n_select = -1) override;
37 
44  void ProcessOneEvent(G4int i_event) override;
45 
46 private:
68  G4Event *_SetupRandomNumbers(G4int i_event);
69 };
70 
71 #endif /* GGSWORKERRUNMANAGER_H_ */
void DoEventLoop(G4int n_event, const char *macroFile=0, G4int n_select=-1) override
Run the event loop.
Class with additional functionalities for run managers.
void ProcessOneEvent(G4int i_event) override
Process a single event.
Worker run manager class for GGS.