File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -433,12 +433,13 @@ struct OnTheFlyTrackerPid {
433433 float mMagneticField = 0.0f;
434434 void init(o2::framework::InitContext& initContext)
435435 {
436- mGeoContainer.init(initContext);
437- mMagneticField = mGeoContainer.getFloatValue(0, "global", "magneticfield");
438-
439436 ccdb->setURL("http://alice-ccdb.cern.ch");
440437 ccdb->setTimestamp(-1);
441438
439+ mGeoContainer.setCcdbManager(ccdb.operator->());
440+ mGeoContainer.init(initContext);
441+ mMagneticField = mGeoContainer.getFloatValue(0, "global", "magneticfield");
442+
442443 if (static_cast<size_t>(maxBarrelLayers.value) > kTrackerRadii.size()) {
443444 LOG(fatal) << "Configured maxBarrelLayers (" << maxBarrelLayers.value
444445 << ") exceeds the size of kTrackerRadii (" << kTrackerRadii.size()
You can’t perform that action at this time.
0 commit comments