@@ -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