Skip to content

Commit 9caae96

Browse files
jackal1-66sawenzel
authored andcommitted
Fix wrong parameters injected in SimFieldUtils
Third patameter of createFieldMap is the convention and the 4th is the uniformity. This was fixed everywhere, but here.
1 parent 31f5f10 commit 9caae96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Detectors/Base/src/SimFieldUtils.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ FairField* const SimFieldUtils::createMagField()
3333
auto& ccdb = o2::ccdb::BasicCCDBManager::instance();
3434
auto grpmagfield = ccdb.get<o2::parameters::GRPMagField>("GLO/Config/GRPMagField");
3535
// TODO: clarify if we need to pass other params such as beam energy/type etc.
36-
field = o2::field::MagneticField::createFieldMap(grpmagfield->getL3Current(), grpmagfield->getDipoleCurrent(), grpmagfield->getFieldUniformity());
36+
field = o2::field::MagneticField::createFieldMap(grpmagfield->getL3Current(), grpmagfield->getDipoleCurrent(), o2::field::MagneticField::kConvLHC, grpmagfield->getFieldUniformity());
3737
}
3838
// b) using the given values on the command line
3939
else {

0 commit comments

Comments
 (0)