Skip to content

Commit fd83fb5

Browse files
authored
[PWGLF] Make sure that B field is updated in reduced 3 body creator (#12778)
1 parent e807d54 commit fd83fb5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PWGLF/TableProducer/Nuspex/reduced3bodyCreator.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ struct reduced3bodyCreator {
182182

183183
// In case override, don't proceed, please - no CCDB access required
184184
auto run3grp_timestamp = bc.timestamp();
185-
o2::parameters::GRPMagField* grpmag = ccdb->getForTimeStamp<o2::parameters::GRPMagField>(grpmagPath, run3grp_timestamp);
185+
ccdb->clearCache(grpmagPath);
186+
o2::parameters::GRPMagField* grpmag = ccdb->getSpecific<o2::parameters::GRPMagField>(grpmagPath, run3grp_timestamp);
186187
if (!grpmag) {
187188
LOG(fatal) << "Got nullptr from CCDB for path " << grpmagPath << " of object GRPMagField and " << grpPath << " of object GRPObject for timestamp " << run3grp_timestamp;
188189
}

0 commit comments

Comments
 (0)