CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RunAction.h
Go to the documentation of this file.
1 #ifndef SimG4Core_RunAction_H
2 #define SimG4Core_RunAction_H
3 
6 
7 #include "G4UserRunAction.hh"
8 
9 #include <string>
10 
11 class RunManager;
12 class BeginOfRun;
13 class EndOfRun;
14 
15 class RunAction: public G4UserRunAction
16 {
17 public:
19  void BeginOfRunAction(const G4Run * aRun);
20  void EndOfRunAction(const G4Run * aRun);
21 
24 private:
26  std::string m_stopFile;
27 };
28 
29 #endif
RunAction(const edm::ParameterSet &ps, RunManager *)
Definition: RunAction.cc:10
SimActivityRegistry::EndOfRunSignal m_endOfRunSignal
Definition: RunAction.h:23
std::string m_stopFile
Definition: RunAction.h:26
void EndOfRunAction(const G4Run *aRun)
Definition: RunAction.cc:26
void BeginOfRunAction(const G4Run *aRun)
Definition: RunAction.cc:14
RunManager * m_runManager
Definition: RunAction.h:25
SimActivityRegistry::BeginOfRunSignal m_beginOfRunSignal
Definition: RunAction.h:22