#include <G4ProductionCutsTableMessenger.hh>
◆ G4ProductionCutsTableMessenger() [1/2]
Definition at line 45 of file G4ProductionCutsTableMessenger.cc.
48{
49
51 theDirectory->
SetGuidance(
"Commands for G4VUserPhysicsList.");
52
53
55 verboseCmd->
SetGuidance(
"Set the Verbose level of G4ProductionCutsTable.");
57 verboseCmd->
SetGuidance(
" 1 : Display warning messages");
62 verboseCmd->
SetRange(
"level >=0 && level <=3");
63
64
66 setLowEdgeCmd->
SetGuidance(
"Set low edge energy value ");
69 setLowEdgeCmd->
SetRange(
"edge >0.0");
72
73
75 setHighEdgeCmd->
SetGuidance(
"Set high edge energy value ");
78 setHighEdgeCmd->
SetRange(
"edge >0.0");
81
82
84 setMaxEnergyCutCmd->
SetGuidance(
"Set maximum of cut energy value ");
87 setMaxEnergyCutCmd->
SetRange(
"cut >0.0");
90
91
93 dumpCmd->
SetGuidance(
"Dump couples in G4ProductionCutsTable. ");
94}
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 97 of file G4ProductionCutsTableMessenger.cc.
98{
99 delete dumpCmd;
100 delete setMaxEnergyCutCmd;
101 delete setHighEdgeCmd;
102 delete setLowEdgeCmd;
103 delete verboseCmd;
104 delete theDirectory;
105}
◆ G4ProductionCutsTableMessenger() [2/2]
◆ GetCurrentValue()
Reimplemented from G4UImessenger.
Definition at line 139 of file G4ProductionCutsTableMessenger.cc.
140{
142
143 if( command==verboseCmd )
144 {
146 }
147 else if( command==setLowEdgeCmd )
148 {
151 }
152 else if( command==setHighEdgeCmd )
153 {
156 }
157 else if( command==setMaxEnergyCutCmd )
158 {
161 }
162
163 return cv;
164}
G4double GetLowEdgeEnergy() const
G4double GetMaxEnergyCut()
G4int GetVerboseLevel() const
G4double GetHighEdgeEnergy() const
static G4String ConvertToString(G4bool boolVal)
◆ operator=()
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 108 of file G4ProductionCutsTableMessenger.cc.
110{
111 if( command==verboseCmd )
112 {
114 }
115 else if( command==dumpCmd )
116 {
118 }
119 else if( command==setLowEdgeCmd )
120 {
124 }
125 else if( command==setHighEdgeCmd )
126 {
130 }
131 else if( command==setMaxEnergyCutCmd )
132 {
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: