45G4ProductionCutsTableMessenger::
47 : theCutsTable(pTable)
51 theDirectory->
SetGuidance(
"Commands for G4VUserPhysicsList.");
55 verboseCmd->
SetGuidance(
"Set the Verbose level of G4ProductionCutsTable.");
57 verboseCmd->
SetGuidance(
" 1 : Display warning messages");
62 verboseCmd->
SetRange(
"level >=0 && level <=3");
66 setLowEdgeCmd->
SetGuidance(
"Set low edge energy value ");
69 setLowEdgeCmd->
SetRange(
"edge >0.0");
75 setHighEdgeCmd->
SetGuidance(
"Set high edge energy value ");
78 setHighEdgeCmd->
SetRange(
"edge >0.0");
84 setMaxEnergyCutCmd->
SetGuidance(
"Set maximum of cut energy value ");
87 setMaxEnergyCutCmd->
SetRange(
"cut >0.0");
93 dumpCmd->
SetGuidance(
"Dump couples in G4ProductionCutsTable. ");
100 delete setMaxEnergyCutCmd;
101 delete setHighEdgeCmd;
102 delete setLowEdgeCmd;
111 if( command==verboseCmd )
115 else if( command==dumpCmd )
119 else if( command==setLowEdgeCmd )
125 else if( command==setHighEdgeCmd )
131 else if( command==setMaxEnergyCutCmd )
143 if( command==verboseCmd )
147 else if( command==setLowEdgeCmd )
152 else if( command==setHighEdgeCmd )
157 else if( command==setMaxEnergyCutCmd )
virtual void SetNewValue(G4UIcommand *command, G4String newValues)
virtual G4String GetCurrentValue(G4UIcommand *command)
virtual ~G4ProductionCutsTableMessenger()
G4ProductionCutsTable * theCutsTable
G4double GetLowEdgeEnergy() const
void SetMaxEnergyCut(G4double value)
G4double GetMaxEnergyCut()
void SetVerboseLevel(G4int value)
G4int GetVerboseLevel() const
G4double GetHighEdgeEnergy() const
void SetEnergyRange(G4double lowedge, G4double highedge)
void SetDefaultValue(G4double defVal)
void SetDefaultUnit(const char *defUnit)
static G4double GetNewDoubleValue(const char *paramString)
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)
void SetDefaultValue(G4int defVal)
static G4String ConvertToString(G4bool boolVal)
void SetGuidance(const char *aGuidance)
void SetRange(const char *rs)
void AvailableForStates(G4ApplicationState s1)