#include <G4NuclideTableMessenger.hh>
Definition at line 49 of file G4NuclideTableMessenger.hh.
◆ G4NuclideTableMessenger() [1/2]
G4NuclideTableMessenger::G4NuclideTableMessenger |
( |
G4NuclideTable * |
nuclideTable = nullptr | ) |
|
Definition at line 44 of file G4NuclideTableMessenger.cc.
45 : theNuclideTable(nuclideTable)
46{
48 thisDirectory->
SetGuidance(
"Nuclide table control commands.");
49
50
52 halflifeCmd->
SetGuidance(
"Set threshold of half-life.");
53 halflifeCmd->
SetGuidance(
"Unit of the time can be :");
57 halflifeCmd->
SetRange(
"halflife > 0.0");
60
61
63 meanlifeCmd->
SetGuidance(
"Set threshold of mean life.");
64 meanlifeCmd->
SetGuidance(
"Unit of the time can be :");
68 meanlifeCmd->
SetRange(
"meanlife > 0.0");
71
72
74 lToleranceCmd->
SetGuidance(
"Set tolerance in level searching.");
75 lToleranceCmd->
SetGuidance(
"Unit of the energy can be :");
76 lToleranceCmd->
SetGuidance(
" MeV, keV, eV (default)");
79 lToleranceCmd->
SetRange(
"lTolerance >0.0");
82}
void SetDefaultValue(G4double defVal)
void SetDefaultUnit(const char *defUnit)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetGuidance(const char *aGuidance)
void SetRange(const char *rs)
void AvailableForStates(G4ApplicationState s1)
◆ ~G4NuclideTableMessenger()
G4NuclideTableMessenger::~G4NuclideTableMessenger |
( |
| ) |
|
|
virtual |
Definition at line 84 of file G4NuclideTableMessenger.cc.
85{
86 delete thisDirectory;
87 delete halflifeCmd;
88 delete meanlifeCmd;
89 delete lToleranceCmd;
90}
◆ G4NuclideTableMessenger() [2/2]
◆ operator=()
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 92 of file G4NuclideTableMessenger.cc.
94{
95 if (command == halflifeCmd) {
96
98
99 } else if (command == meanlifeCmd) {
100
102
103 } else if (command == lToleranceCmd) {
104
106 }
107}
void SetMeanLifeThreshold(G4double)
void SetThresholdOfHalfLife(G4double)
void SetLevelTolerance(G4double x)
static G4double GetNewDoubleValue(const char *paramString)
The documentation for this class was generated from the following files: