Skip to content

[PWGJE] pTHat handling, remove HepMCXSections dependency, add R-d…#15284

Open
joonsukbae wants to merge 1 commit intoAliceO2Group:masterfrom
joonsukbae:fix/pthat-matching-cleanup
Open

[PWGJE] pTHat handling, remove HepMCXSections dependency, add R-d…#15284
joonsukbae wants to merge 1 commit intoAliceO2Group:masterfrom
joonsukbae:fix/pthat-matching-cleanup

Conversation

@joonsukbae
Copy link
Contributor

@joonsukbae joonsukbae commented Mar 5, 2026

…ependent matching

  • trackEfficiency: Remove HepMCXSections/JMcCollisionPIs table subscriptions from all MC processes. Use ptHard() from JMcCollisions with weight-based fallback. Add applyRCTSelections configurable. Remove getPtHatFromHepMCXSection configurable.
  • jetSpectraCharged: Pass pTHat as parameter to fill functions. Fix pTHatMaxMCDpTHatMaxMCP bug. Change MCD weighted subscriptions to JetCollisionsMCD. Add applyRCTSelections configurable.
  • Jet matching (all 6 headers + JetMatchingUtilities.h): Add per-R matching distance override (jetRadiiForMatchingDistance + maxMatchingDistancePerJetR) on top of existing maxMatchingDistance fallback. Backward compatible — empty per-R vectors (default) give identical results.

…ependent matching

- trackEfficiency: Remove HepMCXSections and JMcCollisionPIs table
  subscriptions from all MC processes; use ptHard() from JMcCollisions
  with weight-based fallback. Add applyRCTSelections configurable.
- jetSpectraCharged: Pass pTHat as parameter to fill functions instead
  of computing internally; fix pTHatMaxMCD->pTHatMaxMCP bug in
  fillGeoMatchedAreaSubHistograms; change MCD weighted process
  subscriptions to JetCollisionsMCD for mcCollision() access.
- All jet matching tasks: Replace single maxMatchingDistance with per-R
  configurables (jetRadiiForMatchingDistance + maxMatchingDistancePerJetR)
  for R-dependent geometric matching distance. Applied to jetMatchingMC,
  jetMatchingMCSub, jetMatchingSub, jetMatchingDuplicates,
  jetSubstructureMatching, and jetSubstructureMatchingSub.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@joonsukbae joonsukbae force-pushed the fix/pthat-matching-cleanup branch from 7ebc7cc to 35b52a7 Compare March 5, 2026 22:34
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.

1 participant