-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 pf candidate scaling #41551
Fix pf candidate scaling #41551
Conversation
A new Pull Request was created by @kdlong (Kenneth Long) for CMSSW_13_0_X. It involves the following packages:
@cmsbuild, @mandrenguyen, @clacaputo can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
type pf |
type bug-fix |
backport of #41550
|
Pull request #41551 was updated. @cmsbuild, @mandrenguyen, @clacaputo can you please check and sign again. |
1 similar comment
Pull request #41551 was updated. @cmsbuild, @mandrenguyen, @clacaputo can you please check and sign again. |
Undo new line modification Remove nan check in pflinker Remove nan check from rescale
Pull request #41551 was updated. @cmsbuild, @mandrenguyen, @clacaputo can you please check and sign again. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-296aea/32653/summary.html Comparison SummarySummary:
|
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_13_0_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_13_2_X is complete. This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
We should have discussed this backport today at the ORP meeting, but we did not address it... The (dirty) fix for the segmentation violation in prompt reco was already merged with #41474 This is actually a proper fix, but it would (slightly) change the miniAOD outputs for the pf packed canditates, which propagate down to slimmed jets. As such, it should not get propagated onto a closed release already used for the prompt reconstruction. Therefore my suggestion is that we do not backport this PR into the datataking relase 13_0_X. However, I'm open to suggestions. In the meanwhile, I put it on hold. |
hold |
Pull request has been put on hold by @perrotta |
At the ORP of 23/05/23 we agreed with @cms-sw/reconstruction-l2 that this should not get backported to 13_0_X, due to the changes in the miniAOD outputs. In any case, the events to be fixed are very rare nonetheless |
Thanks @perrotta, it makes sense. Should I close the PR? |
Yes, please |
PR description:
Fix candidate scaling in cases where momentum is a huge number, where the mass-aware scaling hits numeric issues. The fix is simple, just calculate E in a way without ratios involved. This should be a fix for #41397
PR validation:
Checked that the crash and nan candidate are removed. The mass scaling works properly now.
If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
Backport of #41550