Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:29:49

0001 #ifndef SimG4Core_BeginOfRun_H
0002 #define SimG4Core_BeginOfRun_H
0003 
0004 #include "G4Run.hh"
0005 
0006 class BeginOfRun {
0007 public:
0008   BeginOfRun(const G4Run* tRun) : aRun(tRun) {}
0009   const G4Run* operator()() const { return aRun; }
0010 
0011 private:
0012   const G4Run* aRun;
0013 };
0014 
0015 #endif