diff --git a/DataFormats/simulation/include/SimulationDataFormat/O2DatabasePDG.h b/DataFormats/simulation/include/SimulationDataFormat/O2DatabasePDG.h index a7ea61e986e18..ccb0ade1502ac 100644 --- a/DataFormats/simulation/include/SimulationDataFormat/O2DatabasePDG.h +++ b/DataFormats/simulation/include/SimulationDataFormat/O2DatabasePDG.h @@ -419,7 +419,7 @@ inline void O2DatabasePDG::addALICEParticles(TDatabasePDG* db, double monopoleMa // 4-Xi-H ionCode = 1120010040; if (!db->GetParticle(ionCode)) { - db->AddParticle("4XiH", "4XiH", 4.128, kFALSE, 4.04e-15, 3, "Ion", ionCode); + db->AddParticle("4XiH", "4XiH", 4.128, kFALSE, 4.04e-15, 0, "Ion", ionCode); db->AddAntiParticle("Anti4XiH", -ionCode); } @@ -499,13 +499,13 @@ inline void O2DatabasePDG::addALICEParticles(TDatabasePDG* db, double monopoleMa ionCode = 1030010020; if (!db->GetParticle(ionCode)) { db->AddParticle("OmegaNeutron", "OmegaNeutron", 2.472, kFALSE, - 0.003, 3, "Special", ionCode); + 0.003, -3, "Special", ionCode); } ionCode = -1030010020; if (!db->GetParticle(ionCode)) { db->AddParticle("AntiOmegaNeutron", "AntiOmegaNeutron", 2.472, kFALSE, - 0.003, -3, "Special", ionCode); + 0.003, 3, "Special", ionCode); } ionCode = 1060020020; @@ -547,7 +547,7 @@ inline void O2DatabasePDG::addALICEParticles(TDatabasePDG* db, double monopoleMa ionCode = 2010010030; if (!db->GetParticle(ionCode)) { db->AddParticle("CTriton", "CTriton", 4.162, kFALSE, - 3.3e-12, 3, "Ion", ionCode); + 3.3e-12, 6, "Ion", ionCode); db->AddAntiParticle("AntiCTriton", -ionCode); } @@ -641,19 +641,19 @@ inline void O2DatabasePDG::addALICEParticles(TDatabasePDG* db, double monopoleMa } ionCode = 100323; if (!db->GetParticle(ionCode)) { - db->AddParticle("K*(1410)+", "K*(1410)+", 1.414, kFALSE, 0.232, +1, "Resonance", ionCode); + db->AddParticle("K*(1410)+", "K*(1410)+", 1.414, kFALSE, 0.232, +3, "Resonance", ionCode); } ionCode = -100323; if (!db->GetParticle(ionCode)) { - db->AddParticle("K*(1410)-", "K*(1410)-", 1.414, kFALSE, 0.232, -1, "Resonance", ionCode); + db->AddParticle("K*(1410)-", "K*(1410)-", 1.414, kFALSE, 0.232, -3, "Resonance", ionCode); } ionCode = 100211; if (!db->GetParticle(ionCode)) { - db->AddParticle("pi(1300)+", "pi(1300)+", 1.165, kFALSE, 0.400, +1, "Resonance", ionCode); + db->AddParticle("pi(1300)+", "pi(1300)+", 1.165, kFALSE, 0.400, +3, "Resonance", ionCode); } ionCode = -100211; if (!db->GetParticle(ionCode)) { - db->AddParticle("pi(1300)-", "pi(1300)-", 1.165, kFALSE, 0.400, -1, "Resonance", ionCode); + db->AddParticle("pi(1300)-", "pi(1300)-", 1.165, kFALSE, 0.400, -3, "Resonance", ionCode); } ionCode = 202112; if (!db->GetParticle(ionCode)) { @@ -661,11 +661,11 @@ inline void O2DatabasePDG::addALICEParticles(TDatabasePDG* db, double monopoleMa } ionCode = -202212; if (!db->GetParticle(ionCode)) { - db->AddParticle("p(1440)bar-", "p(1440)bar-", 1.793, kFALSE, 0.350, -1, "Ion", ionCode); + db->AddParticle("p(1440)bar-", "p(1440)bar-", 1.793, kFALSE, 0.350, -3, "Ion", ionCode); } ionCode = 202212; if (!db->GetParticle(ionCode)) { - db->AddParticle("p(1440)+", "p(1440)+", 1.793, kFALSE, 0.350, 1, "Ion", ionCode); + db->AddParticle("p(1440)+", "p(1440)+", 1.793, kFALSE, 0.350, 3, "Ion", ionCode); } // Xi-/+ (1820) @@ -843,17 +843,17 @@ inline void O2DatabasePDG::addALICEParticles(TDatabasePDG* db, double monopoleMa db->AddAntiParticle("Anti-Xi_c_0_3080", -ionCode); ionCode = 24124; if (!db->GetParticle(ionCode)) { - db->AddParticle("Lambda_c_Plus_2860", "Lambda_c_Plus_2860", 2.8561, false, 0.0680, 0, "Resonance", ionCode); + db->AddParticle("Lambda_c_Plus_2860", "Lambda_c_Plus_2860", 2.8561, false, 0.0680, 3, "Resonance", ionCode); } db->AddAntiParticle("Anti-Lambda_c_Minus_2860", -ionCode); ionCode = 24126; if (!db->GetParticle(ionCode)) { - db->AddParticle("Lambda_c_Plus_2880", "Lambda_c_Plus_2880", 2.8816, false, 0.0056, 0, "Resonance", ionCode); + db->AddParticle("Lambda_c_Plus_2880", "Lambda_c_Plus_2880", 2.8816, false, 0.0056, 3, "Resonance", ionCode); } db->AddAntiParticle("Anti-Lambda_c_Minus_2880", -ionCode); ionCode = 4125; if (!db->GetParticle(ionCode)) { - db->AddParticle("Lambda_c_Plus_2940", "Lambda_c_Plus_2940", 2.9396, false, 0.0200, 0, "Resonance", ionCode); + db->AddParticle("Lambda_c_Plus_2940", "Lambda_c_Plus_2940", 2.9396, false, 0.0200, 3, "Resonance", ionCode); } db->AddAntiParticle("Anti-Lambda_c_Minus_2940", -ionCode); diff --git a/DataFormats/simulation/test/testO2DatabasePDG.cxx b/DataFormats/simulation/test/testO2DatabasePDG.cxx index 17a4e0e0ff774..21c535e418e23 100644 --- a/DataFormats/simulation/test/testO2DatabasePDG.cxx +++ b/DataFormats/simulation/test/testO2DatabasePDG.cxx @@ -17,6 +17,10 @@ #define BOOST_TEST_DYN_LINK #include #include "SimulationDataFormat/O2DatabasePDG.h" +#include +#include +#include +#include using namespace o2; @@ -107,3 +111,32 @@ BOOST_AUTO_TEST_CASE(Mass_test) BOOST_CHECK(!success); BOOST_CHECK(O2DatabasePDG::nucleusRemnantMass(211) < 0.); } + +// Consistency of the charges of all registered particles +BOOST_AUTO_TEST_CASE(Charge_test) +{ + auto db = O2DatabasePDG::Instance(); + for (auto obj : *db->ParticleList()) { + auto p = static_cast(obj); + const int pdg = p->PdgCode(); + const int apdg = std::abs(pdg); + const double charge = p->Charge(); + BOOST_TEST_CONTEXT(p->GetName() << " (" << pdg << ") with charge " << charge << "/3") + { + // an antiparticle has the opposite charge of its particle + if (pdg < 0) { + if (auto particle = db->GetParticle(-pdg)) { + BOOST_CHECK_EQUAL(charge, -particle->Charge()); + } + } + // charge is in units of e/3, and hadrons and nuclei carry an integer charge; this skips + // quarks, leptoquarks and generator placeholders (< 100), diquarks and the BSM block + // (squarks, excited quarks) of 7-digit codes with leading digit 1-6 + const bool isDiquark = apdg >= 1000 && apdg < 10000 && (apdg / 10) % 10 == 0; + const bool isBSM = apdg >= 1000000 && apdg < 7000000; + if (apdg >= 100 && !isDiquark && !isBSM) { + BOOST_CHECK_EQUAL(std::fmod(charge, 3.), 0.); + } + } + } +} diff --git a/Steer/src/O2MCApplication.cxx b/Steer/src/O2MCApplication.cxx index dfac0a11b37a3..24561d25a2910 100644 --- a/Steer/src/O2MCApplication.cxx +++ b/Steer/src/O2MCApplication.cxx @@ -502,110 +502,110 @@ void addSpecialParticles() //Hypertriton TVirtualMC::GetMC()->DefineParticle(1010010030, "HyperTriton", kPTHadron, 2.991134, 1.0, 2.632e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 3, kFALSE); //Anti-Hypertriton - TVirtualMC::GetMC()->DefineParticle(-1010010030, "AntiHyperTriton", kPTHadron, 2.991134, -1.0, 2.632e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 3, kFALSE); + TVirtualMC::GetMC()->DefineParticle(-1010010030, "AntiHyperTriton", kPTHadron, 2.991134, -1.0, 2.632e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, -3, kFALSE); //Hyper hydrogen 4 ground state TVirtualMC::GetMC()->DefineParticle(1010010040, "Hyperhydrog4", kPTHadron, 3.922434, 1.0, 2.08e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 4, kFALSE); //Anti-Hyper hydrogen 4 ground state - TVirtualMC::GetMC()->DefineParticle(-1010010040, "AntiHyperhydrog4", kPTHadron, 3.922434, -1.0, 2.08e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 4, kFALSE); + TVirtualMC::GetMC()->DefineParticle(-1010010040, "AntiHyperhydrog4", kPTHadron, 3.922434, -1.0, 2.08e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, -4, kFALSE); //Hyper helium 4 ground state TVirtualMC::GetMC()->DefineParticle(1010020040, "Hyperhelium4", kPTHadron, 3.921728, 2.0, 2.50e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 4, kFALSE); //Anti-Hyper helium 4 ground state - TVirtualMC::GetMC()->DefineParticle(-1010020040, "AntiHyperhelium4", kPTHadron, 3.921728, -2.0, 2.50e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 4, kFALSE); + TVirtualMC::GetMC()->DefineParticle(-1010020040, "AntiHyperhelium4", kPTHadron, 3.921728, -2.0, 2.50e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, -4, kFALSE); // Lithium 4 ground state TVirtualMC::GetMC()->DefineParticle(1000030040, "Lithium4", kPTHadron, 3.7513, 3.0, 9.1e-23, "Ion", 0.003, 0, 1, 0, 0, 0, 0, 0, 4, kFALSE); // Anti-Lithium 4 ground state - TVirtualMC::GetMC()->DefineParticle(-1000030040, "AntiLithium4", kPTHadron, 3.7513, -3.0, 9.1e-23, "Ion", 0.003, 0, 1, 0, 0, 0, 0, 0, 4, kFALSE); + TVirtualMC::GetMC()->DefineParticle(-1000030040, "AntiLithium4", kPTHadron, 3.7513, -3.0, 9.1e-23, "Ion", 0.003, 0, 1, 0, 0, 0, 0, 0, -4, kFALSE); //Hyper helium 5 TVirtualMC::GetMC()->DefineParticle(1010020050, "Hyperhelium5", kPTHadron, 4.839961, 2.0, 2.74e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 5, kFALSE); //Anti-Hyper helium 5 - TVirtualMC::GetMC()->DefineParticle(-1010020050, "AntiHyperhelium5", kPTHadron, 4.839961, -2.0, 2.74e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 5, kFALSE); + TVirtualMC::GetMC()->DefineParticle(-1010020050, "AntiHyperhelium5", kPTHadron, 4.839961, -2.0, 2.74e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, -5, kFALSE); //Double Hyper hydrogen 4 TVirtualMC::GetMC()->DefineParticle(1020010040, "DoubleHyperhydrogen4", kPTHadron, 4.106, 1.0, 2.632e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 4, kFALSE); //Double Anti-Hyper hydrogen 4 - TVirtualMC::GetMC()->DefineParticle(-1020010040, "DoubleAntiHyperhydrogen4", kPTHadron, 4.106, -1.0, 2.632e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 4, kFALSE); + TVirtualMC::GetMC()->DefineParticle(-1020010040, "DoubleAntiHyperhydrogen4", kPTHadron, 4.106, -1.0, 2.632e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, -4, kFALSE); // 4Xi(-)H - TVirtualMC::GetMC()->DefineParticle(1120010040, "4XiH", kPTHadron, 4.128, 1.0, 1.639e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 4, kFALSE); + TVirtualMC::GetMC()->DefineParticle(1120010040, "4XiH", kPTNeutron, 4.128, 0.0, 1.639e-10, "Hadron", 0.0, 0, 1, 0, 0, 0, 0, 0, 4, kFALSE); // Anti-4Xi(-)H - TVirtualMC::GetMC()->DefineParticle(-1120010040, "Anti4XiH", kPTHadron, 4.128, -1.0, 1.639e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 4, kFALSE); + TVirtualMC::GetMC()->DefineParticle(-1120010040, "Anti4XiH", kPTNeutron, 4.128, 0.0, 1.639e-10, "Hadron", 0.0, 0, 1, 0, 0, 0, 0, 0, -4, kFALSE); // 4Xi(-)He TVirtualMC::GetMC()->DefineParticle(1120020040, "4XiHe", kPTHadron, 4.128, 1.0, 1.639e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 4, kFALSE); // Anti-4Xi(-)He - TVirtualMC::GetMC()->DefineParticle(-1120020040, "Anti4XiHe", kPTHadron, 4.128, -1.0, 1.639e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 4, kFALSE); + TVirtualMC::GetMC()->DefineParticle(-1120020040, "Anti4XiHe", kPTHadron, 4.128, -1.0, 1.639e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, -4, kFALSE); // Hyper helium 4 sigma TVirtualMC::GetMC()->DefineParticle(1110020040, "Hyperhelium4sigma", kPTHadron, 3.995, 2.0, 8.018e-11, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 4, kFALSE); // Anti-Hyper helium 4 sigma - TVirtualMC::GetMC()->DefineParticle(-1110020040, "AntiHyperhelium4sigma", kPTHadron, 3.995, -2.0, 8.018e-11, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 4, kFALSE); + TVirtualMC::GetMC()->DefineParticle(-1110020040, "AntiHyperhelium4sigma", kPTHadron, 3.995, -2.0, 8.018e-11, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, -4, kFALSE); //Lambda-Neutron TVirtualMC::GetMC()->DefineParticle(1010000020, "LambdaNeutron", kPTNeutron, 2.054, 0.0, 2.632e-10, "Hadron", 0.0, 0, 1, 0, 0, 0, 0, 0, 2, kFALSE); //Anti-Lambda-Neutron - TVirtualMC::GetMC()->DefineParticle(-1010000020, "AntiLambdaNeutron", kPTNeutron, 2.054, 0.0, 2.632e-10, "Hadron", 0.0, 0, 1, 0, 0, 0, 0, 0, 2, kFALSE); + TVirtualMC::GetMC()->DefineParticle(-1010000020, "AntiLambdaNeutron", kPTNeutron, 2.054, 0.0, 2.632e-10, "Hadron", 0.0, 0, 1, 0, 0, 0, 0, 0, -2, kFALSE); //H-Dibaryon TVirtualMC::GetMC()->DefineParticle(1020000020, "Hdibaryon", kPTNeutron, 2.23, 0.0, 2.632e-10, "Hadron", 0.0, 0, 1, 0, 0, 0, 0, 0, 2, kFALSE); //Anti-H-Dibaryon - TVirtualMC::GetMC()->DefineParticle(-1020000020, "AntiHdibaryon", kPTNeutron, 2.23, 0.0, 2.632e-10, "Hadron", 0.0, 0, 1, 0, 0, 0, 0, 0, 2, kFALSE); + TVirtualMC::GetMC()->DefineParticle(-1020000020, "AntiHdibaryon", kPTNeutron, 2.23, 0.0, 2.632e-10, "Hadron", 0.0, 0, 1, 0, 0, 0, 0, 0, -2, kFALSE); //Xi-Proton TVirtualMC::GetMC()->DefineParticle(1020010020, "Xi0Proton", kPTHadron, 2.248, 1.0, 1.333e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 2, kFALSE); //Anti-Xi-Proton - TVirtualMC::GetMC()->DefineParticle(-1020010020, "AntiXi0Proton", kPTHadron, 2.248, -1.0, 1.333e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 2, kFALSE); + TVirtualMC::GetMC()->DefineParticle(-1020010020, "AntiXi0Proton", kPTHadron, 2.248, -1.0, 1.333e-10, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, -2, kFALSE); //Lambda-Neutron-Neutron TVirtualMC::GetMC()->DefineParticle(1010000030, "LambdaNeutronNeutron", kPTNeutron, 2.99, 0.0, 2.632e-10, "Hadron", 0.0, 0, 1, 0, 0, 0, 0, 0, 3, kFALSE); //Anti-Lambda-Neutron-Neutron - TVirtualMC::GetMC()->DefineParticle(-1010000030, "AntiLambdaNeutronNeutron", kPTNeutron, 2.99, 0.0, 2.632e-10, "Hadron", 0.0, 0, 1, 0, 0, 0, 0, 0, 3, kFALSE); + TVirtualMC::GetMC()->DefineParticle(-1010000030, "AntiLambdaNeutronNeutron", kPTNeutron, 2.99, 0.0, 2.632e-10, "Hadron", 0.0, 0, 1, 0, 0, 0, 0, 0, -3, kFALSE); //Omega-Proton TVirtualMC::GetMC()->DefineParticle(1030000020, "OmegaProton", kPTNeutron, 2.592, 0.0, 2.632e-10, "Hadron", 0.0, 2, 1, 0, 0, 0, 0, 0, 2, kFALSE); //Anti-Omega-Proton - TVirtualMC::GetMC()->DefineParticle(-1030000020, "AntiOmegaProton", kPTNeutron, 2.592, 0.0, 2.632e-10, "Hadron", 0.0, 2, 1, 0, 0, 0, 0, 0, 2, kFALSE); + TVirtualMC::GetMC()->DefineParticle(-1030000020, "AntiOmegaProton", kPTNeutron, 2.592, 0.0, 2.632e-10, "Hadron", 0.0, 2, 1, 0, 0, 0, 0, 0, -2, kFALSE); //Omega-Neutron - TVirtualMC::GetMC()->DefineParticle(1030010020, "OmegaNeutron", kPTHadron, 2.472, 1.0, 2.190e-22, "Hadron", 0.0, 2, 1, 0, 0, 0, 0, 0, 2, kFALSE); + TVirtualMC::GetMC()->DefineParticle(1030010020, "OmegaNeutron", kPTHadron, 2.472, -1.0, 2.190e-22, "Hadron", 0.0, 2, 1, 0, 0, 0, 0, 0, 2, kFALSE); //Anti-Omega-Neutron - TVirtualMC::GetMC()->DefineParticle(-1030010020, "AntiOmegaNeutron", kPTHadron, 2.472, -1.0, 2.190e-22, "Hadron", 0.0, 2, 1, 0, 0, 0, 0, 0, 2, kFALSE); + TVirtualMC::GetMC()->DefineParticle(-1030010020, "AntiOmegaNeutron", kPTHadron, 2.472, 1.0, 2.190e-22, "Hadron", 0.0, 2, 1, 0, 0, 0, 0, 0, -2, kFALSE); //Omega-Omega TVirtualMC::GetMC()->DefineParticle(1060020020, "OmegaOmega", kPTHadron, 3.343, -2.0, 8.21e-11, "Hadron", 0.0, 0, 1, 0, 0, 0, 0, 0, 2, kFALSE); //Anti-Omega-Omega - TVirtualMC::GetMC()->DefineParticle(-1060020020, "AntiOmegaOmega", kPTHadron, 3.343, 2.0, 8.21e-11, "Hadron", 0.0, 0, 1, 0, 0, 0, 0, 0, 2, kFALSE); + TVirtualMC::GetMC()->DefineParticle(-1060020020, "AntiOmegaOmega", kPTHadron, 3.343, 2.0, 8.21e-11, "Hadron", 0.0, 0, 1, 0, 0, 0, 0, 0, -2, kFALSE); //Lambda(1405)-Proton TVirtualMC::GetMC()->DefineParticle(1010010021, "Lambda1405Proton", kPTHadron, 2.295, 1.0, 1.316e-23, "Hadron", 0.0, 0, 1, 0, 0, 0, 0, 0, 2, kFALSE); //Anti-Lambda(1405)-Proton - TVirtualMC::GetMC()->DefineParticle(-1010010021, "AntiLambda1405Proton", kPTHadron, 2.295, -1.0, 1.316e-23, "Hadron", 0.0, 0, 1, 0, 0, 0, 0, 0, 2, kFALSE); + TVirtualMC::GetMC()->DefineParticle(-1010010021, "AntiLambda1405Proton", kPTHadron, 2.295, -1.0, 1.316e-23, "Hadron", 0.0, 0, 1, 0, 0, 0, 0, 0, -2, kFALSE); //Lambda(1405)-Lambda(1405) TVirtualMC::GetMC()->DefineParticle(1020000021, "Lambda1405Lambda1405", kPTNeutron, 2.693, 0.0, 1.316e-23, "Hadron", 0.0, 0, 1, 0, 0, 0, 0, 0, 2, kFALSE); //Anti-Lambda(1405)-Lambda(1405) - TVirtualMC::GetMC()->DefineParticle(-1020000021, "AntiLambda1405Lambda1405", kPTNeutron, 2.693, 0.0, 1.316e-23, "Hadron", 0.0, 0, 1, 0, 0, 0, 0, 0, 2, kFALSE); + TVirtualMC::GetMC()->DefineParticle(-1020000021, "AntiLambda1405Lambda1405", kPTNeutron, 2.693, 0.0, 1.316e-23, "Hadron", 0.0, 0, 1, 0, 0, 0, 0, 0, -2, kFALSE); //c-deuteron - TVirtualMC::GetMC()->DefineParticle(2010010020, "CDeuteron", kPTHadron, 3.226, 1.0, 2.0e-13, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 3, kFALSE); + TVirtualMC::GetMC()->DefineParticle(2010010020, "CDeuteron", kPTHadron, 3.226, 1.0, 2.0e-13, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 2, kFALSE); //Anti-c-deuteron - TVirtualMC::GetMC()->DefineParticle(-2010010020, "AntiCDeuteron", kPTHadron, 3.226, -1.0, 2.0e-13, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 3, kFALSE); + TVirtualMC::GetMC()->DefineParticle(-2010010020, "AntiCDeuteron", kPTHadron, 3.226, -1.0, 2.0e-13, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, -2, kFALSE); //c-triton - TVirtualMC::GetMC()->DefineParticle(2010010030, "CTriton", kPTHadron, 4.162, 1.0, 2.0e-13, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 2, kFALSE); - //Anti-c-Hypertriton - TVirtualMC::GetMC()->DefineParticle(-2010010030, "AntiCTriton", kPTHadron, 4.162, -1.0, 2.0e-13, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 2, kFALSE); + TVirtualMC::GetMC()->DefineParticle(2010010030, "CTriton", kPTHadron, 4.162, 2.0, 2.0e-13, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, 3, kFALSE); + //Anti-c-triton + TVirtualMC::GetMC()->DefineParticle(-2010010030, "AntiCTriton", kPTHadron, 4.162, -2.0, 2.0e-13, "Ion", 0.0, 0, 1, 0, 0, 0, 0, 0, -3, kFALSE); //Resonances not in Generators // f0(980) assume 70 MeV as width (PDG: 40 to 100 MeV) @@ -615,13 +615,13 @@ void addSpecialParticles() TVirtualMC::GetMC()->DefineParticle(225, "f2_1270", kPTNeutron, 1.275, 0.0, 3.538e-24, "Hadron", 0.186, 2, 1, 1, 0, 0, 1, 0, 0, kTRUE); // f1(1285) (PDG: width = 24.20 MeV) Spin/Parity might not be correct - TVirtualMC::GetMC()->DefineParticle(20223, "f1_1285", kPTNeutron, 1.28210, 0.0, 1e-24, "Hadron", 0.02420, 3, 1, 0, 0, 0, 0, 0, 1, kTRUE); + TVirtualMC::GetMC()->DefineParticle(20223, "f1_1285", kPTNeutron, 1.28210, 0.0, 1e-24, "Hadron", 0.02420, 3, 1, 0, 0, 0, 0, 0, 0, kTRUE); // f1(1420) (PDG: width = 54 MeV) Spin/Parity might not be correct - TVirtualMC::GetMC()->DefineParticle(20333, "f1_1420", kPTNeutron, 1.42640, 0.0, 1e-24, "Hadron", 0.05490, 3, 1, 0, 0, 0, 0, 0, 1, kTRUE); + TVirtualMC::GetMC()->DefineParticle(20333, "f1_1420", kPTNeutron, 1.42640, 0.0, 1e-24, "Hadron", 0.05490, 3, 1, 0, 0, 0, 0, 0, 0, kTRUE); // lambda1405 (PDG: width = 50 MeV) - TVirtualMC::GetMC()->DefineParticle(102132, "Lambda1405", kPTNeutron, 1.405, 0.0, 1.316e-23, "Hadron", 0.050, 0, 1, 0, 0, 0, 0, 0, 2, kTRUE); - TVirtualMC::GetMC()->DefineParticle(-102132, "AntiLambda1405", kPTNeutron, 1.405, 0.0, 1.316e-23, "Hadron", 0.050, 0, 1, 0, 0, 0, 0, 0, 2, kTRUE); + TVirtualMC::GetMC()->DefineParticle(102132, "Lambda1405", kPTNeutron, 1.405, 0.0, 1.316e-23, "Hadron", 0.050, 0, 1, 0, 0, 0, 0, 0, 1, kTRUE); + TVirtualMC::GetMC()->DefineParticle(-102132, "AntiLambda1405", kPTNeutron, 1.405, 0.0, 1.316e-23, "Hadron", 0.050, 0, 1, 0, 0, 0, 0, 0, -1, kTRUE); // Glueball hunting family // Their life times are not known, so we set them to 1e-24