aboutsummaryrefslogtreecommitdiffstats
path: root/include/G4BeamTestUserTrackingAction.h
blob: 9786f52849f605d3825b664b9d6800ef8180d959 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef G4BEAMTESTUSERTRACKINGACTION_H_INCLUDED
#define G4BEAMTESTUSERTRACKINGACTION_H_INCLUDED
#include "G4UserTrackingAction.hh"

/**
 * Implementation of G4UserTrackingAction. This class kills gammas below threshold (set by G4BeamTestTank).
 */
class G4BeamTestUserTrackingAction : public G4UserTrackingAction {

  public:
    G4BeamTestUserTrackingAction();
   ~G4BeamTestUserTrackingAction() {}

    void PreUserTrackingAction(const G4Track*);
    void PostUserTrackingAction(const G4Track*);
};

#endif  // G4BEAMTESTUSERTRACKINGACTION_H_INCLUDED