55 fRndmCmd->
SetGuidance(
"Shoot randomly the incident particle.");
56 fRndmCmd->
SetGuidance(
" Choice : on, off(default)");
63 fSetXVertexCmd->
SetGuidance(
" Set x coord. of the primary vertex.");
69 fSetYVertexCmd->
SetGuidance(
" Set y coord. of the primary vertex.");
75 fSetZVertexCmd->
SetGuidance(
" Set z coord. of the primary vertex.");
87 delete fSetXVertexCmd;
88 delete fSetYVertexCmd;
89 delete fSetZVertexCmd;
97 if( command == fRndmCmd )
99 if( command == fSetXVertexCmd )
101 if( command == fSetYVertexCmd )
103 if( command == fSetZVertexCmd )
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4double defVal)
Definition of the F02PrimaryGeneratorAction class.
void SetRndmFlag(G4String val)
void SetXVertex(G4double x)
Definition of the F02PrimaryGeneratorMessenger class.
static G4double GetNewDoubleValue(const char *paramString)
virtual ~F02PrimaryGeneratorMessenger()
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
virtual void SetNewValue(G4UIcommand *, G4String)
void SetDefaultValue(const char *defVal)
void SetDefaultUnit(const char *defUnit)
void SetCandidates(const char *candidateList)
void SetZVertex(G4double z)
F02PrimaryGeneratorMessenger(F02PrimaryGeneratorAction *)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetYVertex(G4double y)