Skip to content

Allow alternative alignment objects in the simulation geometry - #16216

Merged
sawenzel merged 1 commit into
AliceO2Group:devfrom
sawenzel:swenzel/aligner-path-override
Nov 28, 2026
Merged

sawenzel merged 1 commit into
AliceO2Group:devfrom
sawenzel:swenzel/aligner-path-override

Conversation

@sawenzel

Copy link
Copy Markdown
Collaborator

This adds the parameter align-geom.mAlignPaths, which lets the Aligner take a detector's alignment from another CCDB path, and adds a unit test.

  • Example: align-geom.mAlignPaths=MCH:MCH/MisCalib/Align applies the residual MCH misalignment in o2-sim. The reconstruction geometry is built without the Aligner and is not affected.
  • If the alternative object cannot be fetched for the timestamp, the standard Det/Calib/Align object is used and a warning is printed.
  • A malformed entry, an unknown detector or a detector given twice is an error.
  • This lets O2DPG stop placing MisCalib objects into the local CCDB cache as Det/Calib/Align.

https://its.cern.ch/jira/browse/O2-7374

Assisted by Claude Code.

This adds the parameter align-geom.mAlignPaths, which lets the Aligner take a detector's alignment from another CCDB path, and adds a unit test.

- Example: align-geom.mAlignPaths=MCH:MCH/MisCalib/Align applies the residual MCH misalignment in o2-sim. The reconstruction geometry is built without the Aligner and is not affected.
- If the alternative object cannot be fetched for the timestamp, the standard Det/Calib/Align object is used and a warning is printed.
- A malformed entry, an unknown detector or a detector given twice is an error.
- This lets O2DPG stop placing MisCalib objects into the local CCDB cache as Det/Calib/Align.

https://its.cern.ch/jira/browse/O2-7374

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sawenzel
sawenzel requested a review from shahor02 as a code owner November 26, 2026 16:55
@sawenzel
sawenzel merged commit b338eb4 into AliceO2Group:dev Nov 28, 2026
11 of 12 checks passed
sawenzel added a commit to AliceO2Group/O2DPG that referenced this pull request Nov 29, 2026
This simplifies the alignment procedure for MC by getting rid of the sim_alignment task. o2-sim now uses MCH/MisCalib/Align when these objects are available and falls back to MCH/Calib/Align when not. This builds upon #2566 but makes it leaner, and fixes a failure in the nightly productions.

- Fixes the crashes in the nightly GRID test, introduced since AliceO2Group/AliceO2#16215.
- Keeps only standard objects in the local CCDB cache, so the task ordering of #2566 is no longer needed.
- Requires AliceO2Group/AliceO2#16216 (daily-20261129 or later).
- Allows switching the residual off with -confKey "align-geom.mAlignPaths=MCH:MCH/Calib/Align".

https://its.cern.ch/jira/browse/O2-7374

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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