Skip to content

Fix residual MCH misalignment prefetch ordering - #2566

Merged
sawenzel merged 1 commit into
AliceO2Group:masterfrom
nburmaso:sim-workflow-geo-ordering
Nov 26, 2026
Merged

sawenzel merged 1 commit into
AliceO2Group:masterfrom
nburmaso:sim-workflow-geo-ordering

Conversation

@nburmaso

@nburmaso nburmaso commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

The sim_alignment task downloads residual alignment objects (MCH/MisCalib/Align, MID/MisCalib/Align), overwriting the standard alignment objects in the local CCDB cache. Without proper task dependencies, geomprefetch can use these overwritten objects when creating the reconstruction geometry, effectively cancelling residual misalignment effects.

See MUON week, 24 February 2026, slides 16–23 (in particular slide 19).

Changes:

  • Move SIM_ALIGNMENT_PREFETCH_TASK immediately after GEOM_PREFETCH_TASK
  • Make sim_alignment dependent on geomprefetch to ensure that the reconstruction geometry is created before overwriting the alignment objects
  • Add sim_alignment to precollcontext dependencies to ensure that residual alignment objects are fetched before Geant transport stage

Validation:
Tested with O2PDPSuite/MC-prod-2026-v14-1 by applying same changes to corresponding script. Global positions and orientations of MCH half-chambers and detection elements are compared between simulation and reconstruction geometries:

Before the fix: zero differences within numerical precision - mch_geometry_comparison-before-fix.pdf

After the fix: visible differences, as expected - mch_geometry_comparison-after-fix.pdf

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

@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

@nburmaso

Copy link
Copy Markdown
Contributor Author

@lmassacr, could you please check?

@sawenzel

Copy link
Copy Markdown
Contributor

Thanks a lot ! Will take a look asap.

@sawenzel
sawenzel merged commit d4fdb4f into AliceO2Group:master Nov 26, 2026
11 checks passed
@nburmaso

Copy link
Copy Markdown
Contributor Author

Thank you for the prompt action, @sawenzel :)

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.

2 participants