From 135ace8a4697026013e78baf90bff2184e6a3eed Mon Sep 17 00:00:00 2001 From: Alberto Caliva Date: Mon, 27 Oct 2025 17:06:31 +0100 Subject: [PATCH] [PWGLF] enable reweighting for analysis in jet --- PWGLF/Tasks/Nuspex/antinucleiInJets.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGLF/Tasks/Nuspex/antinucleiInJets.cxx b/PWGLF/Tasks/Nuspex/antinucleiInJets.cxx index 4e3d108d84a..4e7c54bd2b7 100644 --- a/PWGLF/Tasks/Nuspex/antinucleiInJets.cxx +++ b/PWGLF/Tasks/Nuspex/antinucleiInJets.cxx @@ -204,7 +204,7 @@ struct AntinucleiInJets { } // Load reweighting histograms from CCDB if antinuclei efficiency processing is enabled - if (doprocessAntinucleiEfficiency) { + if (doprocessAntinucleiEfficiency || doprocessJetsMCgen || doprocessJetsMCrec) { ccdb->setURL(urlToCcdb.value); ccdb->setCaching(true); ccdb->setLocalObjectValidityChecking();