Skip to content

Read alignment only for detectors in the geometry in geomprefetch - #2576

Merged
sawenzel merged 2 commits into
AliceO2Group:masterfrom
sawenzel:geomprefetch-onlydet
Dec 5, 2026
Merged

sawenzel merged 2 commits into
AliceO2Group:masterfrom
sawenzel:geomprefetch-onlydet

Conversation

@sawenzel

@sawenzel sawenzel commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

This PR makes geomprefetch read the alignment only of the detectors in the job's geometry.

  • o2-create-aligned-geometry-workflow ran with the default --onlyDet all, which in MC builds (ENABLE_UPGRADES) read 12 Calib/Align objects per job that cannot be used: the upgrade detectors, TST and CTP.
  • geomprefetch now passes --onlyDet with the built modules known to DetID, minus --skipModules.
  • Tested on an anchored pp job (run 559456): 15 instead of 27 alignment reads, identical aligned geometry, AOD unchanged.

This makes geomprefetch read the alignment only of the detectors that the job's geometry builds, and adds a unit test.

- o2-create-aligned-geometry-workflow ran with its default --onlyDet all.
- With ENABLE_UPGRADES this read 12 Calib/Align objects per job that cannot be used: the upgrade detectors, TST and CTP.
- geomprefetch now passes --onlyDet with the built modules known to DetID, minus --skipModules.
- The aligned geometry of an anchored pp job is unchanged node by node.
@sawenzel
sawenzel requested a review from jackal1-66 as a code owner December 4, 2026 19:28
This shortens the unit tests of geometry_detectors and explains the detector list.

- The tests compare exact --onlyDet strings and now cover the ALICE 3 list.
- The comment on GEOMETRY_DETECTORS says why the list is needed.
@sawenzel
sawenzel merged commit 2e4df75 into AliceO2Group:master Dec 5, 2026
10 checks passed
@sawenzel
sawenzel deleted the geomprefetch-onlydet branch December 5, 2026 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant