@@ -2018,7 +2018,7 @@ struct StrangenessInJets {
20182018
20192019 if (std::abs (v0mcparticle.pdgCode ()) == kLambda0 && v0mcparticle.has_mothers ()) {
20202020 for (auto & mcparticleMother0 : v0mcparticle.mothers_as <aod::McParticles>()) {
2021- if (std::abs (mcparticleMother0.pdgCode ()) == kXiMinus || std::abs (mcparticleMother0.pdgCode ()) == kXi0 ) {
2021+ if (std::abs (mcparticleMother0.pdgCode ()) == kXiMinus || std::abs (mcparticleMother0.pdgCode ()) == o2::constants::physics::Pdg:: kXi0 ) {
20222022 ptMotherMC = mcparticleMother0.pt ();
20232023 pdgMother = mcparticleMother0.pdgCode ();
20242024 }
@@ -2044,7 +2044,7 @@ struct StrangenessInJets {
20442044 if (pdgMother == kXiMinus ) {
20452045 registryMC.fill (HIST (" hFDVsPtLambdaVsMotherPt_DoubleCharged_jet" ), v0mcparticle.pt (), ptMotherMC);
20462046 }
2047- if (pdgMother == kXiMinus || pdgMother == kXi0 ) {
2047+ if (pdgMother == kXiMinus || pdgMother == o2::constants::physics::Pdg:: kXi0 ) {
20482048 registryMC.fill (HIST (" hFDVsPtLambdaVsMotherPt_MCRatio_jet" ), v0mcparticle.pt (), ptMotherMC);
20492049 }
20502050 }
@@ -2053,7 +2053,7 @@ struct StrangenessInJets {
20532053 if (pdgMother == kXiMinus ) {
20542054 registryMC.fill (HIST (" hFDVsPtLambdaVsMotherPt_DoubleCharged_ue" ), v0mcparticle.pt (), ptMotherMC);
20552055 }
2056- if (pdgMother == kXiMinus || pdgMother == kXi0 ) {
2056+ if (pdgMother == kXiMinus || pdgMother == o2::constants::physics::Pdg:: kXi0 ) {
20572057 registryMC.fill (HIST (" hFDVsPtLambdaVsMotherPt_MCRatio_ue" ), v0mcparticle.pt (), ptMotherMC);
20582058 }
20592059 }
@@ -2065,7 +2065,7 @@ struct StrangenessInJets {
20652065 if (pdgMother == kXiPlusBar ) {
20662066 registryMC.fill (HIST (" hFDVsPtAntiLambdaVsMotherPt_DoubleCharged_jet" ), v0mcparticle.pt (), ptMotherMC);
20672067 }
2068- if (pdgMother == kXiPlusBar || pdgMother == -kXi0 ) {
2068+ if (pdgMother == kXiPlusBar || pdgMother == -o2::constants::physics::Pdg:: kXi0 ) {
20692069 registryMC.fill (HIST (" hFDVsPtAntiLambdaVsMotherPt_MCRatio_jet" ), v0mcparticle.pt (), ptMotherMC);
20702070 }
20712071 }
@@ -2074,7 +2074,7 @@ struct StrangenessInJets {
20742074 if (pdgMother == kXiPlusBar ) {
20752075 registryMC.fill (HIST (" hFDVsPtAntiLambdaVsMotherPt_DoubleCharged_ue" ), v0mcparticle.pt (), ptMotherMC);
20762076 }
2077- if (pdgMother == kXiPlusBar || pdgMother == -kXi0 ) {
2077+ if (pdgMother == kXiPlusBar || pdgMother == -o2::constants::physics::Pdg:: kXi0 ) {
20782078 registryMC.fill (HIST (" hFDVsPtAntiLambdaVsMotherPt_MCRatio_ue" ), v0mcparticle.pt (), ptMotherMC);
20792079 }
20802080 }
0 commit comments