Repository navigation
[PWGHF] Fix a bug related to MC D0bar reflection THnSparse filling for D0 task - #18984
Merged
zhangbiao-phy merged 1 commit intoNov 29, 2026
Conversation
Commit 1151e25 (O2Physics AliceO2Group#17233) removed the unconditional number-of-PV-contributors axis from the reconstructed MC sparse. The axis is now added only when centrality is stored. Three ML D0bar reflection paths without centrality still supplied numPvContributors. HistogramRegistry treats one argument beyond the axis count as a fill weight. In the default nine-axis layout this weighted each D0bar reflection by the number of PV contributors. In the occupancy/IR and track-quality layouts the extra argument also shifted the optional coordinates and turned the last coordinate into the weight. The MC sample showed 34,383,977 summed weights for 696,196 unweighted D0bar reflection entries in the same pT and mass window. Drop the extra argument in those three paths. Validate both reflection categories with and without ML across the five axis layouts using ROOT, including a reproduction of the original implicit weighting.
|
O2 linter results: ❌ 0 errors, |
zhangbiao-phy
marked this pull request as ready for review
November 29, 2026 20:25
zhangbiao-phy
requested review from
NicoleBastid,
alibuild,
apalasciano,
deepathoms,
fcatalan92,
fcolamar,
fgrosa,
gluparel,
hahassan7,
jpxrk,
mfaggin,
mmazzilli,
singhra1994,
stefanopolitano,
vkucera and
xinyepeng
as code owners
November 29, 2026 20:25
zhangbiao-phy
enabled auto-merge (squash)
November 29, 2026 20:25
alibuild
approved these changes
Nov 29, 2026
alibuild
left a comment
Collaborator
There was a problem hiding this comment.
Auto-approving on behalf of @zhangbiao-phy.
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.
Commit 1151e25 (O2Physics #17233) removed the unconditional number-of-PV-contributors axis from the reconstructed MC sparse. The axis is now added only when centrality is stored. Three ML D0bar reflection paths without centrality still supplied numPvContributors.
HistogramRegistry treats one argument beyond the axis count as a fill weight. In the default nine-axis layout this weighted each D0bar reflection by the number of PV contributors. In the occupancy/IR and track-quality layouts the extra argument also shifted the optional coordinates and turned the last coordinate into the weight.
Drop the extra argument in those three paths. Validate both reflection categories with and without ML across the five axis layouts using ROOT, including a reproduction of the original implicit weighting.