[PWGJE] jet-spectra-charged: weighted-bind fix + add gen-only spectra task#16545
Merged
nzardosh merged 1 commit intoJun 5, 2026
Merged
Conversation
|
O2 linter results: ❌ 1 errors, |
… task - jetSpectraCharged.cxx: bind aod::JetMcCollisions explicitly in the four Weighted process functions to avoid an auto-resolved wrong-table iterator on JJ-MC AODs that triggered a runtime FATAL in multi-R pipelines. - pTHat reads go through rawIteratorAt(mcCollisionId) and fall back to the weight-derived value when the stored ptHard is the placeholder sentinel (named kBrokenPtHardSentinel = 1.0f). - jetSpectraChargedGen.cxx (new): MCP-only charged-jet spectra task for generator-only AODs; 4 process functions covering unweighted/weighted × inclusive/area-sub; xsectGen() filled into p_xSection TProfile (HepMC convention, pb). - CMakeLists.txt: register o2-analysis-je-jet-spectra-charged-gen. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
e09188e to
abe8b25
Compare
nzardosh
approved these changes
Jun 5, 2026
jjuracka
pushed a commit
to jjuracka/O2Physics
that referenced
this pull request
Jun 6, 2026
… task (AliceO2Group#16545) Co-authored-by: Joonsuk Bae <monkeybae@kiaf-ui.sdfarm.kr> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
jetSpectraCharged.cxx: bind aod::JetMcCollisions explicitly in the four
Weighted process functions to avoid an auto-resolved wrong-table iterator
on JJ-MC AODs that triggered a runtime FATAL in multi-R pipelines.
pTHat reads go through rawIteratorAt(mcCollisionId) and fall back to the
weight-derived value when the stored ptHard is the placeholder sentinel
(named kBrokenPtHardSentinel = 1.0f).
jetSpectraChargedGen.cxx (new): MCP-only charged-jet spectra task for
generator-only AODs; 4 process functions covering unweighted/weighted ×
inclusive/area-sub; xsectGen() filled into p_xSection TProfile (HepMC
convention, pb).
CMakeLists.txt: register o2-analysis-je-jet-spectra-charged-gen.