Skip to content

[PWGJE] jet-spectra-charged: weighted-bind fix + add gen-only spectra task#16545

Merged
nzardosh merged 1 commit into
AliceO2Group:masterfrom
joonsukbae:feature-pwgje-jjmcfix-and-gen
Jun 5, 2026
Merged

[PWGJE] jet-spectra-charged: weighted-bind fix + add gen-only spectra task#16545
nzardosh merged 1 commit into
AliceO2Group:masterfrom
joonsukbae:feature-pwgje-jjmcfix-and-gen

Conversation

@joonsukbae
Copy link
Copy Markdown
Contributor

  • 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.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 5, 2026

O2 linter results: ❌ 1 errors, ⚠️ 4 warnings, 🔕 0 disabled

… 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>
@joonsukbae joonsukbae force-pushed the feature-pwgje-jjmcfix-and-gen branch from e09188e to abe8b25 Compare June 5, 2026 17:03
@nzardosh nzardosh enabled auto-merge (squash) June 5, 2026 17:11
@nzardosh nzardosh merged commit d6023d1 into AliceO2Group:master Jun 5, 2026
12 of 14 checks passed
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>
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