EDepSimUserStackingAction.hh
Go to the documentation of this file.
1 #ifndef EDepSim_UserStackingAction_hh_seen
2 #define EDepSim_UserStackingAction_hh_seen
3 
4 #include "G4Track.hh"
5 #include "G4UserStackingAction.hh"
6 #include "G4ClassificationOfNewTrack.hh"
7 
8 /// Control which particles are actually tracked by G4.
9 namespace EDepSim {class UserStackingAction;}
10 class EDepSim::UserStackingAction : public G4UserStackingAction {
11 public:
13  virtual ~UserStackingAction();
14 
15  /// Check if a new track should be tracked.
16  virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track*);
17 };
18 #endif
virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *)
Check if a new track should be tracked.
Construct a module from components.
Definition: TG4HitSegment.h:10