diff --git a/Common/DataModel/Multiplicity.h b/Common/DataModel/Multiplicity.h index ea80727addb..40175ded7a4 100644 --- a/Common/DataModel/Multiplicity.h +++ b/Common/DataModel/Multiplicity.h @@ -46,8 +46,8 @@ DECLARE_SOA_DYNAMIC_COLUMN(IsInelGt0, isInelGt0, //! is INEL > 0 DECLARE_SOA_DYNAMIC_COLUMN(IsInelGt1, isInelGt1, //! is INEL > 1 [](int multPveta1) -> bool { return multPveta1 > 1; }); -// forward track counters -DECLARE_SOA_COLUMN(MFTNtracks, mftNtracks, int); //! +// forward track counters +DECLARE_SOA_COLUMN(MFTNtracks, mftNtracks, int); //! // MC DECLARE_SOA_COLUMN(MultMCFT0A, multMCFT0A, int); //! diff --git a/Common/TableProducer/multiplicityTable.cxx b/Common/TableProducer/multiplicityTable.cxx index 763f1c50ae1..2f9040b569c 100644 --- a/Common/TableProducer/multiplicityTable.cxx +++ b/Common/TableProducer/multiplicityTable.cxx @@ -629,18 +629,17 @@ struct MultiplicityTable { case kMultMCExtras: // MC only (nothing to do) { } break; - case kMFTMults: - { + case kMFTMults: { // for centrality estimation with the MFT if desired // step 1: produce proper grouping const uint64_t collIdx = collision.globalIndex(); auto mftTracksGrouped = mftTracks.sliceBy(perCollisionMFT, collIdx); int nTracks = 0; for (auto& track : mftTracksGrouped) { - if(track.nClusters() >= 5){ // hardcoded on purpose to avoid trouble + if (track.nClusters() >= 5) { // hardcoded on purpose to avoid trouble nTracks++; } - } + } mftMults(nTracks); } break; default: // Default