Skip to content

Commit 09c67bf

Browse files
authored
Merge pull request #29 from alibuild/alibot-cleanup-13748
Please consider the following formatting changes to #13748
2 parents cf0658d + a8a8173 commit 09c67bf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

PWGHF/HFC/TableProducer/correlatorDplusHadrons.cxx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)