CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
const G4Event * anEvent
Definition: EndOfEvent.h:12
const G4Event * operator()() const
Definition: EndOfEvent.h:9
EndOfEvent(const G4Event *tEvent)
Definition: EndOfEvent.h:8