#include <G4ProductionCutsTableMessenger.hh>
◆ G4ProductionCutsTableMessenger()
Definition at line 51 of file G4ProductionCutsTableMessenger.cc.
53{
54
56 theDirectory->
SetGuidance(
"Commands for G4VUserPhysicsList.");
57
58
60 verboseCmd->
SetGuidance(
"Set the Verbose level of G4ProductionCutsTable.");
62 verboseCmd->
SetGuidance(
" 1 : Display warning messages");
67 verboseCmd->
SetRange(
"level >=0 && level <=3");
68
69
71 setLowEdgeCmd->
SetGuidance(
"Set low edge energy value ");
74 setLowEdgeCmd->
SetRange(
"edge >0.0");
77
78
80 setHighEdgeCmd->
SetGuidance(
"Set high edge energy value ");
83 setHighEdgeCmd->
SetRange(
"edge >0.0");
86
87
89 setMaxEnergyCutCmd->
SetGuidance(
"Set maximum of cut energy value ");
92 setMaxEnergyCutCmd->
SetRange(
"cut >0.0");
95
96
98 dumpCmd->
SetGuidance(
"Dump cuplues in ProductuinCutsTable. ");
99
100}
G4ProductionCutsTable * theCutsTable
void SetDefaultValue(G4double defVal)
void SetDefaultUnit(const char *defUnit)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4int defVal)
void SetGuidance(const char *aGuidance)
void SetRange(const char *rs)
void AvailableForStates(G4ApplicationState s1)
◆ ~G4ProductionCutsTableMessenger()
G4ProductionCutsTableMessenger::~G4ProductionCutsTableMessenger |
( |
| ) |
|
|
virtual |
Definition at line 102 of file G4ProductionCutsTableMessenger.cc.
103{
104 delete dumpCmd;
105 delete setMaxEnergyCutCmd;
106 delete setHighEdgeCmd;
107 delete setLowEdgeCmd;
108 delete verboseCmd;
109 delete theDirectory;
110}
◆ GetCurrentValue()
Reimplemented from G4UImessenger.
Definition at line 138 of file G4ProductionCutsTableMessenger.cc.
139{
141
142 if( command==verboseCmd ){
144
145 } else if( command==setLowEdgeCmd ){
148
149 } else if( command==setHighEdgeCmd ){
152
153 } else if( command==setMaxEnergyCutCmd ){
156 }
157
158
159 return cv;
160
161}
G4double GetLowEdgeEnergy() const
G4double GetMaxEnergyCut()
G4int GetVerboseLevel() const
G4double GetHighEdgeEnergy() const
static G4String ConvertToString(G4bool boolVal)
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 112 of file G4ProductionCutsTableMessenger.cc.
114{
115 if( command==verboseCmd ) {
117
118 } else if( command==dumpCmd ){
120
121 } else if( command==setLowEdgeCmd ){
125
126 } else if( command==setHighEdgeCmd ){
130
131 } else if( command==setMaxEnergyCutCmd ){
134
135 }
136}
void SetMaxEnergyCut(G4double value)
void SetVerboseLevel(G4int value)
void SetEnergyRange(G4double lowedge, G4double highedge)
static G4double GetNewDoubleValue(const char *paramString)
static G4int GetNewIntValue(const char *paramString)
◆ theCutsTable
The documentation for this class was generated from the following files: