From 07de19941b220a2fdad71152ee49f3151d271cd0 Mon Sep 17 00:00:00 2001 From: shahoian Date: Wed, 2 Dec 2026 15:52:58 +0100 Subject: [PATCH] MCStudy MCTrackInfo Counts separately ASide clusters --- .../study/include/GlobalTrackingStudy/TrackMCStudyTypes.h | 3 ++- Detectors/GlobalTrackingWorkflow/study/src/TrackMCStudy.cxx | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Detectors/GlobalTrackingWorkflow/study/include/GlobalTrackingStudy/TrackMCStudyTypes.h b/Detectors/GlobalTrackingWorkflow/study/include/GlobalTrackingStudy/TrackMCStudyTypes.h index a08df5f67ea92..4547f8649c604 100644 --- a/Detectors/GlobalTrackingWorkflow/study/include/GlobalTrackingStudy/TrackMCStudyTypes.h +++ b/Detectors/GlobalTrackingWorkflow/study/include/GlobalTrackingStudy/TrackMCStudyTypes.h @@ -44,6 +44,7 @@ struct MCTrackInfo { int pdgParent = 0; int parentEntry = -1; int16_t nTPCCl = 0; + int16_t nTPCClASide = 0; int16_t nTPCClShared = 0; int8_t parentDecID = -1; uint8_t minTPCRow = -1; @@ -75,7 +76,7 @@ struct MCTrackInfo { float getTrackParTPCPar(int i, float b, float x = 90) const; float getTrackParTPCPhiSec(float b, float x = 90) const; - ClassDefNV(MCTrackInfo, 8); + ClassDefNV(MCTrackInfo, 9); }; struct RecTrack { diff --git a/Detectors/GlobalTrackingWorkflow/study/src/TrackMCStudy.cxx b/Detectors/GlobalTrackingWorkflow/study/src/TrackMCStudy.cxx index b25adfc31db61..ff27b78f2ad8f 100644 --- a/Detectors/GlobalTrackingWorkflow/study/src/TrackMCStudy.cxx +++ b/Detectors/GlobalTrackingWorkflow/study/src/TrackMCStudy.cxx @@ -956,6 +956,9 @@ void TrackMCStudy::fillMCClusterInfo(const o2::globaltracking::RecoContainer& re } auto& mctr = entry->second.mcTrackInfo; mctr.nTPCCl++; + if (sector < 18) { + mctr.nTPCClASide++; + } if (row > mctr.maxTPCRow) { mctr.maxTPCRow = row; mctr.maxTPCRowSect = sector;