Skip to content

Use the transport alignment settings for the MC reconstruction geometry - #2568

Open
sawenzel wants to merge 1 commit into
AliceO2Group:masterfrom
sawenzel:swenzel/anchored-no-alignment
Open

sawenzel wants to merge 1 commit into
AliceO2Group:masterfrom
sawenzel:swenzel/anchored-no-alignment

Conversation

@sawenzel

Copy link
Copy Markdown
Contributor

This PR makes the geomprefetch task align the same detectors as o2-sim. So far align-geom.mDetectors in -confKey switched the alignment off in transport only, and reconstruction still used the geometry aligned for all detectors.

The key is now read from -confKey and passed to o2-create-aligned-geometry-workflow, so -confKey "align-geom.mDetectors=none" gives the ideal geometry in transport and reconstruction. The ITS GeometryTGeo from geomprefetch is now also used when ITS is not aligned in transport.

Tested with geomprefetch on an anchored pp setup (run 536683): with none the cached reconstruction geometry is ideal (0 of 5.3M nodes differ from GLO/Config/Geometry), also with the parallel world on; with MCH,MID only the muon arm is aligned; without the key the geometry is unchanged. A full chain with the switch off was not run.

Note that only -confKey is honoured: align-geom set in an --ini file reaches o2-sim but not geomprefetch, and the background (-confKeyBkg) and QED (-confKeyQED) transports keep their own setting. This needs the AliceO2 change AliceO2Group/AliceO2#16207; older tags ignore the key and keep the aligned geometry.

Assisted by Claude Code.

This makes the geomprefetch task align the same detectors as o2-sim and adds
a unit test.

- geomprefetch built GLO/Config/GeometryAligned with the alignment of all
  detectors, even when align-geom.mDetectors in -confKey switched it off in
  transport.
- align-geom.mDetectors is now read from -confKey, trimmed as
  ConfigurableParam does, and passed to o2-create-aligned-geometry-workflow.
- align-geom.mDetectors=none now gives the ideal geometry in transport and
  reconstruction.
- The ITS GeometryTGeo of geomprefetch is now also used when ITS is not
  aligned in transport, not only without the parallel world.
- This needs the AliceO2 change that makes the tool honour
  align-geom.mDetectors; older versions ignore the key.

AliceO2Group/AliceO2#16207
@sawenzel
sawenzel requested a review from jackal1-66 as a code owner November 26, 2026 13:51
@github-actions

Copy link
Copy Markdown

REQUEST FOR PRODUCTION RELEASES:
To request your PR to be included in production software, please add the corresponding labels called "async-" to your PR. Add the labels directly (if you have the permissions) or add a comment of the form (note that labels are separated by a ",")

+async-label <label1>, <label2>, !<label3> ...

This will add <label1> and <label2> and removes <label3>.

The following labels are available
async-2023-pbpb-apass4
async-2023-pp-apass4
async-2024-pp-apass1
async-2022-pp-apass7
async-2024-pp-cpass0
async-2024-PbPb-apass1
async-2024-ppRef-apass1
async-2024-PbPb-apass2
async-2023-PbPb-apass5

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