CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EndOfRun.h
Go to the documentation of this file.
1 #ifndef SimG4Core_EndOfRun_H
2 #define SimG4Core_EndOfRun_H
3 
4 #include "G4Run.hh"
5 
6 class EndOfRun {
7 public:
8  EndOfRun(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: EndOfRun.h:9
EndOfRun(const G4Run *tRun)
Definition: EndOfRun.h:8
const G4Run * aRun
Definition: EndOfRun.h:12