23 if (getenv(
"ALICE3_SIM_FIELD")) {
29 const auto fieldmode = confref.getConfigData().mFieldMode;
32 LOG(info) <<
"Fetching magnetic field from CCDB";
A simple magnetic field class for ALICE3 R&D.
Header of the General Run Parameters object for B field values.
Definition of the MagF class.
Methods to create simulation mag field.
static FairField *const createMagField()
static BasicCCDBManager & instance()
static SimConfig & Instance()
static MagneticField * createFieldMap(float l3Current=-30000., float diCurrent=-6000., Int_t convention=0, Bool_t uniform=kFALSE, float beamenergy=7000, const Char_t *btype="pp", const std::string path=std::string(gSystem->Getenv("VMCWORKDIR"))+std::string("/Common/maps/mfchebKGI_sym.root"))
static MagneticField * createNominalField(int fld, bool uniform=false)
create field from rounded value, i.e. +-5 or +-2 kGauss
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"