CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/SimG4Core/Notification/interface/EndOfEvent.h

Go to the documentation of this file.
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