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)
static constexpr double mm
void SetRndmFlag(G4String val)
Definition of the F01PrimaryGeneratorAction class.
static G4double GetNewDoubleValue(const char *paramString)
void SetXVertex(G4double x)
Definition of the F01PrimaryGeneratorMessenger class.
void SetGuidance(const char *aGuidance)
virtual ~F01PrimaryGeneratorMessenger()
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)
void SetYVertex(G4double y)
F01PrimaryGeneratorMessenger(F01PrimaryGeneratorAction *)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)