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 SetGuidance(const char *aGuidance)
CLHEP::Hep3Vector G4ThreeVector
virtual void SetNewValue(G4UIcommand *, G4String)
void SetVerboseLevel(G4int verboseLevel)
void SetFieldValue(const G4ThreeVector &value)
void SetRange(const char *rs)
G4UIcmdWithAnInteger * fSetVerboseCmd
void SetUnitCategory(const char *unitCategory)
G4bool SetDetectorField(G4Field *detectorField, int failMode=0)
void CreateChordFinder(G4MagneticField *detectorMagField)
G4UIcmdWith3VectorAndUnit * fSetValueCmd
virtual ~G4GlobalMagFieldMessenger()
G4ThreeVector GetFieldValue() const
G4GlobalMagFieldMessenger(const G4ThreeVector &value=G4ThreeVector())
G4FieldManager * GetFieldManager() const
const XML_Char int const XML_Char * value
void SetField(const G4ThreeVector &value, const G4String &inFunction)
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
static G4TransportationManager * GetTransportationManager()
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
G4GLOB_DLL std::ostream G4cout
G4UIdirectory * fDirectory
G4UniformMagField * fMagField
static G4ThreeVector GetNew3VectorValue(const char *paramString)
void SetParameterName(const char *theNameX, const char *theNameY, const char *theNameZ, G4bool omittable, G4bool currentAsDefault=false)
void AvailableForStates(G4ApplicationState s1)