Skip to content

Conversation

@romainschotter
Copy link
Collaborator

Fix bug about the filling of V0CoreMCLabels, when operating the strangeness builder in symmetric mode (each V0Cores entry having a corresponding V0MCCores entry, i.e. the two tables are joinable), leading to the access of the wrong V0MCCores entry.

This bug only occurs if one uses V0CoreMCLabels to access the V0 MC information (by de-referencing V0MCCores). The problem is not present if one joins the V0Cores and V0MCCores tables instead.

Here is a comparison of the invariant mass distribution of K0s (requiring correct MC association) with and without this fix, compared to the reference (joining V0Cores and V0MCCores, in which case the bug does not occur):
FixV0CoreMCLabels.pdf

Thank you very much @amatyja for reporting this bug!

@ddobrigk for your information

@github-actions github-actions bot added the pwglf label Dec 20, 2025
@github-actions
Copy link

O2 linter results: ❌ 32 errors, ⚠️ 49 warnings, 🔕 0 disabled

@github-actions github-actions bot changed the title Fix filling of V0CoreMCLabel in symmetric mode [PWGLF] Fix filling of V0CoreMCLabel in symmetric mode Dec 20, 2025
@romainschotter romainschotter marked this pull request as ready for review December 20, 2025 00:22
@romainschotter romainschotter enabled auto-merge (squash) December 20, 2025 00:22
Copy link
Collaborator

@alibuild alibuild left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approving on behalf of @romainschotter.

@romainschotter romainschotter merged commit f66700d into AliceO2Group:master Dec 20, 2025
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants