diff options
Diffstat (limited to 'include/G4BeamTestUserTrackingAction.h')
| -rw-r--r-- | include/G4BeamTestUserTrackingAction.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/G4BeamTestUserTrackingAction.h b/include/G4BeamTestUserTrackingAction.h new file mode 100644 index 0000000..bb6d155 --- /dev/null +++ b/include/G4BeamTestUserTrackingAction.h @@ -0,0 +1,32 @@ +#ifndef G4BEAMTESTUSERTRACKINGACTION_H_INCLUDED +#define G4BEAMTESTUSERTRACKINGACTION_H_INCLUDED +/** + * Copyright (C) 2011 + * The IceCube collaboration + * ID: $Id$ + * + * @file G4BeamTestUserTrackingAction.h + * @version $Revision$ + * @date $Date$ + * @author Thomas Melzig + * + * $LastChangedBy$ + */ + + +#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 |
