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 SetGuidance(const char *aGuidance)
static G4RunManager * GetRunManager()
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4ParticleTable * GetParticleTable()
~CexmcParticleGunMessenger()
void SetParameterName(const char *theNameX, const char *theNameY, const char *theNameZ, G4bool omittable, G4bool currentAsDefault=false)
void SetRange(const char *rs)
void SetDefaultValue(const char *defVal)
void SetOrigDirection(const G4ThreeVector &direction, G4bool fromMessenger=true)
void SetBeamParticle(G4ParticleDefinition *particleDefinition, G4bool fromMessenger=true)
G4UIcmdWith3Vector * setOrigDirection
G4UIcmdWith3VectorAndUnit * setOrigPosition
static G4double GetNewDoubleValue(const char *paramString)
void SetOrigMomentumAmp(G4double momentumAmp, G4bool fromMessenger=true)
G4UIcmdWithAString * setParticle
void SetNewValue(G4UIcommand *cmd, G4String value)
const XML_Char int const XML_Char * value
void SetOrigPosition(const G4ThreeVector &position, G4bool fromMessenger=true)
CexmcParticleGun * particleGun
void SetCandidates(const char *candidateList)
void SetUnitCandidates(const char *candidateList)
static G4String gunDirName
CexmcParticleGunMessenger(CexmcParticleGun *particleGun)
static G4ThreeVector GetNew3VectorValue(const char *paramString)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultUnit(const char *defUnit)
static G4ThreeVector GetNew3VectorValue(const char *paramString)
G4UIcmdWithADoubleAndUnit * setOrigMomentumAmp
void BeamParticleChangeHook(void)
void SetParameterName(const char *theNameX, const char *theNameY, const char *theNameZ, G4bool omittable, G4bool currentAsDefault=false)
void AvailableForStates(G4ApplicationState s1)
void SetUnitCandidates(const char *candidateList)
void SetDefaultUnit(const char *defUnit)