Skip to content

RecoHGCal/TICL: avoid NaN energies in PF and superclustering#51341

Open
felicepantaleo wants to merge 1 commit into
cms-sw:masterfrom
felicepantaleo:ticl-fix-energy-nan
Open

RecoHGCal/TICL: avoid NaN energies in PF and superclustering#51341
felicepantaleo wants to merge 1 commit into
cms-sw:masterfrom
felicepantaleo:ticl-fix-energy-nan

Conversation

@felicepantaleo

Copy link
Copy Markdown
Contributor
  • PFTICLProducer: guard the EM/total energy fraction when a candidate has no tracksters (track-only/global-muon) -> no NaN ECAL energy on the PFCandidate.
  • EGammaSuperclusterProducer: initialise the running maxima with numeric_limits::lowest() instead of ::min(), which corrupted etaWidth/phiWidth regression features.
  • TracksterP4FromEnergySumPlugin: guard the barycentre/energy division (> 0, not >= 0).

- PFTICLProducer: guard the EM/total energy fraction when a candidate has no tracksters
  (track-only/global-muon) -> no NaN ECAL energy on the PFCandidate.
- EGammaSuperclusterProducer: initialise the running maxima with numeric_limits::lowest()
  instead of ::min(), which corrupted etaWidth/phiWidth regression features.
- TracksterP4FromEnergySumPlugin: guard the barycentre/energy division (> 0, not >= 0).
@cmsbuild

cmsbuild commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

cms-bot internal usage

@felicepantaleo

Copy link
Copy Markdown
Contributor Author

@cmsbuild please test

@cmsbuild

Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51341/49973

@cmsbuild

Copy link
Copy Markdown
Contributor

A new Pull Request was created by @felicepantaleo for master.

It involves the following packages:

  • RecoHGCal/TICL (reconstruction)

@Moanwar, @jfernan2, @mandrenguyen, @srimanob can you please review it and eventually sign? Thanks.
@apsallid, @denizsun, @hatakeyamak, @lecriste, @rovere, @salimcerci, @sameasy, @sobhatta this is something you requested to watch as well.
@ftenchini, @mandrenguyen, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@felicepantaleo

Copy link
Copy Markdown
Contributor Author

type bug fix

@felicepantaleo

Copy link
Copy Markdown
Contributor Author

type bugfix

@cmsbuild

Copy link
Copy Markdown
Contributor

+1

Size: This PR adds an extra 28KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-769af1/54332/summary.html
COMMIT: ad279ea
CMSSW: CMSSW_20_1_X_2026-06-27-1100/el9_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/51341/54332/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants