Skip to content

Commit 83ba53c

Browse files
authored
[PWGLF] Added K*0 resonance (#15984)
1 parent 910fa76 commit 83ba53c

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

PWGLF/Tasks/QC/mcParticlePrediction.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ using namespace o2::pwglf;
5757
// Particles
5858
static const std::vector<std::string> parameterNames{"Enable"};
5959
static constexpr int nParameters = 1;
60-
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}};
60+
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}};
6161
bool enabledParticlesArray[PIDExtended::NIDsTot];
6262

6363
// Estimators

PWGLF/Utils/mcParticle.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ class PIDExtended
130130
static constexpr ID XiCCPlusPlus = PIDCounts + 36;
131131
static constexpr ID XiCPlus = PIDCounts + 37;
132132
static constexpr ID XiC0 = PIDCounts + 38;
133-
static constexpr ID NIDsTot = PIDCounts + 39;
133+
static constexpr ID Kstar = PIDCounts + 39;
134+
static constexpr ID NIDsTot = PIDCounts + 40;
134135

135136
static constexpr const char* sNames[NIDsTot + 1] = {
136137
o2::track::pid_constants::sNames[Electron], // Electron
@@ -191,6 +192,7 @@ class PIDExtended
191192
"XiCCPlusPlus", // XiCCPlusPlus
192193
"XiCPlus", // XiCPlus
193194
"XiC0", // XiC0
195+
"Kstar", // Kstar
194196
nullptr};
195197

196198
static std::vector<std::string> arrayNames()
@@ -325,6 +327,8 @@ class PIDExtended
325327
return XiCPlus;
326328
case o2::constants::physics::Pdg::kXiC0:
327329
return XiC0;
330+
case o2::constants::physics::Pdg::kK0Star892:
331+
return Kstar;
328332
default:
329333
LOG(debug) << "Cannot identify particle with PDG code " << particle.pdgCode();
330334
break;

0 commit comments

Comments
 (0)