Skip to content

Commit 555240c

Browse files
committed
Make sure that B field is updated when necessary
1 parent 2bb9e32 commit 555240c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGLF/TableProducer/Nuspex/decay3bodybuilder.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ struct decay3bodyBuilder {
501501

502502
auto timestamp = bc.timestamp();
503503
o2::parameters::GRPMagField* grpmag = 0x0;
504-
grpmag = ccdb->getForTimeStamp<o2::parameters::GRPMagField>(ccdbConfigurations.grpmagPath, timestamp);
504+
grpmag = ccdb->getSpecific<o2::parameters::GRPMagField>(ccdbConfigurations.grpmagPath, timestamp);
505505
if (!grpmag) {
506506
LOG(fatal) << "Got nullptr from CCDB for path " << ccdbConfigurations.grpmagPath << " of object GRPMagField for timestamp " << timestamp;
507507
}

0 commit comments

Comments
 (0)