CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SimRunInterface.h
Go to the documentation of this file.
1 #ifndef SimG4Core_SimRunInterface_h
2 #define SimG4Core_SimRunInterface_h 1
3 
4 // This class is needed to provide an interface
5 // between Geant4 user actions and CMS SIM
6 // infrastructure both for sequentional and MT runs
7 
8 
9 class RunManager;
10 class SimTrackManager;
11 class RunAction;
12 class EventAction;
13 class TrackingAction;
14 class SteppingAction;
15 class G4SimEvent;
16 
18 {
19 public:
20 
22 
24 
25  void Connect(RunAction*);
26 
27  void Connect(EventAction*);
28 
29  void Connect(TrackingAction*);
30 
31  void Connect(SteppingAction*);
32 
34 
35  void abortEvent();
36 
37  void abortRun(bool softAbort);
38 
40 
41 private:
42 
44 
46 
47  bool m_isMaster;
48 };
49 
50 #endif
51 
52 
G4SimEvent * simEvent()
SimTrackManager * m_SimTrackManager
void abortRun(bool softAbort)
SimTrackManager * GetSimTrackManager()
SimRunInterface(RunManager *run, bool master)
RunManager * m_runManager
void Connect(RunAction *)