diff options
| author | shivesh <s.p.mandalia@qmul.ac.uk> | 2018-11-20 17:26:02 +0000 |
|---|---|---|
| committer | shivesh <s.p.mandalia@qmul.ac.uk> | 2018-11-20 17:26:02 +0000 |
| commit | d0533d03d0c85f2f993f1793a6b9ea2af3391207 (patch) | |
| tree | 682c2fefe2d113319f21c07bded00fed5245e19b /include/G4BeamTestUserStackingAction.h | |
| parent | 738c2f88939a041fbc8b6b9cfa3c547b86bc6e42 (diff) | |
| download | G4BeamTest-d0533d03d0c85f2f993f1793a6b9ea2af3391207.tar.gz G4BeamTest-d0533d03d0c85f2f993f1793a6b9ea2af3391207.zip | |
Tue 20 Nov 17:26:02 GMT 2018
Diffstat (limited to 'include/G4BeamTestUserStackingAction.h')
| -rw-r--r-- | include/G4BeamTestUserStackingAction.h | 28 |
1 files changed, 28 insertions, 0 deletions
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 + |
