ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4TrackingAction.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4TrackingAction.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4MAIN_PHG4TRACKINGACTION_H
4 #define G4MAIN_PHG4TRACKINGACTION_H
5 
6 #include <Geant4/G4UserTrackingAction.hh>
7 
8 class G4Track;
9 class PHCompositeNode;
10 
12 {
13 public:
14  PHG4TrackingAction( void ) {}
15 
16  ~PHG4TrackingAction() override {}
17 
18 // //! tracking action. This defines pre/post processing of a single track in an event
19  void PreUserTrackingAction(const G4Track*) override {}
20 
21  void PostUserTrackingAction(const G4Track*) override {}
22 
24  virtual void SetInterfacePointers( PHCompositeNode* ) {return;}
25 
26  virtual int ResetEvent(PHCompositeNode *) {return 0;}
27 
28 };
29 
30 
31 #endif // G4MAIN_PHG4TRACKINGACTION_H