46 Fatal(
"~TVirtualMagField",
"Not allowed to delete a field once set global. \
47 \n To delete the field call: TGeoGlobalMagField::Instance()->SetField(NULL)");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
static TGeoGlobalMagField * GetInstance()
Static getter that does not create the object.
virtual void Fatal(const char *method, const char *msgfmt,...) const
Issue fatal error message.
Abstract class for magnetic field.
~TVirtualMagField() override
Destructor. Unregisters the field.