41 fMessenger(nullptr), fBy(1.0*
tesla)
74 "Set field strength.");
static constexpr double tesla
void SetField(G4double val)
G4GenericMessenger * fMessenger
This class is generic messenger.
Command & DeclareMethodWithUnit(const G4String &name, const G4String &defaultUnit, const G4AnyMethod &fun, const G4String &doc="")
Command & SetDefaultValue(const G4String &)
virtual void GetFieldValue(const G4double point[4], double *bField) const
virtual ~B5MagneticField()
Definition of the B5MagneticField class.
Command & SetParameterName(const G4String &, G4bool, G4bool=false)