52 rndmCmd->
SetGuidance(
"Choose randomly energy and direction of the incident particle.");
60 scanCmd->
SetGuidance(
"Scan eta and phi ranges with single incident particle");
62 scanCmd->
SetGuidance(
" Ranges : etamin/max, phimin/max are set by other commands ");
69 minEnergyCmd->
SetGuidance(
"Set minimum Energy for the incident particle.");
76 maxEnergyCmd->
SetGuidance(
"Set maximum Energy for the incident particle.");
83 minPhiCmd->
SetGuidance(
"Set minimum Phi angle for the incident particle direction");
84 minPhiCmd->
SetGuidance(
" Choice : from 0 to 2*pi ");
91 maxPhiCmd->
SetGuidance(
"Set maximum Phi angle for the incident particle direction");
92 maxPhiCmd->
SetGuidance(
" Choice : from 0 to 2*pi ");
99 stepsPhiCmd->
SetGuidance(
"number of steps along Phi for scan ");
105 minEtaCmd->
SetGuidance(
"Set minimum Eta angle for the incident particle direction");
106 minEtaCmd->
SetGuidance(
" Choice : from 0 to infinity");
112 maxEtaCmd->
SetGuidance(
"Set maximum Eta angle for the incident particle direction");
113 maxEtaCmd->
SetGuidance(
" Choice : from 0 to infinity");
119 stepsEtaCmd->
SetGuidance(
"number of steps along Eta for scan ");
163 if (command == verboseCmd)
165 else if (command == rndmCmd)
167 else if (command == scanCmd)
169 else if (command == minEnergyCmd)
171 else if (command == maxEnergyCmd)
173 else if (command == minPhiCmd)
175 else if (command == maxPhiCmd)
177 else if (command == stepsPhiCmd)
179 else if (command == minEtaCmd)
181 else if (command == maxEtaCmd)
183 else if (command == stepsEtaCmd)
185 else if (command == runNoCmd)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4double defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetVerboseLevel(G4int val)
static G4int GetNewIntValue(const char *paramString)
void SetNewValue(G4UIcommand *command, G4String newValues)
void SetMinimumEta(G4double p)
CCalPrimaryGeneratorMessenger(CCalPrimaryGeneratorAction *myGun)
void SetMaximumEta(G4double p)
static G4double GetNewDoubleValue(const char *paramString)
void SetStepsPhi(G4int val)
void SetStepsEta(G4int val)
void SetScan(G4String val)
void SetRandom(G4String val)
static G4double GetNewDoubleValue(const char *paramString)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
~CCalPrimaryGeneratorMessenger()
void SetMinimumEnergy(G4double p)
void SetMinimumPhi(G4double p)
void SetDefaultValue(const char *defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultUnit(const char *defUnit)
void SetDefaultValue(G4double defVal)
void SetCandidates(const char *candidateList)
static constexpr double pi
void SetMaximumEnergy(G4double p)
void SetDefaultValue(G4int defVal)
void SetMaximumPhi(G4double p)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)