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