238 std::istringstream str (newValue) ;
239 str >> particleName >> cut >> unit ;
246 std::istringstream is(newValue);
250 is >> regName >> cVal >> uniName;
252 ed <<
"illegal arguments : " << newValue;
272 ed <<
" Particle is not found : " << newValue;
278 ed <<
" Particle is not initialized : " << newValue;
288 ed <<
" Particle is not found : " << newValue;
299 if ((newValue ==
"OFF") || (newValue ==
"off") ){
317 G4bool flag = (temp ==
"true" || temp==
"TRUE");
void SetCutsForRegion(G4double aCut, const G4String &rname)
static G4double ValueOf(const char *unitName)
G4UIcmdWithAString * getCutForAGivenParticleCmd
static G4String CategoryOf(const char *unitName)
void SetGuidance(const char *aGuidance)
void CommandFailed(G4int errCode, G4ExceptionDescription &ed)
std::ostringstream G4ExceptionDescription
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetPhysicsTableRetrieved(const G4String &directory="")
G4UIcmdWithoutParameter * dumpListCmd
static G4ParticleTable * GetParticleTable()
void AddProcessManager(G4ParticleDefinition *newParticle, G4ProcessManager *newManager=0)
G4double GetDefaultCutValue() const
static constexpr double mm
void SetDefaultValue(G4int defVal)
virtual void SetNewValue(G4UIcommand *command, G4String newValues)
const G4String & GetParticleName() const
void SetRange(const char *rs)
G4bool IsStoredInAscii() const
void SetDefaultValue(const char *defVal)
const G4String & GetPhysicsTableDirectory() const
G4bool IsPhysicsTableRetrieved() const
G4UIcmdWithAString * retrieveCmd
void SetParameterRange(const char *theRange)
void SetParameter(G4UIparameter *const newParameter)
void SetDefaultValue(const char *theDefaultValue)
static G4double GetNewDoubleValue(const char *paramString)
G4int GetVerboseLevel() const
G4UIcmdWithAnInteger * asciiCmd
void ResetPhysicsTableRetrieved()
G4VUserPhysicsList * thePhysicsList
void PreparePhysicsTable(G4ParticleDefinition *)
G4UIcmdWithAnInteger * dumpOrdParamCmd
G4UIcmdWithAString * dumpCutValuesCmd
G4UIcommand * setCutForAGivenParticleCmd
virtual G4String GetCurrentValue(G4UIcommand *command)
void SetCandidates(const char *candidateList)
void SetDefaultCutValue(G4double newCutValue)
G4UIcmdWithAnInteger * verboseCmd
static G4String ConvertToString(G4bool boolVal)
void DumpOrdingParameterTable(G4int subType=-1) const
static G4PhysicsListHelper * GetPhysicsListHelper()
G4UIcmdWithAString * storeCmd
void SetApplyCuts(G4bool value, const G4String &name)
G4ProcessManager * GetProcessManager() const
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
G4UIcmdWithADoubleAndUnit * setCutCmd
G4UIcommand * applyCutsCmd
void ResetStoredInAscii()
G4bool StorePhysicsTable(const G4String &directory=".")
G4UserPhysicsListMessenger()
G4GLOB_DLL std::ostream G4cout
G4double GetCutValue(const G4String &pname) const
G4UIcmdWithAString * addProcManCmd
void SetCutValue(G4double aCut, const G4String &pname)
G4UIdirectory * theDirectory
static G4String UnitsList(const char *unitCategory)
void SetVerboseLevel(G4int value)
void DumpCutValuesTable(G4int flag=1)
virtual ~G4UserPhysicsListMessenger()
void SetParameterCandidates(const char *theString)
void SetDefaultValue(G4double defVal)
void AvailableForStates(G4ApplicationState s1)
G4UIcmdWithAString * buildPTCmd
void SetToBeBroadcasted(G4bool val)
void SetDefaultUnit(const char *defUnit)