CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 SimRunInterface;
12 class BeginOfRun;
13 class EndOfRun;
14 
15 class RunAction : public G4UserRunAction {
16 public:
17  explicit RunAction(const edm::ParameterSet& ps, SimRunInterface*, bool master);
18  ~RunAction() override;
19 
20  void BeginOfRunAction(const G4Run* aRun) override;
21  void EndOfRunAction(const G4Run* aRun) override;
22 
25 
26 private:
29 };
30 
31 #endif
Master< F > master(const F &f)
Definition: FunctClone.h:63
void BeginOfRunAction(const G4Run *aRun) override
Definition: RunAction.cc:17
RunAction(const edm::ParameterSet &ps, SimRunInterface *, bool master)
Definition: RunAction.cc:12
SimActivityRegistry::EndOfRunSignal m_endOfRunSignal
Definition: RunAction.h:24
~RunAction() override
Definition: RunAction.cc:15
std::string m_stopFile
Definition: RunAction.h:28
SimActivityRegistry::BeginOfRunSignal m_beginOfRunSignal
Definition: RunAction.h:23
void EndOfRunAction(const G4Run *aRun) override
Definition: RunAction.cc:26
SimRunInterface * m_runInterface
Definition: RunAction.h:27