Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 // Tell emacs that this is a C++ source
0002 //  -*- C++ -*-.
0003 #ifndef G4MAIN_PHG4TRACKINGACTION_H
0004 #define G4MAIN_PHG4TRACKINGACTION_H
0005 
0006 #include <Geant4/G4UserTrackingAction.hh>
0007 
0008 class G4Track;
0009 class PHCompositeNode;
0010 
0011 class PHG4TrackingAction : public G4UserTrackingAction
0012 {
0013  public:
0014   PHG4TrackingAction(void) {}
0015 
0016   ~PHG4TrackingAction() override {}
0017 
0018   //   //! tracking action. This defines pre/post processing of a single track in an event
0019   void PreUserTrackingAction(const G4Track*) override {}
0020 
0021   void PostUserTrackingAction(const G4Track*) override {}
0022 
0023   //! Set the node pointers
0024   virtual void SetInterfacePointers(PHCompositeNode*) { return; }
0025 
0026   virtual int ResetEvent(PHCompositeNode*) { return 0; }
0027 };
0028 
0029 #endif  // G4MAIN_PHG4TRACKINGACTION_H