-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix rare crash in pixel template interpolation #34846
Fix rare crash in pixel template interpolation #34846
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34846/24637
|
A new Pull Request was created by @OzAmram (Oz Amram) for master. It involves the following packages:
@ggovi, @perrotta, @cmsbuild, @jpata, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild please test |
type bugfix |
Fixes #34835 |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-04ec47/17712/summary.html Comparison SummarySummary:
|
+reconstruction
|
@OzAmram can you prepare a backport for 12_0_X? |
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1
|
This PR is a bugfix to address issue #34835. The crash was caused by a call to
SiPixelTemplate2D::interpolate
which had NaN track angles as inputs. The fix is just to check that the track angles are finite before proceeding with the interpolation. A similar change was applied toSiPixelTemplate::interpolate
to avoid the potential for the same issue.No changes are expected except for the extremely rare case when the input track angles are NaN's.