#include <G4NistMessenger.hh>
Definition at line 79 of file G4NistMessenger.hh.
◆ G4NistMessenger()
Definition at line 54 of file G4NistMessenger.cc.
55 : manager(man)
56{
59
62
64 nistDir->
SetGuidance(
"Commands for the nist dataBase");
65
67 prtElmCmd->
SetGuidance(
"print element(s) in dataBase.");
72
74 przElmCmd->
SetGuidance(
"print element Z in dataBase.");
78 przElmCmd->
SetRange(
"0<=Z && Z<108");
79
81 lisMatCmd->
SetGuidance(
"Materials in Geant4 dataBase.");
82 lisMatCmd->
SetGuidance(
"simple - simple NIST materials.");
83 lisMatCmd->
SetGuidance(
"compound - compound NIST materials.");
85 lisMatCmd->
SetGuidance(
"bio - biomedical materials.");
86 lisMatCmd->
SetGuidance(
"all - list of all Geant4 materials.");
88
90
93
95 g4ElmCmd->
SetGuidance(
"print Element from G4ElementTable.");
99
101 g4MatCmd->
SetGuidance(
"print Material from G4MaterialTable.");
105
107 g4DensCmd->
SetGuidance(
"print Material from G4DensityEffectData.");
111
113 densCmd->
SetGuidance(
"enable accurate computation of density effect.");
117
119 adensCmd->
SetGuidance(
"disable accurate computation of density effect.");
123}
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(const char *defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4int defVal)
void SetGuidance(const char *aGuidance)
void SetRange(const char *rs)
◆ ~G4NistMessenger()
G4NistMessenger::~G4NistMessenger |
( |
| ) |
|
|
virtual |
Definition at line 127 of file G4NistMessenger.cc.
128{
129 delete verCmd;
130 delete prtElmCmd;
131 delete przElmCmd;
132 delete lisMatCmd;
133 delete nistDir;
134
135 delete g4ElmCmd;
136 delete g4MatCmd;
137 delete g4DensCmd;
138 delete densCmd;
139 delete adensCmd;
140 delete g4Dir;
141 delete matDir;
142}
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 146 of file G4NistMessenger.cc.
147{
148
149 if (command == verCmd)
151 else if (command == prtElmCmd)
153 else if (command == przElmCmd) {
156 }
157 else if (command == lisMatCmd)
159 else if (command == g4ElmCmd)
161 else if (command == g4MatCmd)
163 else if (command == g4DensCmd)
165 else if (command == densCmd)
167 else if (command == adensCmd)
169}
void PrintData(const G4String &matName) const
static G4DensityEffectData * GetDensityEffectData()
void PrintElement(G4int Z) const
void SetDensityEffectCalculatorFlag(const G4String &, G4bool)
void ListMaterials(const G4String &) const
void PrintG4Material(const G4String &) const
void PrintG4Element(const G4String &) const
static G4int GetNewIntValue(const char *paramString)
The documentation for this class was generated from the following files: