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 public:
8  EndOfEvent(const G4Event* tEvent) : anEvent(tEvent) {}
9  const G4Event* operator()() const { return anEvent; }
10 
11 private:
12  const G4Event* anEvent;
13 };
14 
15 #endif
EndOfEvent::anEvent
const G4Event * anEvent
Definition: EndOfEvent.h:12
EndOfEvent::EndOfEvent
EndOfEvent(const G4Event *tEvent)
Definition: EndOfEvent.h:8
EndOfEvent
Definition: EndOfEvent.h:6
EndOfEvent::operator()
const G4Event * operator()() const
Definition: EndOfEvent.h:9