test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BeginOfEvent.h
Go to the documentation of this file.
1 #ifndef SimG4Core_BeginOfEvent_H
2 #define SimG4Core_BeginOfEvent_H
3 
4 #include "G4Event.hh"
5 
7 {
8 public:
9  BeginOfEvent(const G4Event * tEvent) : anEvent(tEvent) {}
10  const G4Event * operator()() const { return anEvent; }
11 private:
12  const G4Event * anEvent;
13 };
14 
15 #endif
const G4Event * operator()() const
Definition: BeginOfEvent.h:10
const G4Event * anEvent
Definition: BeginOfEvent.h:12
BeginOfEvent(const G4Event *tEvent)
Definition: BeginOfEvent.h:9