Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4EventAction.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4EventAction.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4MAIN_PHG4EVENTACTION_H
4 #define G4MAIN_PHG4EVENTACTION_H
5 
6 class G4Event;
7 class PHCompositeNode;
8 
10 {
11 
12  public:
14  {}
15 
16  virtual ~PHG4EventAction()
17  {}
18 
19  virtual void BeginOfEventAction(const G4Event*) {}
20 
21  virtual void EndOfEventAction(const G4Event*) {}
22 
25 
26  virtual int ResetEvent(PHCompositeNode *) {return 0;}
27 
28 };
29 
30 
31 #endif // G4MAIN_PHG4EVENTACTION_H