Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 {
Expand Down
3 changes: 3 additions & 0 deletions Detectors/GlobalTrackingWorkflow/study/src/TrackMCStudy.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down