78 SetField(value,
"G4GlobalMagFieldMessenger::G4GlobalMagFieldMessenger");
108 G4cout <<
"Magnetic field is inactive, fieldValue = (0,0,0)." <<
G4endl;
119 G4cout <<
"Magnetic field is active, fieldValue = ("
133 "G4GlobalMagFieldMessenger::SetNewValue");
145 SetField(value,
"G4GlobalMagFieldMessenger::SetFieldValue");
void SetField(const G4ThreeVector &value, const G4String &inFunction)
void SetVerboseLevel(G4int verboseLevel)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
CLHEP::Hep3Vector G4ThreeVector
G4UIcmdWithAnInteger * fSetVerboseCmd
G4bool SetDetectorField(G4Field *detectorField)
G4GlobalMagFieldMessenger(const G4ThreeVector &value=G4ThreeVector())
static G4int GetNewIntValue(const char *paramString)
void SetUnitCategory(const char *unitCategory)
static G4ThreeVector GetNew3VectorValue(const char *paramString)
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4UniformMagField * fMagField
void SetParameterName(const char *theNameX, const char *theNameY, const char *theNameZ, G4bool omittable, G4bool currentAsDefault=false)
virtual void SetNewValue(G4UIcommand *, G4String)
virtual ~G4GlobalMagFieldMessenger()
G4GLOB_DLL std::ostream G4cout
G4UIcmdWith3VectorAndUnit * fSetValueCmd
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
void SetFieldValue(const G4ThreeVector &value)
void AvailableForStates(G4ApplicationState s1)
G4ThreeVector GetFieldValue() const
static G4TransportationManager * GetTransportationManager()
G4FieldManager * GetFieldManager() const
G4UIdirectory * fDirectory
void CreateChordFinder(G4MagneticField *detectorMagField)