Skip to content

Commit de2a8c4

Browse files
committed
Align Omega(2012) PDG code between database and transport
This makes the Omega(2012) resonance use the same PDG code and mass in O2DatabasePDG.h and in the Geant transport definition in O2MCApplication.cxx, and registers its antiparticle via AddAntiParticle instead of a duplicated AddParticle call. - O2MCApplication.cxx used 3335/-3335 and mass 2.012, now 123334/-123334 and 2.0125 to match O2DatabasePDG.h.
1 parent 03d3e50 commit de2a8c4

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

‎DataFormats/simulation/include/SimulationDataFormat/O2DatabasePDG.h‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -589,9 +589,7 @@ inline void O2DatabasePDG::addALICEParticles(TDatabasePDG* db)
589589
if (!db->GetParticle(ionCode)) {
590590
db->AddParticle("Omega_Minus_2012", "Omega_Minus_2012", 2.0125, kFALSE, 0.0064, -3, "Resonance", ionCode);
591591
}
592-
if (!db->GetParticle(-ionCode)) {
593-
db->AddParticle("Omega_Plus_2012", "Omega_Plus_2012", 2.0125, kFALSE, 0.0064, 3, "Resonance", -ionCode);
594-
}
592+
db->AddAntiParticle("Omega_Plus_2012", -ionCode);
595593

596594
// Ps - hidden strange (s-sbar) pentaquarks
597595

‎Steer/src/O2MCApplication.cxx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -646,17 +646,17 @@ void addSpecialParticles()
646646
psratio[j] = 0.;
647647
}
648648

649-
TVirtualMC::GetMC()->DefineParticle(3335, "Omega2012", kPTHadron, 2.012, -1.0, 1.0285e-22, "Hadron", 0.0064, 3, -1, 0, 0, 0, 0, 0, 1, kTRUE);
649+
TVirtualMC::GetMC()->DefineParticle(123334, "Omega_Minus_2012", kPTHadron, 2.0125, -1.0, 1.0285e-22, "Hadron", 0.0064, 3, -1, 0, 0, 0, 0, 0, 1, kTRUE);
650650
psmode[0][0] = 3312; // Xi-
651651
psmode[0][1] = 310; // K0S
652652
psratio[0] = 100.;
653-
TVirtualMC::GetMC()->SetDecayMode(3335, psratio, psmode);
653+
TVirtualMC::GetMC()->SetDecayMode(123334, psratio, psmode);
654654

655-
TVirtualMC::GetMC()->DefineParticle(-3335, "AntiOmega2012", kPTHadron, 2.012, 1.0, 1.0285e-22, "Hadron", 0.0064, 3, 1, 0, 0, 0, 0, 0, -1, kTRUE);
655+
TVirtualMC::GetMC()->DefineParticle(-123334, "Omega_Plus_2012", kPTHadron, 2.0125, 1.0, 1.0285e-22, "Hadron", 0.0064, 3, 1, 0, 0, 0, 0, 0, -1, kTRUE);
656656
psmode[0][0] = -3312; // anti-Xi+
657657
psmode[0][1] = 310; // K0S
658658
psratio[0] = 100.;
659-
TVirtualMC::GetMC()->SetDecayMode(-3335, psratio, psmode);
659+
TVirtualMC::GetMC()->SetDecayMode(-123334, psratio, psmode);
660660

661661
// d*(2380) - dibaryon resonance
662662
TVirtualMC::GetMC()->DefineParticle(900010020, "d*_2380", kPTHadron, 2.38, 1.0, 0.94e-23, "Ion", 0.07, 6, 1, 0, 0, 0, 0, 0, 2, kTRUE);

0 commit comments

Comments
 (0)