[PWGLF] Updates on resonanceModuleInitializer - #17762
Merged
vkucera merged 6 commits intoSep 4, 2026
Merged
Conversation
Add versioned modular resonance tables and original-collision grouping, refine daughter pair selection and compressed track outputs, extend MC production, and update event and daughter QA configuration.
|
O2 linter results: ❌ 0 errors, |
Please consider the following formatting changes to AliceO2Group#17762
mjkim525
marked this pull request as ready for review
September 4, 2026 07:46
mjkim525
requested review from
HorstMa,
abmodak,
alibuild,
dmallick2,
ercolessi,
gbencedi,
lhusova,
maciacco,
mario-krueger,
mpuccio,
omvazque,
prottayCMT,
romainschotter,
skundu692 and
smaff92
as code owners
September 4, 2026 07:46
Collaborator
|
Error while checking build/O2Physics/code-check for 81d9f61 at 2026-09-04 10:10: Full log here. |
dmallick2
approved these changes
Sep 4, 2026
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.
Summary
This PR represents the final major update building on the previous work on
resonanceModuleInitializerand introduces versioned resonance tables for the modular production workflow. Only minor follow-up changes are expected after this PR.This update adds v001 versions of the
ResoCollisionandResoMicroTracktables with revised contents and more compact storage. It also completes the MC implementation of the modular initializer. The existing v000 tables and aliases remain unchanged for backward compatibility, while modular consumers can explicitly use the new v001 tables.Main changes
Collision grouping and data model
ResoCollisions_001with:ResoCollisionGroups_001, which stores the original collision row as a scalar value.Track and MicroTrack production
ResoMicroTracks_001.ResoMicroTracks_001PID and DCA encodingResoMicroTracks_001stores PID and DCA information using compact, cut-oriented encodings. The encoded values represent intervals rather than the original floating-point measurements.PID encoding
Each particle hypothesis—pion, kaon, and proton—uses one
uint8_tcolumn:Each four-bit field preserves the sign and encodes the magnitude as follows:
[0, 2.0)0.0[2.0, 2.25)2.0[2.25, 2.5)2.25[2.5, 2.75)2.5[2.75, 3.0)2.75[3.0, 3.25)3.0[3.25, 3.5)3.25[3.5, ∞)The most significant bit of each four-bit field stores the sign. Code
8is reserved for non-finite or unavailable values and decodes toNaN. Missing TOF information is additionally identified through thekHasTOFtrack flag.This representation preserves exact decisions for zero-centred strict cuts
when
Off-grid thresholds, non-zero-centred windows, and inclusive comparisons such as
<=cannot generally reproduce the original floating-point decision exactly.DCA encoding
DCAxy and DCAz share one
uint8_tcolumn:Each three-bit DCA field uses the following mapping:
[0, 0.025)cm0.000cm[0.025, 0.050)cm0.025cm[0.050, 0.075)cm0.050cm[0.075, 0.100)cm0.075cm[0.100, 0.125)cm0.100cm[0.125, 0.150)cm0.125cm[0.150, ∞)cm0.150cmNaNOnly the absolute DCA values are retained; their signs are not stored.
This representation preserves exact decisions for strict cuts
when
The pT-dependent DCAxy and DCAz decisions are evaluated using the original, unquantized values and stored separately in bits 7 and 6.
Pair-aware daughter production
The pair-gate mechanism was introduced to reduce unnecessary PV-track output for resonance analyses combining tracks with V0 or Cascade candidates. Previously, it only rejected tracks from collisions without the required candidate tables.
V0 and Cascade selection
MC support
ResoMCCollisions_001containing generator-level information only:Event selection and QA