Skip to content

Commit 773b784

Browse files
authored
Merge pull request #26 from alibuild/alibot-cleanup-15941
Please consider the following formatting changes to #15941
2 parents f6880e6 + 1c430ce commit 773b784

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

PWGHF/D2H/Tasks/taskPtFlucCharmHadrons.cxx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -255,18 +255,18 @@ struct HfTaskPtFlucCharmHadrons {
255255
int removedCount = 0;
256256
float removedSumPt = 0.f;
257257
auto removeDaug = [&](int daugID, float daugPt) {
258-
if (std::binary_search(trkIDs.begin(), trkIDs.end(), daugID)) {
259-
removedSumPt += daugPt;
260-
++removedCount;
261-
}
258+
if (std::binary_search(trkIDs.begin(), trkIDs.end(), daugID)) {
259+
removedSumPt += daugPt;
260+
++removedCount;
261+
}
262262
};
263263
if constexpr (Channel == DecayChannel::DplusToPiKPi) {
264-
removeDaug(cand.prong0Id(), cand.ptProng0());
265-
removeDaug(cand.prong1Id(), cand.ptProng1());
266-
removeDaug(cand.prong2Id(), cand.ptProng2());
264+
removeDaug(cand.prong0Id(), cand.ptProng0());
265+
removeDaug(cand.prong1Id(), cand.ptProng1());
266+
removeDaug(cand.prong2Id(), cand.ptProng2());
267267
} else if constexpr (Channel == DecayChannel::D0ToPiK || Channel == DecayChannel::D0ToKPi) {
268-
removeDaug(cand.prong0Id(), cand.ptProng0());
269-
removeDaug(cand.prong1Id(), cand.ptProng1());
268+
removeDaug(cand.prong0Id(), cand.ptProng0());
269+
removeDaug(cand.prong1Id(), cand.ptProng1());
270270
}
271271
if (removedCount > 0) {
272272
double totalSum = static_cast<double>(rawMeanPt) * n;

0 commit comments

Comments
 (0)