Skip to content

Commit 4bf0248

Browse files
authored
Please consider the following formatting changes (#364)
1 parent 3ed6f3f commit 4bf0248

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Common/DataModel/Multiplicity.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ DECLARE_SOA_DYNAMIC_COLUMN(IsInelGt0, isInelGt0, //! is INEL > 0
4646
DECLARE_SOA_DYNAMIC_COLUMN(IsInelGt1, isInelGt1, //! is INEL > 1
4747
[](int multPveta1) -> bool { return multPveta1 > 1; });
4848

49-
// forward track counters
50-
DECLARE_SOA_COLUMN(MFTNtracks, mftNtracks, int); //!
49+
// forward track counters
50+
DECLARE_SOA_COLUMN(MFTNtracks, mftNtracks, int); //!
5151

5252
// MC
5353
DECLARE_SOA_COLUMN(MultMCFT0A, multMCFT0A, int); //!

Common/TableProducer/multiplicityTable.cxx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -629,18 +629,17 @@ struct MultiplicityTable {
629629
case kMultMCExtras: // MC only (nothing to do)
630630
{
631631
} break;
632-
case kMFTMults:
633-
{
632+
case kMFTMults: {
634633
// for centrality estimation with the MFT if desired
635634
// step 1: produce proper grouping
636635
const uint64_t collIdx = collision.globalIndex();
637636
auto mftTracksGrouped = mftTracks.sliceBy(perCollisionMFT, collIdx);
638637
int nTracks = 0;
639638
for (auto& track : mftTracksGrouped) {
640-
if(track.nClusters() >= 5){ // hardcoded on purpose to avoid trouble
639+
if (track.nClusters() >= 5) { // hardcoded on purpose to avoid trouble
641640
nTracks++;
642641
}
643-
}
642+
}
644643
mftMults(nTracks);
645644
} break;
646645
default: // Default

0 commit comments

Comments
 (0)