Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:19:21

0001 // Tell emacs that this is a C++ source
0002 //  -*- C++ -*-.
0003 #ifndef G4MAIN_PHG4EVENTACTION_H
0004 #define G4MAIN_PHG4EVENTACTION_H
0005 
0006 class G4Event;
0007 class PHCompositeNode;
0008 
0009 class PHG4EventAction
0010 {
0011  public:
0012   PHG4EventAction(void)
0013   {
0014   }
0015 
0016   virtual ~PHG4EventAction()
0017   {
0018   }
0019 
0020   virtual void BeginOfEventAction(const G4Event*) {}
0021 
0022   virtual void EndOfEventAction(const G4Event*) {}
0023 
0024   //! get relevant nodes from top node passed as argument
0025   virtual void SetInterfacePointers(PHCompositeNode*) {}
0026 
0027   virtual int ResetEvent(PHCompositeNode*) { return 0; }
0028 };
0029 
0030 #endif  // G4MAIN_PHG4EVENTACTION_H