From a7ccd2ecad14d8ef6c903fad8e2cf9926e5cfad2 Mon Sep 17 00:00:00 2001 From: Maximiliano Puccio Date: Thu, 28 Aug 2025 16:24:18 +0200 Subject: [PATCH] Make sure that B field is updated in reduced 3 body creator --- PWGLF/TableProducer/Nuspex/reduced3bodyCreator.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PWGLF/TableProducer/Nuspex/reduced3bodyCreator.cxx b/PWGLF/TableProducer/Nuspex/reduced3bodyCreator.cxx index e164dc2794c..51693e178b1 100644 --- a/PWGLF/TableProducer/Nuspex/reduced3bodyCreator.cxx +++ b/PWGLF/TableProducer/Nuspex/reduced3bodyCreator.cxx @@ -182,7 +182,8 @@ struct reduced3bodyCreator { // In case override, don't proceed, please - no CCDB access required auto run3grp_timestamp = bc.timestamp(); - o2::parameters::GRPMagField* grpmag = ccdb->getForTimeStamp(grpmagPath, run3grp_timestamp); + ccdb->clearCache(grpmagPath); + o2::parameters::GRPMagField* grpmag = ccdb->getSpecific(grpmagPath, run3grp_timestamp); if (!grpmag) { LOG(fatal) << "Got nullptr from CCDB for path " << grpmagPath << " of object GRPMagField and " << grpPath << " of object GRPObject for timestamp " << run3grp_timestamp; }