File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -494,6 +494,13 @@ struct HfCorrelatorDplusHadrons {
494494 if (!track.isGlobalTrackWoDCA ()) {
495495 continue ;
496496 }
497+ // Removing Dplus daughters for which |eta|>0.8
498+ double etaDaugh1 = RecoDecay::eta (std::array{candidate.pxProng0 (), candidate.pyProng0 (), candidate.pzProng0 ()});
499+ double etaDaugh2 = RecoDecay::eta (std::array{candidate.pxProng1 (), candidate.pyProng1 (), candidate.pzProng1 ()});
500+ double etaDaugh3 = RecoDecay::eta (std::array{candidate.pxProng2 (), candidate.pyProng2 (), candidate.pzProng2 ()});
501+ if (std::abs (etaDaugh1) >= kEtaDaughtersMax || std::abs (etaDaugh2) >= kEtaDaughtersMax || std::abs (etaDaugh3) >= kEtaDaughtersMax ) {
502+ continue ;
503+ }
497504 // Removing Dplus daughters by checking track indices
498505 if (removeDaughters) {
499506 if ((candidate.prong0Id () == track.globalIndex ()) || (candidate.prong1Id () == track.globalIndex ()) || (candidate.prong2Id () == track.globalIndex ())) {
You can’t perform that action at this time.
0 commit comments