diff --git a/PWGLF/Tasks/QC/mcParticlePrediction.cxx b/PWGLF/Tasks/QC/mcParticlePrediction.cxx index 9688e0e5906..11ac33586be 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}}; +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}}; bool enabledParticlesArray[PIDExtended::NIDsTot]; // Estimators diff --git a/PWGLF/Utils/mcParticle.h b/PWGLF/Utils/mcParticle.h index ce6ff18989b..4f7690bc7e1 100644 --- a/PWGLF/Utils/mcParticle.h +++ b/PWGLF/Utils/mcParticle.h @@ -130,7 +130,8 @@ class PIDExtended static constexpr ID XiCCPlusPlus = PIDCounts + 36; static constexpr ID XiCPlus = PIDCounts + 37; static constexpr ID XiC0 = PIDCounts + 38; - static constexpr ID NIDsTot = PIDCounts + 39; + static constexpr ID Kstar = PIDCounts + 39; + static constexpr ID NIDsTot = PIDCounts + 40; static constexpr const char* sNames[NIDsTot + 1] = { o2::track::pid_constants::sNames[Electron], // Electron @@ -191,6 +192,7 @@ class PIDExtended "XiCCPlusPlus", // XiCCPlusPlus "XiCPlus", // XiCPlus "XiC0", // XiC0 + "Kstar", // Kstar nullptr}; static std::vector arrayNames() @@ -325,6 +327,8 @@ class PIDExtended return XiCPlus; case o2::constants::physics::Pdg::kXiC0: return XiC0; + case o2::constants::physics::Pdg::kK0Star892: + return Kstar; default: LOG(debug) << "Cannot identify particle with PDG code " << particle.pdgCode(); break;