Skip to content

Commit fcf08b0

Browse files
committed
Use the real Omega(2012) PDG code in the resonance analysis
This replaces the placeholder PDG code in omega2012Analysis.cxx with o2::constants::physics::Pdg::kOmega2012Minus, now that AliceO2 carries that constant. - Removes kPlaceholderPdgCode (3335) and its TODO.
1 parent e88e6b7 commit fcf08b0

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎PWGLF/Tasks/Resonances/omega2012Analysis.cxx‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ struct Omega2012Analysis {
5050
static constexpr float kSmallNumber = 1e-10f; // Small number to avoid division by zero
5151
static constexpr float kMaxDCAV0ToPV = 1.0f; // Maximum DCA of V0 to PV
5252
static constexpr int kNumExpectedDaughters = 2; // Expected number of daughters for 2-body decay
53-
static constexpr int kPlaceholderPdgCode = 3335;
5453
SliceCache cache;
5554
Preslice<aod::ResoCascades> perResoCollisionCasc = aod::resodaughter::resoCollisionId;
5655
Preslice<aod::ResoV0s> perResoCollisionV0 = aod::resodaughter::resoCollisionId;
@@ -968,11 +967,10 @@ struct Omega2012Analysis {
968967
// This resonance decays to Xi + K0s
969968

970969
for (const auto& mcParticle : mcParticles) {
971-
// Look for Omega(2012) - PDG code may vary by generator
970+
// Look for Omega(2012)
972971
int pdg = mcParticle.pdgCode();
973972

974-
// TODO: Update the PDG code library to include Omega(2012) codes
975-
if (std::abs(pdg) != kPlaceholderPdgCode)
973+
if (std::abs(pdg) != o2::constants::physics::Pdg::kOmega2012Minus)
976974
continue;
977975

978976
// Fill generated level histograms

0 commit comments

Comments
 (0)