Skip to content

Extend RecoContainer to support ITS and MFT cluster access per layer - #15861

Merged
shahor02 merged 1 commit into
AliceO2Group:devfrom
shahor02:pr_recocontN
Sep 29, 2026
Merged

shahor02 merged 1 commit into
AliceO2Group:devfrom
shahor02:pr_recocontN

Conversation

@shahor02

Copy link
Copy Markdown
Collaborator

When per-layer input for ITS (MFT) clusters is expected, one should do:

  1. Before calling DataRequest::requestITSClusters or batch methods calling this request, one should call DataRequest::setITSPerLayer(v=true) method.

  2. Once RecoContainer::collectData was invoked, query clusters and related data via usual methods
    getITSClustersROFRecords, getITSClusters, getITSClustersPatterns, getITSClustersMCLabels with an extra argument (int layer=0).

Note that in case of old access mode (not per layer) the call to e.g. getITSClusters(0) and the equivalent getITSClusters() will return the usual flat span of clusters covering all layers.

@shahor02
shahor02 requested review from a team and davidrohr as code owners September 28, 2026 23:11
When per-layer input for ITS (MFT) clusters is expected, one should do:

1) Before caling DataRequest::requestITSClusters or batch methods calling this request
one should call DataRequest::setITSPerLayer(v=true) method.

2) Once RecoContainer::collectData was invoked, query clusters and related data via
usual methods getITSClustersROFRecords, getITSClusters, getITSClustersPatterns, getITSClustersMCLabels with
extra argument (int layer=0).

Note that in case of old access mode (not per layer) the call to e.g. getITSClusters(0) and
equivalent getITSClusters() will return usual flat span of clusters covering all layers.
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2/fullCI_slc9 for c1bf91f at 2026-09-29 01:24:

No log files found

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2/fullCI_slc9 for 4c57197 at 2026-09-29 01:24:

## sw/BUILD/O2-latest/log
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/DataFormats/Detectors/GlobalTracking/src/RecoContainer.cxx:59:6: error: redefinition of 'void o2::globaltracking::DataRequest::setITSPerLayer(bool)'
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/DataFormats/Detectors/GlobalTracking/src/RecoContainer.cxx:67:6: error: redefinition of 'void o2::globaltracking::DataRequest::setMFTPerLayer(bool)'
ninja: build stopped: subcommand failed.

Full log here.

@shahor02

Copy link
Copy Markdown
Collaborator Author

Verified that the old reconstruction results are fully preserved, merging.

@shahor02
shahor02 merged commit 4acbd0a into AliceO2Group:dev Sep 29, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants