46 fRndmCmd->
SetGuidance(
"Shoot randomly the incident particle.");
47 fRndmCmd->
SetGuidance(
" Choice : on, off(default)");
54 fSetXvertexCmd->
SetGuidance(
" Set x coord. of the primary vertex.");
60 fSetYvertexCmd->
SetGuidance(
" Set y coord. of the primary vertex.");
66 fSetZvertexCmd->
SetGuidance(
" Set z coord. of the primary vertex.");
78 delete fSetXvertexCmd;
79 delete fSetYvertexCmd;
80 delete fSetZvertexCmd;
88 if( command == fRndmCmd )
90 if( command == fSetXvertexCmd)
92 if( command == fSetYvertexCmd)
94 if( command == fSetZvertexCmd)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
Definition of the F04PrimaryGeneratorAction class.
void SetDefaultValue(G4double defVal)
static constexpr double mm
virtual void SetNewValue(G4UIcommand *, G4String)
Definition of the F04PrimaryGeneratorMessenger class.
static G4double GetNewDoubleValue(const char *paramString)
F04PrimaryGeneratorMessenger(F04PrimaryGeneratorAction *)
virtual ~F04PrimaryGeneratorMessenger()
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void SetZvertex(G4double z)
void SetDefaultValue(const char *defVal)
void SetDefaultUnit(const char *defUnit)
void SetYvertex(G4double y)
void SetXvertex(G4double x)
void SetCandidates(const char *candidateList)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetRndmFlag(G4String val)