#include <G4GlobalMagFieldMessenger.hh>
◆ G4GlobalMagFieldMessenger()
Definition at line 45 of file G4GlobalMagFieldMessenger.cc.
46{
48 fDirectory->
SetGuidance(
"Global uniform magnetic field UI commands");
49
51 fSetValueCmd->
SetGuidance(
"Set uniform magnetic field value.");
55
59 fSetVerboseCmd->
SetGuidance(
" 1: printing new field value");
61 fSetVerboseCmd->
SetRange(
"globalFieldVerbose>=0");
63
64
66
67
68 SetField(value, "G4GlobalMagFieldMessenger::G4GlobalMagFieldMessenger");
69}
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 |
( |
| ) |
|
|
override |
Definition at line 73 of file G4GlobalMagFieldMessenger.cc.
74{
75 delete fMagField;
76 delete fSetValueCmd;
77 delete fSetVerboseCmd;
78 delete fDirectory;
79}
◆ GetFieldValue()
◆ GetVerboseLevel()
G4int G4GlobalMagFieldMessenger::GetVerboseLevel |
( |
| ) |
const |
|
inline |
◆ SetFieldValue()
void G4GlobalMagFieldMessenger::SetFieldValue |
( |
const G4ThreeVector & | value | ) |
|
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 118 of file G4GlobalMagFieldMessenger.cc.
119{
120 if ( command == fSetValueCmd )
121 {
123 "G4GlobalMagFieldMessenger::SetNewValue");
124 }
125 else if ( command == fSetVerboseCmd )
126 {
128 }
129}
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: