-
Notifications
You must be signed in to change notification settings - Fork 157
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
feat: check if yOuter takes the square root of a negative number when minHelixRadius < rMax / 2 in SpacePointGrid.ipp #1466
feat: check if yOuter takes the square root of a negative number when minHelixRadius < rMax / 2 in SpacePointGrid.ipp #1466
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1466 +/- ##
==========================================
- Coverage 48.60% 48.59% -0.01%
==========================================
Files 380 380
Lines 20595 20597 +2
Branches 9433 9435 +2
==========================================
Hits 10010 10010
- Misses 4097 4099 +2
Partials 6488 6488
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
This is sensible, as otherwise the particle would not escape the detector (i.e. reach rMax). Thank you for fixing this.
… minHelixRadius < rMax / 2 in SpacePointGrid.ipp (#1466) This PR adds a check to `SpacePointGrid.ipp` if `minHelixRadius` is smaller than `config.rMax / 2` as suggested in #1456. This happens if `rMax` of the grid in `mm` is greater than `2 x pT[GeV] / (3·10-4 × B[T])`. I am not sure if this combination of parameters makes sense in one specific detector configuration. @robertlangenberg (cherry picked from commit a1569de)
… minHelixRadius < rMax / 2 in SpacePointGrid.ipp [backport #1466 to develop/v19.x] (#1529) Backport a1569de from #1466. --- This PR adds a check to `SpacePointGrid.ipp` if `minHelixRadius` is smaller than `config.rMax / 2` as suggested in #1456. This happens if `rMax` of the grid in `mm` is greater than `2 x pT[GeV] / (3·10-4 × B[T])`. I am not sure if this combination of parameters makes sense in one specific detector configuration. @robertlangenberg
This PR adds a check to
SpacePointGrid.ipp
ifminHelixRadius
is smaller thanconfig.rMax / 2
as suggested in #1456.This happens if
rMax
of the grid inmm
is greater than2 x pT[GeV] / (3·10-4 × B[T])
. I am not sure if this combination of parameters makes sense in one specific detector configuration.@robertlangenberg