Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:24:59

0001 #ifndef SimG4Core_BeginOfEvent_H
0002 #define SimG4Core_BeginOfEvent_H
0003 
0004 #include "G4Event.hh"
0005 
0006 class BeginOfEvent {
0007 public:
0008   BeginOfEvent(const G4Event* tEvent) : anEvent(tEvent) {}
0009   const G4Event* operator()() const { return anEvent; }
0010 
0011 private:
0012   const G4Event* anEvent;
0013 };
0014 
0015 #endif