const G4ThreeVector & GetOrigDirection(void) const
void SetOrigDirection(const G4ThreeVector &direction, G4bool fromMessenger=true)
void SetBeamParticle(G4ParticleDefinition *particleDefinition, G4bool fromMessenger=true)
CexmcParticleGunMessenger * messenger
G4double GetOrigMomentumAmp(void) const
void SetOrigMomentumAmp(G4double momentumAmp, G4bool fromMessenger=true)
CexmcPhysicsManager * physicsManager
G4double particle_momentum
void SetParticleDefinition(G4ParticleDefinition *aParticleDefinition)
void SetOrigPosition(const G4ThreeVector &position, G4bool fromMessenger=true)
void PrepareForNewEvent(void)
const G4ThreeVector & GetOrigPosition(void) const
CexmcParticleGun(CexmcPhysicsManager *physicsManager, G4int nmbOfParticles=1)