-
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
Add protection for pathologic cases in MuonBeamspotConstraintValueMapProducer #45243
Conversation
cms-bot internal usage |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45243/40622
|
A new Pull Request was created by @namapane for master. It involves the following packages:
@mandrenguyen, @jfernan2, @cmsbuild can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ed651c/39923/summary.html Comparison SummarySummary:
|
+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. @rappoccio, @sextonkennedy, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2) |
@namapane @mandrenguyen @cms-sw/core-l2 |
Hi @antoniovilela, Regarding catch all: for what this code is concerned, whatever issue arises with constraining a track with the PV (which is already a fall-back case) simply means that we don't want to rely on that PV for a constrain This would make sense whatever exception may possibly be thrown within SingleTrackVertexConstraint::constrain. |
chi2s.push_back(std::get<2>(btft)); | ||
tbd = false; | ||
} | ||
} catch (...) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CMS software documentation says to avoid catch(...)
. Please catch the appropriate type as a memory error would be caught and ignored with the present use of catch(...)
@smuzaffar |
With @makortel on vacation, my comment can be interpreted as from Core |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45243/40682
|
Pull request #45243 was updated. @jfernan2, @mandrenguyen, @cmsbuild can you please check and sign again. |
I leave it to @cms-sw/core-l2 @antoniovilela @Dr15Jones to comment whether they are ok with this solution |
+1 |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ed651c/40107/summary.html
Comparison SummarySummary:
|
+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 be automatically merged. |
I think a backport to 14_0_X would make sense; should I proceed? |
I think so. Incidentally it seems that there won't be a full release for a while (see e.g joint ops gdoc ) perhaps should be backported also in the |
PR description:
Address #45189.
A description of the pathologic case being addressed is given here.
The fix consists in catching the exception and moving on with the fall-back case (no beamspot update).
PR validation:
Checked that it solved the exception in the event reported in #45189 .