Skip to content

Commit 2ecf581

Browse files
authored
[PWGHF] Fix typos in MC matching for Lb (#14391)
1 parent c985c8c commit 2ecf581

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
@@ -912,7 +912,7 @@ struct HfDataCreatorCharmHadPiReduced {
912912
indexRec = RecoDecay::getMatchedMCRec<true, false, false, true, true>(particlesMc, std::array{vecDaughtersB[0], vecDaughtersB[1], vecDaughtersB[2], vecDaughtersB[3]}, Pdg::kB0, std::array{-kPiPlus, +kKPlus, -kPiPlus, +kPiPlus}, true, &sign, 3);
913913
if (indexRec > -1) {
914914
// D- → (π- K+ π-
915-
indexRec = RecoDecay::getMatchedMCRec<false, false, false, true, true>(particlesMc, std::array{vecDaughtersB[0], vecDaughtersB[1], vecDaughtersB[2]}, -Pdg::kDMinus, std::array{-kPiPlus, +kKPlus, -kPiPlus}, true, &sign, 2);
915+
indexRec = RecoDecay::getMatchedMCRec<false, false, false, true, true>(particlesMc, std::array{vecDaughtersB[0], vecDaughtersB[1], vecDaughtersB[2]}, Pdg::kDMinus, std::array{-kPiPlus, +kKPlus, -kPiPlus}, true, &sign, 2);
916916
if (indexRec > -1) {
917917
flag = sign * BIT(hf_cand_lb::DecayTypeMc::B0ToDplusPiToPiKPiPi);
918918
}
@@ -940,7 +940,7 @@ struct HfDataCreatorCharmHadPiReduced {
940940
// look for common b-hadron ancestor
941941
if (index0Mother > -1 && index1Mother > -1 && index2Mother > -1 && index3Mother > -1) {
942942
if (index0Mother == index1Mother && index1Mother == index2Mother && index2Mother == index3Mother) {
943-
flag = BIT(hf_cand_b0::DecayTypeMc::PartlyRecoDecay);
943+
flag = BIT(hf_cand_lb::DecayTypeMc::PartlyRecoDecay);
944944
pdgCodeBeautyMother = particlesMc.rawIteratorAt(index0Mother).pdgCode();
945945
pdgCodeCharmMother = 0;
946946
pdgCodeProng0 = particleProng0.pdgCode();

0 commit comments

Comments
 (0)