Skip to content

Commit 56f2e4d

Browse files
authored
[PWGHF] B+ corr. bkg, add charm mother PDGs (#10013)
1 parent 2e82f56 commit 56f2e4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGHF/D2H/TableProducer/dataCreatorCharmHadPiReduced.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ struct HfDataCreatorCharmHadPiReduced {
653653
// b-hadron hypothesis
654654
std::array<int, 4> bHadronMotherHypos = {Pdg::kBPlus, Pdg::kB0, Pdg::kBS, Pdg::kLambdaB0};
655655
// c-hadron hypothesis
656-
std::array<int, 5> cHadronMotherHypos = {Pdg::kDPlus, Pdg::kDS, Pdg::kDStar, Pdg::kDSStar, Pdg::kLambdaCPlus};
656+
std::array<int, 7> cHadronMotherHypos = {Pdg::kD0, Pdg::kDPlus, Pdg::kDS, Pdg::kDStar, 423, Pdg::kDSStar, Pdg::kLambdaCPlus};
657657

658658
for (const auto& bHadronMotherHypo : bHadronMotherHypos) {
659659
int index0Mother = RecoDecay::getMother(particlesMc, particleProng0, bHadronMotherHypo, true);
@@ -672,7 +672,7 @@ struct HfDataCreatorCharmHadPiReduced {
672672
// look for common c-hadron mother among prongs 0, 1 and 2
673673
for (const auto& cHadronMotherHypo : cHadronMotherHypos) {
674674
int8_t depthMax = 2;
675-
if (cHadronMotherHypo == Pdg::kDStar || cHadronMotherHypo == Pdg::kDSStar) { // to include D* -> D π0/γ, D* -> D0 π, and Ds* -> Ds π0/γ
675+
if (cHadronMotherHypo == Pdg::kDStar || cHadronMotherHypo == 423 || cHadronMotherHypo == Pdg::kDSStar) { // to include D* -> D π0/γ, D* -> D0 π, and Ds* -> Ds π0/γ
676676
depthMax += 1;
677677
}
678678
int index0CharmMother = RecoDecay::getMother(particlesMc, particleProng0, cHadronMotherHypo, true, &sign, depthMax);

0 commit comments

Comments
 (0)