Skip to content
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

Merged
merged 3 commits into from
Sep 2, 2022

Conversation

LuisFelipeCoelho
Copy link
Member

@LuisFelipeCoelho LuisFelipeCoelho commented Aug 24, 2022

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

@LuisFelipeCoelho LuisFelipeCoelho added Component - Core Affects the Core module Improvement Changes to an existing feature Impact - Minor Nuissance bug and/or affects only a single module labels Aug 24, 2022
@LuisFelipeCoelho LuisFelipeCoelho added this to the next milestone Aug 24, 2022
@codecov
Copy link

codecov bot commented Aug 24, 2022

Codecov Report

Merging #1466 (39df28e) into main (b172918) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            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              
Impacted Files Coverage Δ
Core/include/Acts/Seeding/SpacePointGrid.ipp 0.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@robertlangenberg robertlangenberg left a 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.

@kodiakhq kodiakhq bot merged commit a1569de into acts-project:main Sep 2, 2022
@github-actions github-actions bot removed the automerge label Sep 2, 2022
@paulgessinger paulgessinger added the backport develop/v19.x Backport this PR to the v19.x series label Sep 19, 2022
acts-project-service pushed a commit that referenced this pull request Sep 19, 2022
… 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)
kodiakhq bot pushed a commit that referenced this pull request Sep 20, 2022
… 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
@paulgessinger paulgessinger modified the milestones: next, v20.2.0 Sep 23, 2022
@LuisFelipeCoelho LuisFelipeCoelho deleted the check_minHelixRadius branch November 10, 2022 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport develop/v19.x Backport this PR to the v19.x series Component - Core Affects the Core module Impact - Minor Nuissance bug and/or affects only a single module Improvement Changes to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: SpacePointGridCreator::createGrid() fails when minHelixRadius < config.rMax / 2
3 participants