4 #ifndef B1PrimaryGeneratorAction_h
5 #define B1PrimaryGeneratorAction_h 1
7 #include "G4VUserPrimaryGeneratorAction.hh"
8 #include "G4ParticleGun.hh"
50 G4ParticleGun* fParticleGun;
virtual void GeneratePrimaries(G4Event *)
setup the gamma's location to get the width and height of the 'Envelope' phyisclogic volume...
B1PrimaryGeneratorAction()
set up our gamma beamIt is 6MeV gamma, moving toward (0,0,1) direction. gamma's location will be se...
const G4ParticleGun * GetParticleGun() const
virtual ~B1PrimaryGeneratorAction()
we must delete the fParticleGun when the B1PrimaryGeneratorAction obj is deleted. ...