@@ -1464,19 +1464,19 @@ struct DndetaMFTPbPb {
14641464
14651465 PROCESS_SWITCH (DndetaMFTPbPb, processTagging, " Collect event sample stats" , true );
14661466
1467- std::vector<int > NtrkPerCol ;
1468- std::vector<float > CentPerCol ;
1469- std::vector<float > OccPerCol ;
1467+ std::vector<int > nTrkPerCol ;
1468+ std::vector<float > centPerCol ;
1469+ std::vector<float > occPerCol ;
14701470
14711471 // / @brief process function for counting tracks
14721472 template <typename C>
14731473 void processData (typename C::iterator const & collision,
14741474 aod::MFTTracks const & tracks,
14751475 CollBCs const & /* bcs*/ )
14761476 {
1477- NtrkPerCol .clear ();
1478- CentPerCol .clear ();
1479- OccPerCol .clear ();
1477+ nTrkPerCol .clear ();
1478+ centPerCol .clear ();
1479+ occPerCol .clear ();
14801480 float c = getRecoCent (collision);
14811481 float occ = getOccupancy (collision, eventCuts.occupancyEstimator );
14821482 auto bc = collision.template foundBC_as <CollBCs>();
@@ -1501,22 +1501,22 @@ struct DndetaMFTPbPb {
15011501 }
15021502 if (!gConf .useEvtSel || isGoodEvent<true >(collision)) {
15031503 auto z = collision.posZ ();
1504- CentPerCol .emplace_back (c);
1505- OccPerCol .emplace_back (occ);
1504+ centPerCol .emplace_back (c);
1505+ occPerCol .emplace_back (occ);
15061506 if constexpr (has_reco_cent<C>) {
15071507 registryData.fill (HIST (" Events/Centrality/DataEvtStatus" ), static_cast <float >(DataEvtStatus::kDataSel ), c, occ);
15081508 registryData.fill (HIST (" Events/Centrality/hZvtxCent" ), z, c, occ);
15091509 } else {
15101510 registryData.fill (HIST (" Events/DataEvtStatus" ), static_cast <float >(DataEvtStatus::kDataSel ), occ);
15111511 }
15121512 auto nTrk = countTracks<C>(tracks, z, c, occ);
1513- NtrkPerCol .emplace_back (nTrk);
1513+ nTrkPerCol .emplace_back (nTrk);
15141514 if (gConf .fillTrackQaHist ) {
1515- for (auto i = 0U ; i < NtrkPerCol .size (); ++i) {
1515+ for (auto i = 0U ; i < nTrkPerCol .size (); ++i) {
15161516 if constexpr (has_reco_cent<C>) {
1517- registryData.fill (HIST (" Events/Centrality/NtrkZvtx" ), NtrkPerCol [i], z, CentPerCol [i], OccPerCol [i]);
1517+ registryData.fill (HIST (" Events/Centrality/NtrkZvtx" ), nTrkPerCol [i], z, centPerCol [i], occPerCol [i]);
15181518 } else {
1519- registryData.fill (HIST (" Events/NtrkZvtx" ), NtrkPerCol [i], z, OccPerCol [i]);
1519+ registryData.fill (HIST (" Events/NtrkZvtx" ), nTrkPerCol [i], z, occPerCol [i]);
15201520 }
15211521 }
15221522 }
@@ -1536,9 +1536,9 @@ struct DndetaMFTPbPb {
15361536 soa::SmallGroups<aod::BestCollisionsFwd3d> const & besttracks,
15371537 CollBCs const & /* bcs*/ )
15381538 {
1539- NtrkPerCol .clear ();
1540- CentPerCol .clear ();
1541- OccPerCol .clear ();
1539+ nTrkPerCol .clear ();
1540+ centPerCol .clear ();
1541+ occPerCol .clear ();
15421542 float c = getRecoCent (collision);
15431543 float occ = getOccupancy (collision, eventCuts.occupancyEstimator );
15441544 auto bc = collision.template foundBC_as <CollBCs>();
@@ -1563,22 +1563,22 @@ struct DndetaMFTPbPb {
15631563 }
15641564 if (!gConf .useEvtSel || isGoodEvent<true >(collision)) {
15651565 auto z = collision.posZ ();
1566- CentPerCol .emplace_back (c);
1567- OccPerCol .emplace_back (occ);
1566+ centPerCol .emplace_back (c);
1567+ occPerCol .emplace_back (occ);
15681568 if constexpr (has_reco_cent<C>) {
15691569 registryData.fill (HIST (" Events/Centrality/DataEvtStatus" ), static_cast <float >(DataEvtStatus::kDataSel ), c, occ);
15701570 registryData.fill (HIST (" Events/Centrality/hZvtxCent" ), z, c, occ);
15711571 } else {
15721572 registryData.fill (HIST (" Events/DataEvtStatus" ), static_cast <float >(DataEvtStatus::kDataSel ), occ);
15731573 }
15741574 auto nBestTrks = countBestTracks<C>(tracks, besttracks, z, c, occ);
1575- NtrkPerCol .emplace_back (nBestTrks);
1575+ nTrkPerCol .emplace_back (nBestTrks);
15761576 if (gConf .fillTrackQaHist ) {
1577- for (auto i = 0U ; i < NtrkPerCol .size (); ++i) {
1577+ for (auto i = 0U ; i < nTrkPerCol .size (); ++i) {
15781578 if constexpr (has_reco_cent<C>) {
1579- registryData.fill (HIST (" Events/Centrality/NtrkZvtx" ), NtrkPerCol [i], z, CentPerCol [i], OccPerCol [i]);
1579+ registryData.fill (HIST (" Events/Centrality/NtrkZvtx" ), nTrkPerCol [i], z, centPerCol [i], occPerCol [i]);
15801580 } else {
1581- registryData.fill (HIST (" Events/NtrkZvtx" ), NtrkPerCol [i], z, OccPerCol [i]);
1581+ registryData.fill (HIST (" Events/NtrkZvtx" ), nTrkPerCol [i], z, occPerCol [i]);
15821582 }
15831583 }
15841584 }
@@ -1661,19 +1661,19 @@ struct DndetaMFTPbPb {
16611661 Partition<aod::McParticles> mcSample = (aod::mcparticle::eta < trackCuts.maxEta) && (aod::mcparticle::eta > trackCuts.minEta);
16621662 Preslice<MftTracksLabeled> perColMcFiltTrk = o2::aod::fwdtrack::collisionId;
16631663
1664- std::vector<int > NrecPerCol ;
1665- std::vector<float > CentRecPerCol ;
1666- std::vector<float > OccRecPerCol ;
1664+ std::vector<int > nRecPerCol ;
1665+ std::vector<float > centRecPerCol ;
1666+ std::vector<float > occRecPerCol ;
16671667
16681668 template <typename MC , typename C>
16691669 void processMc (typename MC ::iterator const & mcCollision,
16701670 soa::SmallGroups<soa::Join<C, aod::McCollisionLabels>> const & collisions,
16711671 aod::McParticles const & particles,
16721672 MftTracksLabeled const & tracks)
16731673 {
1674- NrecPerCol .clear ();
1675- CentRecPerCol .clear ();
1676- OccRecPerCol .clear ();
1674+ nRecPerCol .clear ();
1675+ centRecPerCol .clear ();
1676+ occRecPerCol .clear ();
16771677 LOGP (debug, " MC col {} has {} reco cols" , mcCollision.globalIndex (), collisions.size ());
16781678 float occGen = -1 .;
16791679 for (const auto & collision : collisions) {
@@ -1714,8 +1714,8 @@ struct DndetaMFTPbPb {
17141714 registryMC.fill (HIST (" Events/McEvtStatus" ), static_cast <float >(McEvtStatus::kMcRecAll ), occRec);
17151715 }
17161716 if (!gConf .useEvtSel || isGoodEvent<true >(collision)) {
1717- CentRecPerCol .emplace_back (cRec);
1718- OccRecPerCol .emplace_back (occRec);
1717+ centRecPerCol .emplace_back (cRec);
1718+ occRecPerCol .emplace_back (occRec);
17191719 gtZeroColl = true ;
17201720 ++gtOneColl;
17211721 if constexpr (has_reco_cent<C>) {
@@ -1796,18 +1796,18 @@ struct DndetaMFTPbPb {
17961796 }
17971797 }
17981798 }
1799- NrecPerCol .emplace_back (nTrkRec);
1799+ nRecPerCol .emplace_back (nTrkRec);
18001800 if (eventCuts.useZDiffCut ) {
18011801 if (std::abs (collision.posZ () - mcCollision.posZ ()) > eventCuts.maxZvtxDiff ) {
18021802 continue ;
18031803 }
18041804 }
18051805 if (gConf .fillTrackQaHist ) {
1806- for (auto i = 0U ; i < NrecPerCol .size (); ++i) {
1806+ for (auto i = 0U ; i < nRecPerCol .size (); ++i) {
18071807 if constexpr (has_reco_cent<C>) {
1808- registryMC.fill (HIST (" Events/Centrality/NtrkZvtxGen" ), NrecPerCol [i], collision.posZ (), CentRecPerCol [i], OccRecPerCol [i]);
1808+ registryMC.fill (HIST (" Events/Centrality/NtrkZvtxGen" ), nRecPerCol [i], collision.posZ (), centRecPerCol [i], occRecPerCol [i]);
18091809 } else {
1810- registryMC.fill (HIST (" Events/NtrkZvtxGen" ), NrecPerCol [i], collision.posZ (), OccRecPerCol [i]);
1810+ registryMC.fill (HIST (" Events/NtrkZvtxGen" ), nRecPerCol [i], collision.posZ (), occRecPerCol [i]);
18111811 }
18121812 }
18131813 if constexpr (has_reco_cent<C>) {
@@ -1884,9 +1884,9 @@ struct DndetaMFTPbPb {
18841884 MftTracksLabeled const & /* tracks*/ ,
18851885 MftBestTracksLabeled const & besttracks)
18861886 {
1887- NrecPerCol .clear ();
1888- CentRecPerCol .clear ();
1889- OccRecPerCol .clear ();
1887+ nRecPerCol .clear ();
1888+ centRecPerCol .clear ();
1889+ occRecPerCol .clear ();
18901890 LOGP (debug, " MC col {} has {} reco cols" , mcCollision.globalIndex (), collisions.size ());
18911891 float occGen = -1 .;
18921892 for (const auto & collision : collisions) {
@@ -1929,8 +1929,8 @@ struct DndetaMFTPbPb {
19291929 registryMC.fill (HIST (" Events/McEvtStatus" ), static_cast <float >(McEvtStatus::kMcRecAll ), occRec);
19301930 }
19311931 if (!gConf .useEvtSel || isGoodEvent<true >(collision)) {
1932- CentRecPerCol .emplace_back (cRec);
1933- OccRecPerCol .emplace_back (occRec);
1932+ centRecPerCol .emplace_back (cRec);
1933+ occRecPerCol .emplace_back (occRec);
19341934 gtZeroColl = true ;
19351935 ++gtOneColl;
19361936 if constexpr (has_reco_cent<C>) {
@@ -2060,18 +2060,18 @@ struct DndetaMFTPbPb {
20602060 }
20612061 }
20622062 }
2063- NrecPerCol .emplace_back (nATrk);
2063+ nRecPerCol .emplace_back (nATrk);
20642064 if (eventCuts.useZDiffCut ) {
20652065 if (std::abs (collision.posZ () - mcCollision.posZ ()) > eventCuts.maxZvtxDiff ) {
20662066 continue ;
20672067 }
20682068 }
20692069 if (gConf .fillTrackQaHist ) {
2070- for (auto i = 0U ; i < NrecPerCol .size (); ++i) {
2070+ for (auto i = 0U ; i < nRecPerCol .size (); ++i) {
20712071 if constexpr (has_reco_cent<C>) {
2072- registryMC.fill (HIST (" Events/Centrality/NtrkZvtxGen" ), NrecPerCol [i], collision.posZ (), CentRecPerCol [i], OccRecPerCol [i]);
2072+ registryMC.fill (HIST (" Events/Centrality/NtrkZvtxGen" ), nRecPerCol [i], collision.posZ (), centRecPerCol [i], occRecPerCol [i]);
20732073 } else {
2074- registryMC.fill (HIST (" Events/NtrkZvtxGen" ), NrecPerCol [i], collision.posZ (), OccRecPerCol [i]);
2074+ registryMC.fill (HIST (" Events/NtrkZvtxGen" ), nRecPerCol [i], collision.posZ (), occRecPerCol [i]);
20752075 }
20762076 }
20772077 if constexpr (has_reco_cent<C>) {
0 commit comments