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