test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BeginOfRun.h
Go to the documentation of this file.
1 #ifndef SimG4Core_BeginOfRun_H
2 #define SimG4Core_BeginOfRun_H
3 
4 #include "G4Run.hh"
5 
6 class BeginOfRun
7 {
8 public:
9  BeginOfRun(const G4Run * tRun) : aRun(tRun) {}
10  const G4Run * operator()() const { return aRun; }
11 private:
12  const G4Run * aRun;
13 };
14 
15 #endif
const G4Run * aRun
Definition: BeginOfRun.h:12
BeginOfRun(const G4Run *tRun)
Definition: BeginOfRun.h:9
const G4Run * operator()() const
Definition: BeginOfRun.h:10