From d0533d03d0c85f2f993f1793a6b9ea2af3391207 Mon Sep 17 00:00:00 2001 From: shivesh Date: Tue, 20 Nov 2018 17:26:02 +0000 Subject: Tue 20 Nov 17:26:02 GMT 2018 --- include/G4BeamTestUserStackingAction.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 include/G4BeamTestUserStackingAction.h (limited to 'include/G4BeamTestUserStackingAction.h') diff --git a/include/G4BeamTestUserStackingAction.h b/include/G4BeamTestUserStackingAction.h new file mode 100644 index 0000000..556f3d1 --- /dev/null +++ b/include/G4BeamTestUserStackingAction.h @@ -0,0 +1,28 @@ +#ifndef G4BeamTestUserStackingAction_H +#define G4BeamTestUserStackingAction_H 1 + +#include "globals.hh" +#include "G4UserStackingAction.hh" + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +class G4BeamTestUserStackingAction : public G4UserStackingAction +{ + public: + G4BeamTestUserStackingAction(); + virtual ~G4BeamTestUserStackingAction(); + + public: + virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track* aTrack); + virtual void NewStage(); + virtual void PrepareNewEvent(); + + private: + G4int fScintillationCounter; + G4int fCerenkovCounter; +}; + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +#endif + -- cgit v1.2.3