59 particleGun( particleGun ), setParticle( NULL ), setOrigPosition( NULL ),
60 setOrigDirection( NULL ), setOrigMomentumAmp( NULL )
83 "DirectionZ",
false );
85 "DirectionX >= -1.0 && DirectionX <= 1.0 && "
86 "DirectionY >= -1.0 && DirectionY <= 1.0 && "
87 "DirectionZ >= -1.0 && DirectionZ <= 1.0" );
120 if ( ! particleDefinition )
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
G4UIcmdWithADoubleAndUnit * setOrigMomentumAmp
void SetDefaultUnit(const char *defUnit)
void SetParameterName(const char *theNameX, const char *theNameY, const char *theNameZ, G4bool omittable, G4bool currentAsDefault=false)
G4UIcmdWith3Vector * setOrigDirection
static G4ThreeVector GetNew3VectorValue(const char *paramString)
void SetNewValue(G4UIcommand *cmd, G4String value)
static G4double GetNewDoubleValue(const char *paramString)
void SetParameterName(const char *theNameX, const char *theNameY, const char *theNameZ, G4bool omittable, G4bool currentAsDefault=false)
void SetOrigMomentumAmp(G4double momentumAmp, G4bool fromMessenger=true)
CexmcParticleGun * particleGun
static G4ThreeVector GetNew3VectorValue(const char *paramString)
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
G4UIcmdWithAString * setParticle
void BeamParticleChangeHook(void)
void AvailableForStates(G4ApplicationState s1)
static G4RunManager * GetRunManager()
void SetOrigPosition(const G4ThreeVector &position, G4bool fromMessenger=true)
static G4ParticleTable * GetParticleTable()
void SetDefaultValue(const char *defVal)
void SetDefaultUnit(const char *defUnit)
static G4String gunDirName
CexmcParticleGunMessenger(CexmcParticleGun *particleGun)
G4UIcmdWith3VectorAndUnit * setOrigPosition
void SetBeamParticle(G4ParticleDefinition *particleDefinition, G4bool fromMessenger=true)
void SetCandidates(const char *candidateList)
void SetUnitCandidates(const char *candidateList)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
~CexmcParticleGunMessenger()
void SetOrigDirection(const G4ThreeVector &direction, G4bool fromMessenger=true)
void SetUnitCandidates(const char *candidateList)