Skip to content

Commit

Permalink
PWGHF: Use PDG name for Ds*
Browse files Browse the repository at this point in the history
  • Loading branch information
fcatalan92 committed Oct 12, 2024
1 parent eb2efc9 commit 39ca3a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PWGHF/D2H/TableProducer/dataCreatorCharmHadPiReduced.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ struct HfDataCreatorCharmHadPiReduced {
// b-hadron hypothesis
std::array<int, 3> bHadronMotherHypos = {Pdg::kB0, Pdg::kBS, Pdg::kLambdaB0};
// c-hadron hypothesis
std::array<int, 5> cHadronMotherHypos = {Pdg::kDPlus, Pdg::kDS, Pdg::kDStar, 433, Pdg::kLambdaCPlus}; // 433 = Ds*+
std::array<int, 5> cHadronMotherHypos = {Pdg::kDPlus, Pdg::kDS, Pdg::kDStar, Pdg::kDSStar, Pdg::kLambdaCPlus};

for (const auto& bHadronMotherHypo : bHadronMotherHypos) {
int index0Mother = RecoDecay::getMother(particlesMc, particleProng0, bHadronMotherHypo, true);
Expand All @@ -586,7 +586,7 @@ struct HfDataCreatorCharmHadPiReduced {
// look for common c-hadron mother among prongs 0, 1 and 2
for (const auto& cHadronMotherHypo : cHadronMotherHypos) {
int8_t depthMax = 2;
if (cHadronMotherHypo == Pdg::kDStar || cHadronMotherHypo == 433) { // to include D* -> D π0/γ, D* -> D0 π, and Ds* -> Ds π0/γ
if (cHadronMotherHypo == Pdg::kDStar || cHadronMotherHypo == Pdg::kDSStar) { // to include D* -> D π0/γ, D* -> D0 π, and Ds* -> Ds π0/γ
depthMax += 1;
}
int index0CharmMother = RecoDecay::getMother(particlesMc, particleProng0, cHadronMotherHypo, true, &sign, depthMax);
Expand All @@ -599,7 +599,7 @@ struct HfDataCreatorCharmHadPiReduced {
// Pdg::kDPlus + Pdg::kDStar (if D+ is the mother and D*+ -> D+ π0/γ)
// Pdg::kDStar (if D*+ is the mother and D*+ -> D0 π+)
// Pdg::kDS (if Ds is the mother and does not come from Ds*)
// Pdg::kDs + 433 (if Ds is the mother and Ds* -> Ds π0/γ)
// Pdg::kDS + Pdg::kDSStar (if Ds is the mother and Ds* -> Ds π0/γ)
// Pdg::kLambdaCPlus (if Λc+ is the mother)
pdgCodeCharmMother += std::abs(particlesMc.rawIteratorAt(index0CharmMother).pdgCode());
}
Expand Down

0 comments on commit 39ca3a6

Please sign in to comment.