diff --git a/PWGLF/Tasks/QC/mcParticlePrediction.cxx b/PWGLF/Tasks/QC/mcParticlePrediction.cxx index 0da77c92ee9..2f506ba14e5 100644 --- a/PWGLF/Tasks/QC/mcParticlePrediction.cxx +++ b/PWGLF/Tasks/QC/mcParticlePrediction.cxx @@ -57,7 +57,7 @@ using namespace o2::pwglf; // Particles static const std::vector parameterNames{"Enable"}; static constexpr int nParameters = 1; -static const int defaultParticles[PIDExtended::NIDsTot][nParameters]{{0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {1}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}}; +static const int defaultParticles[PIDExtended::NIDsTot][nParameters]{{0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {1}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}}; bool enabledParticlesArray[PIDExtended::NIDsTot]; // Estimators diff --git a/PWGLF/Utils/mcParticle.h b/PWGLF/Utils/mcParticle.h index 4f7690bc7e1..657e696ec9a 100644 --- a/PWGLF/Utils/mcParticle.h +++ b/PWGLF/Utils/mcParticle.h @@ -131,7 +131,10 @@ class PIDExtended static constexpr ID XiCPlus = PIDCounts + 37; static constexpr ID XiC0 = PIDCounts + 38; static constexpr ID Kstar = PIDCounts + 39; - static constexpr ID NIDsTot = PIDCounts + 40; + static constexpr ID KstarPM = PIDCounts + 40; + static constexpr ID Kshort = PIDCounts + 41; + static constexpr ID Xi1530 = PIDCounts + 42; + static constexpr ID NIDsTot = PIDCounts + 43; static constexpr const char* sNames[NIDsTot + 1] = { o2::track::pid_constants::sNames[Electron], // Electron @@ -193,6 +196,9 @@ class PIDExtended "XiCPlus", // XiCPlus "XiC0", // XiC0 "Kstar", // Kstar + "KstarPM", // KstarPM + "Kshort", // Kshort + "Xi1530", // Xi1530 nullptr}; static std::vector arrayNames() @@ -329,6 +335,12 @@ class PIDExtended return XiC0; case o2::constants::physics::Pdg::kK0Star892: return Kstar; + case 323: + return KstarPM; + case 310: + return Kshort; + case 3324: + return Xi1530; default: LOG(debug) << "Cannot identify particle with PDG code " << particle.pdgCode(); break;