diff options
| author | shivesh <s.p.mandalia@qmul.ac.uk> | 2019-08-22 01:37:19 +0100 |
|---|---|---|
| committer | shivesh <s.p.mandalia@qmul.ac.uk> | 2019-08-22 01:37:19 +0100 |
| commit | e3079fb2367c26f767be41e6c313d960c517bbcd (patch) | |
| tree | 509f081184a4179894ab8370ea06425d46729e9a /include/#G4BeamTestEventAction.h# | |
| parent | ba4dd395d1f163983f7102ff9a6c513cfe17912e (diff) | |
| download | G4BeamTest-e3079fb2367c26f767be41e6c313d960c517bbcd.tar.gz G4BeamTest-e3079fb2367c26f767be41e6c313d960c517bbcd.zip | |
Thu 22 Aug 01:37:19 BST 2019
Diffstat (limited to 'include/#G4BeamTestEventAction.h#')
| -rw-r--r-- | include/#G4BeamTestEventAction.h# | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/include/#G4BeamTestEventAction.h# b/include/#G4BeamTestEventAction.h# deleted file mode 100644 index 2c8b933..0000000 --- a/include/#G4BeamTestEventAction.h# +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef G4BeamTestEventAction_h -#define G4BeamTestEventAction_h 1 - -#include "G4UserEventAction.hh" -#include "globals.hh" - -/// Event action class -/// - -class G4BeamTestEventAction : public G4UserEventAction -{ - public: - G4BeamTestEventAction(); - virtual ~G4BeamTestEventAction(); - - virtual void BeginOfEventAction(const G4Event* ); - virtual void EndOfEventAction(const G4Event* ); - - void AddEdep(G4double edep) { fEdep += edep; } - void AddTime(G4double time) { ftime += ->GetTime()} - void AddPath(G4double path) { fIntegralZ +=path; } - G4double GetPath(){return fIntegralZ;} - void SetXY (G4double xhit, G4double yhit) {fXIn=xhit;fYIn=yhit;} - G4double GetX()const {return fXIn;} - - - G4double GetY()const {return fYIn;} - private: - G4double fEdep; - G4double fIntegralZ; - G4double fXIn; - G4double ftime; - G4int SiCollID; - G4int hcID; - - G4double fYIn; -}; - -//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... - -#endif - - - |
