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
const G4Run * operator()() const
Definition: BeginOfRun.h:9
const G4Run * aRun
Definition: BeginOfRun.h:12
BeginOfRun(const G4Run *tRun)
Definition: BeginOfRun.h:8