Skip to content

Commit adaa5d3

Browse files
authored
Fix MegaLinter error
1 parent 9532383 commit adaa5d3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

PWGCF/TwoParticleCorrelations/Tasks/longrangecorrDerived.cxx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,9 @@ struct LongrangecorrDerived {
308308
multiplicity = col.centrality();
309309
else
310310
multiplicity = col.multiplicity();
311-
} else
311+
} else {
312312
multiplicity = col.multiplicity();
313+
}
313314
fillCorrHist<CorrelationContainer::kCFStepReconstructed>(same, triggers, assocs, false, col.zvtx(), multiplicity, 1.0);
314315
} // process same
315316

@@ -330,8 +331,9 @@ struct LongrangecorrDerived {
330331
multiplicity = col.centrality();
331332
else
332333
multiplicity = col.multiplicity();
333-
} else
334+
} else {
334335
multiplicity = col.multiplicity();
336+
}
335337
return multiplicity;
336338
};
337339
using MixedBinning = FlexibleBinningPolicy<std::tuple<decltype(getMultiplicity)>, aod::lrcorrcolltable::Zvtx, decltype(getMultiplicity)>;
@@ -354,8 +356,9 @@ struct LongrangecorrDerived {
354356
multiplicity = col1.centrality();
355357
else
356358
multiplicity = col1.multiplicity();
357-
} else
359+
} else {
358360
multiplicity = col1.multiplicity();
361+
}
359362
fillCorrHist<CorrelationContainer::kCFStepReconstructed>(mixed, tracks1, tracks2, true, col1.zvtx(), multiplicity, eventweight);
360363
} // pair loop
361364
} // process mixed

0 commit comments

Comments
 (0)