-
Notifications
You must be signed in to change notification settings - Fork 173
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: protect TrackSelector against eta=nan #3785
Conversation
I wonder if the I have this helper acts/Core/include/Acts/Utilities/AngleHelpers.hpp Lines 15 to 23 in 645a8d1
|
I don't know if FPEs come from #3756 sounds like an excellent idea. I will take a look in detail. Even so, I think we should be protected against |
I think |
The merge-base changed after approval.
Quality Gate passedIssues Measures |
✅ Athena integration test results✅ All tests successful
|
Somehow this PR failed physmon on GitLab after having been merged. But is was green here, so it might be a fluke? |
Somehow #3794's changes were included here and removed from that PR. No harm done. |
Protect against η=`nan` in `Acts::TrackSelector::isValidTrack()`, which would `throw std::invalid_argument{"Eta is outside the abs eta bin edges"}` exception. This can come about if somehow the track θ<0 or θ>π. We should try to prevent these out-of-range values, but having them shouldn't raise an exception. Co-authored-by: Paul Gessinger <1058585+paulgessinger@users.noreply.github.com>
Protect against η=
nan
inActs::TrackSelector::isValidTrack()
, which wouldthrow std::invalid_argument{"Eta is outside the abs eta bin edges"}
exception. This can come about if somehow the track θ<0 or θ>π. We should try to prevent these out-of-range values, but having them shouldn't raise an exception.