Skip to content

Commit 904ee5e

Browse files
authored
EventFiltering/PWGHF: fix B 3prong in case of double mass hypo for D0 (#8197)
1 parent 12f7a04 commit 904ee5e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

EventFiltering/PWGHF/HFFilter.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,8 @@ struct HfFilter { // Main struct for HF triggers
442442
hMassVsPtB[kBplus]->Fill(ptCand, massCand);
443443
}
444444
}
445-
} else if (TESTBIT(isTrackSelected, kSoftPionForBeauty) && ((TESTBIT(selD0, 0) && track.sign() > 0) || (TESTBIT(selD0, 1) && track.sign() < 0))) { // D0 pi+ and D0bar pi-
445+
}
446+
if (!keepEvent[kBeauty3P] && TESTBIT(isTrackSelected, kSoftPionForBeauty) && ((TESTBIT(selD0, 0) && track.sign() > 0) || (TESTBIT(selD0, 1) && track.sign() < 0))) { // D0 pi+ and D0bar pi-
446447
auto pVecBeauty3Prong = RecoDecay::pVec(pVec2Prong, pVecThird);
447448
auto ptCand = RecoDecay::pt(pVecBeauty3Prong);
448449
std::array<float, 2> massDausD0{massPi, massKa};

0 commit comments

Comments
 (0)