diff options
| author | shivesh <s.p.mandalia@qmul.ac.uk> | 2018-08-25 17:57:22 +0100 |
|---|---|---|
| committer | shivesh <s.p.mandalia@qmul.ac.uk> | 2018-08-25 17:57:22 +0100 |
| commit | 738c2f88939a041fbc8b6b9cfa3c547b86bc6e42 (patch) | |
| tree | 478718941a025703020c78b146a9b07ff2dabeff /include/G4BeamTestPrimaryGeneratorAction.h | |
| parent | 92f4fb026c51d68cda6ad25159af01d60ad584e0 (diff) | |
| download | G4BeamTest-738c2f88939a041fbc8b6b9cfa3c547b86bc6e42.tar.gz G4BeamTest-738c2f88939a041fbc8b6b9cfa3c547b86bc6e42.zip | |
Add Cerenkov Processes
Diffstat (limited to 'include/G4BeamTestPrimaryGeneratorAction.h')
| -rw-r--r-- | include/G4BeamTestPrimaryGeneratorAction.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/include/G4BeamTestPrimaryGeneratorAction.h b/include/G4BeamTestPrimaryGeneratorAction.h new file mode 100644 index 0000000..83fbacc --- /dev/null +++ b/include/G4BeamTestPrimaryGeneratorAction.h @@ -0,0 +1,33 @@ +#ifndef G4BeamTestPrimaryGeneratorAction_h +#define G4BeamTestPrimaryGeneratorAction_h 1 + +#include "G4VUserPrimaryGeneratorAction.hh" +#include "globals.hh" + +class G4GeneralParticleSource; +class G4Event; +class G4BeamTestPrimaryGeneratorMessenger; + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +class G4BeamTestPrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction +{ + public: + G4BeamTestPrimaryGeneratorAction(); + virtual ~G4BeamTestPrimaryGeneratorAction(); + + public: + virtual void GeneratePrimaries(G4Event*); + + void SetOptPhotonPolar(); + void SetOptPhotonPolar(G4double); + + private: + G4GeneralParticleSource* fParticleGun; + G4BeamTestPrimaryGeneratorMessenger* fGunMessenger; +}; + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +#endif /*G4BeamTestPrimaryGeneratorAction_h*/ + |
