#include <G4GlobalMagFieldMessenger.hh>
◆ G4GlobalMagFieldMessenger()
Definition at line 45 of file G4GlobalMagFieldMessenger.cc.
47{
49 fDirectory->
SetGuidance(
"Global uniform magnetic field UI commands");
50
52 fSetValueCmd->
SetGuidance(
"Set uniform magnetic field value.");
56
60 fSetVerboseCmd->
SetGuidance(
" 1: printing new field value");
62 fSetVerboseCmd->
SetRange(
"globalFieldVerbose>=0");
64
65
67
68
69 SetField(value, "G4GlobalMagFieldMessenger::G4GlobalMagFieldMessenger");
70}
void SetParameterName(const char *theNameX, const char *theNameY, const char *theNameZ, G4bool omittable, G4bool currentAsDefault=false)
void SetUnitCategory(const char *unitCategory)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetGuidance(const char *aGuidance)
void SetRange(const char *rs)
void AvailableForStates(G4ApplicationState s1)
◆ ~G4GlobalMagFieldMessenger()
G4GlobalMagFieldMessenger::~G4GlobalMagFieldMessenger |
( |
| ) |
|
|
virtual |
Definition at line 74 of file G4GlobalMagFieldMessenger.cc.
75{
76 delete fMagField;
77 delete fSetValueCmd;
78 delete fSetVerboseCmd;
79 delete fDirectory;
80}
◆ GetFieldValue()
◆ GetVerboseLevel()
G4int G4GlobalMagFieldMessenger::GetVerboseLevel |
( |
| ) |
const |
|
inline |
◆ SetFieldValue()
void G4GlobalMagFieldMessenger::SetFieldValue |
( |
const G4ThreeVector & |
value | ) |
|
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 119 of file G4GlobalMagFieldMessenger.cc.
120{
121 if ( command == fSetValueCmd )
122 {
124 "G4GlobalMagFieldMessenger::SetNewValue");
125 }
126 else if ( command == fSetVerboseCmd )
127 {
129 }
130}
void SetVerboseLevel(G4int verboseLevel)
static G4ThreeVector GetNew3VectorValue(const char *paramString)
static G4int GetNewIntValue(const char *paramString)
◆ SetVerboseLevel()
void G4GlobalMagFieldMessenger::SetVerboseLevel |
( |
G4int |
verboseLevel | ) |
|
|
inline |
The documentation for this class was generated from the following files: