Skip to content

Commit b4a3bdf

Browse files
authored
[PWGHF] Update list of MC productions that require TOF PID recalibration for HF (#13067)
1 parent 38cb531 commit b4a3bdf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PWGHF/TableProducer/mcPidTof.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -755,8 +755,8 @@ struct mcPidTof {
755755
Configurable<std::string> ccdbPath{"ccdbPath", "Users/f/fgrosa/RecalibmcPidTof/", "path for MC recalibration objects in CCDB"};
756756
} mcRecalib;
757757

758-
// list of productions for which the postcalibrations must be turned off (FT0 digitisation fixed)
759-
const std::vector<std::string> prodNoPostCalib = {"LHC24h1c"};
758+
// list of productions for which the postcalibrations is needed (bug in FT0 digitisation)
759+
const std::vector<std::string> prodPostCalib = {"LHC24d3a", "LHC24d3b", "LHC24e3", "LHC24g5", "LHC24g6", "LHC24h2", "LHC24i1", "LHC24i2", "LHC24i3", "LHC24i4", "LHC24j6", "LHC24k3", "LHC24f3c", "LHC25e2", "LHC24h1b", "LHC25e4", "LHC25f5", "LHC25e8", "LHC25e9", "LHC25e10", "LHC25e11", "LHC23k4"};
760760
bool enableMcRecalib{false};
761761

762762
HistogramRegistry histos{"Histos", {}, OutputObjHandlingPolicy::AnalysisObject};
@@ -894,7 +894,7 @@ struct mcPidTof {
894894
std::map<std::string, std::string> metadata;
895895
if (metadataInfo.isFullyDefined()) {
896896
metadata["RecoPassName"] = metadataInfo.get("AnchorPassName");
897-
if (std::find(prodNoPostCalib.begin(), prodNoPostCalib.end(), metadataInfo.get("LPMProductionTag")) != prodNoPostCalib.end()) {
897+
if (std::find(prodPostCalib.begin(), prodPostCalib.end(), metadataInfo.get("LPMProductionTag")) == prodPostCalib.end()) {
898898
enableMcRecalib = false;
899899
LOGP(warn, "Nsigma postcalibrations turned off for {} (new MC productions have FT0 digitisation fixed)", metadataInfo.get("LPMProductionTag"));
900900
}

0 commit comments

Comments
 (0)