00001 #ifndef SimG4Core_EndOfEvent_H 00002 #define SimG4Core_EndOfEvent_H 00003 00004 #include "G4Event.hh" 00005 00006 class EndOfEvent 00007 { 00008 public: 00009 EndOfEvent(const G4Event * tEvent) : anEvent(tEvent) {} 00010 const G4Event * operator()() const { return anEvent; } 00011 private: 00012 const G4Event * anEvent; 00013 }; 00014 00015 #endif