@@ -433,12 +433,12 @@ struct HfCorrelatorDplusHadrons {
433433 if (std::abs (HfHelper::yDplus (candidate)) >= yCandMax || candidate.pt () <= ptCandMin || candidate.pt () >= ptCandMax) {
434434 continue ;
435435 }
436- // Remove D+ candidates for which at least one daughter has |eta| > 0.8
437- double etaDaugh1 = RecoDecay::eta (std::array{candidate.pxProng0 (), candidate.pyProng0 (), candidate.pzProng0 ()});
438- double etaDaugh2 = RecoDecay::eta (std::array{candidate.pxProng1 (), candidate.pyProng1 (), candidate.pzProng1 ()});
439- double etaDaugh3 = RecoDecay::eta (std::array{candidate.pxProng2 (), candidate.pyProng2 (), candidate.pzProng2 ()});
440- if (std::abs (etaDaugh1) >= kEtaDaughtersMax || std::abs (etaDaugh2) >= kEtaDaughtersMax || std::abs (etaDaugh3) >= kEtaDaughtersMax ) {
441- continue ;
436+ // Remove D+ candidates for which at least one daughter has |eta| > 0.8
437+ double etaDaugh1 = RecoDecay::eta (std::array{candidate.pxProng0 (), candidate.pyProng0 (), candidate.pzProng0 ()});
438+ double etaDaugh2 = RecoDecay::eta (std::array{candidate.pxProng1 (), candidate.pyProng1 (), candidate.pzProng1 ()});
439+ double etaDaugh3 = RecoDecay::eta (std::array{candidate.pxProng2 (), candidate.pyProng2 (), candidate.pzProng2 ()});
440+ if (std::abs (etaDaugh1) >= kEtaDaughtersMax || std::abs (etaDaugh2) >= kEtaDaughtersMax || std::abs (etaDaugh3) >= kEtaDaughtersMax ) {
441+ continue ;
442442 }
443443 // efficiency weight determination
444444 int const effBinD = o2::analysis::findBin (binsPtEfficiencyD, candidate.pt ());
@@ -501,7 +501,7 @@ struct HfCorrelatorDplusHadrons {
501501 if (!track.isGlobalTrackWoDCA ()) {
502502 continue ;
503503 }
504- // Removing Dplus daughters by checking track indices
504+ // Removing Dplus daughters by checking track indices
505505 if (removeDaughters) {
506506 if ((candidate.prong0Id () == track.globalIndex ()) || (candidate.prong1Id () == track.globalIndex ()) || (candidate.prong2Id () == track.globalIndex ())) {
507507 continue ;
0 commit comments