You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configurable<int> cfgMaterialCorrection{"cfgMaterialCorrection", static_cast<int>(o2::base::Propagator::MatCorrType::USEMatCorrNONE), "Type of material correction"};
211
211
212
212
// CCDB options
213
-
Configurable<double> d_bz_input{"d_bz_input", -999, "bz field, -999 is automatic"};
213
+
Configurable<double> d_bz_input{"d_bz_input", -999., "bz field, -999 is automatic"};
214
214
Configurable<std::string> ccdburl{"ccdburl", "http://alice-ccdb.cern.ch", "url of the ccdb repository"};
215
215
Configurable<std::string> grpPath{"grpPath", "GLO/GRP/GRP", "Path of the grp file"};
216
216
Configurable<std::string> grpmagPath{"grpmagPath", "GLO/Config/GRPMagField", "CCDB path of the GRPMagField object"};
// Fetch magnetic field from ccdb for current collision
376
378
d_bz = grpo->getNominalL3Field();
377
379
LOG(info) << "Retrieved GRP for timestamp " << run3grp_timestamp << " with magnetic field of " << d_bz << " kZG";
@@ -384,7 +386,7 @@ struct lnnRecoTask {
384
386
LOG(fatal) << "Got nullptr from CCDB for path " << grpmagPath << " of object GRPMagField and " << grpPath << " of object GRPObject for timestamp " << run3grp_timestamp;
385
387
}
386
388
o2::base::Propagator::initFieldFromGRP(grpmag);
387
-
if (d_bz_input < -990) {
389
+
if (d_bz_input < kBzAutoThreshold) {
388
390
// Fetch magnetic field from ccdb for current collision
0 commit comments