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