Skip to content

Commit 3aba75e

Browse files
committed
Fix bug
1 parent c62bb45 commit 3aba75e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

PWGLF/TableProducer/Nuspex/hyperhelium4sigmaRecoTask.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,7 @@ struct Hyperhelium4sigmaRecoTask {
387387
mBz = grpmag->getNominalL3Field();
388388

389389
if (!lut) {
390-
auto timestamp = bc.timestamp();
391-
lut = o2::base::MatLayerCylSet::rectifyPtrFromFile(ccdb->getForTimeStamp<o2::base::MatLayerCylSet>(lutPath, timestamp));
390+
lut = o2::base::MatLayerCylSet::rectifyPtrFromFile(ccdb->get<o2::base::MatLayerCylSet>(lutPath));
392391
}
393392
o2::base::Propagator::Instance()->setMatLUT(lut);
394393
LOG(info) << "Task initialized for run " << mRunNumber << " with magnetic field " << mBz << " kZG";

0 commit comments

Comments
 (0)