@@ -556,7 +556,9 @@ struct EbyeMaker {
556556 if (track.trackType () == o2::aod::track::TrackTypeEnum::Run2Tracklet && std::abs (track.eta ()) < trklEtaMax && !(doprocessRun3 || doprocessMcRun3)) { // tracklet
557557 nTrackletsColl++;
558558 }
559-
559+ else if (std::abs (track.eta ()) < trklEtaMax && track.itsNcls () > 3 && (doprocessRun3 || doprocessMcRun3)) { // ITS only + global tracks
560+ nTrackletsColl++;
561+ }
560562 if (!selectTrack (track)) {
561563 continue ;
562564 }
@@ -925,7 +927,7 @@ struct EbyeMaker {
925927 histos.fill (HIST (" QA/PvMultVsCent" ), centrality, collision.numContrib ());
926928 fillRecoEvent (collision, tracks, v0TableThisCollision, centrality);
927929
928- miniCollTable (static_cast <int8_t >(collision.posZ () * 10 ), 0x0 , 0x0 , centrality, nTracksColl);
930+ miniCollTable (static_cast <int8_t >(collision.posZ () * 10 ), 0x0 , nTrackletsColl , centrality, nTracksColl);
929931
930932 for (auto & candidateTrack : candidateTracks[0 ]) { // o2-linter: disable=const-ref-in-for-loop (not a const ref)
931933 auto tk = tracks.rawIteratorAt (candidateTrack.globalIndex );
@@ -1104,7 +1106,7 @@ struct EbyeMaker {
11041106 fillMcEvent (collision, tracks, v0TableThisCollision, centrality, mcParticles, mcLab);
11051107 fillMcGen (mcParticles, mcLab, collision.mcCollisionId ());
11061108
1107- miniCollTable (static_cast <int8_t >(collision.posZ () * 10 ), nChPartGen, 0x0 , centrality, nTracksColl);
1109+ miniCollTable (static_cast <int8_t >(collision.posZ () * 10 ), nChPartGen, nTrackletsColl , centrality, nTracksColl);
11081110
11091111 for (auto & candidateTrack : candidateTracks[0 ]) { // o2-linter: disable=const-ref-in-for-loop (not a const ref)
11101112 int selMask = -1 ;
0 commit comments