CMS 3D CMS Logo

EndOfEvent.h
Go to the documentation of this file.
1 #ifndef SimG4Core_EndOfEvent_H
2 #define SimG4Core_EndOfEvent_H
3 
4 #include "G4Event.hh"
5 
6 class EndOfEvent
7 {
8 public:
9  EndOfEvent(const G4Event * tEvent) : anEvent(tEvent) {}
10  const G4Event * operator()() const { return anEvent; }
11 private:
12  const G4Event * anEvent;
13 };
14 
15 #endif
const G4Event * anEvent
Definition: EndOfEvent.h:12
const G4Event * operator()() const
Definition: EndOfEvent.h:10
EndOfEvent(const G4Event *tEvent)
Definition: EndOfEvent.h:9