Skip to content

Commit 956323b

Browse files
committed
Set ccdb manager in geocontainer for otf tracker pid
1 parent 9a4cf53 commit 956323b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ALICE3/TableProducer/OTF/onTheFlyTrackerPid.cxx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)