Repository navigation
Fix residual MCH misalignment prefetch ordering - #2566
Merged
Merged
Conversation
|
REQUEST FOR PRODUCTION RELEASES: This will add The following labels are available |
Contributor
Author
|
@lmassacr, could you please check? |
Contributor
|
Thanks a lot ! Will take a look asap. |
sawenzel
approved these changes
Nov 26, 2026
Contributor
Author
|
Thank you for the prompt action, @sawenzel :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
sim_alignmenttask downloads residual alignment objects (MCH/MisCalib/Align,MID/MisCalib/Align), overwriting the standard alignment objects in the local CCDB cache. Without proper task dependencies,geomprefetchcan 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:
SIM_ALIGNMENT_PREFETCH_TASKimmediately afterGEOM_PREFETCH_TASKsim_alignmentdependent on geomprefetch to ensure that the reconstruction geometry is created before overwriting the alignment objectssim_alignmenttoprecollcontextdependencies to ensure that residual alignment objects are fetched before Geant transport stageValidation:
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