CMS 3D CMS Logo

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 public:
8  BeginOfRun(const G4Run* tRun) : aRun(tRun) {}
9  const G4Run* operator()() const { return aRun; }
10 
11 private:
12  const G4Run* aRun;
13 };
14 
15 #endif
BeginOfRun::BeginOfRun
BeginOfRun(const G4Run *tRun)
Definition: BeginOfRun.h:8
BeginOfRun::aRun
const G4Run * aRun
Definition: BeginOfRun.h:12
BeginOfRun
Definition: BeginOfRun.h:6
BeginOfRun::operator()
const G4Run * operator()() const
Definition: BeginOfRun.h:9