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

refactor: Remove target estimation from navigator #2598

Closed

Conversation

andiwand
Copy link
Contributor

@andiwand andiwand commented Oct 30, 2023

This is very unintuitive and might result in unwanted behavior

@andiwand andiwand added this to the next milestone Oct 30, 2023
@github-actions github-actions bot added the Component - Core Affects the Core module label Oct 30, 2023
@codecov
Copy link

codecov bot commented Oct 30, 2023

Codecov Report

Merging #2598 (0b81d07) into main (c3aa32f) will decrease coverage by 0.02%.
Report is 1 commits behind head on main.
The diff coverage is 66.66%.

❗ Current head 0b81d07 differs from pull request most recent head 8270e7d. Consider uploading reports for the commit 8270e7d to get more accurate results

@@            Coverage Diff             @@
##             main    #2598      +/-   ##
==========================================
- Coverage   49.53%   49.51%   -0.02%     
==========================================
  Files         472      472              
  Lines       26732    26684      -48     
  Branches    12321    12291      -30     
==========================================
- Hits        13241    13212      -29     
- Misses       4753     4759       +6     
+ Partials     8738     8713      -25     
Files Coverage Δ
Core/include/Acts/Propagator/Navigator.hpp 56.64% <100.00%> (-0.45%) ⬇️
Core/src/Geometry/TrackingVolume.cpp 47.49% <0.00%> (-0.16%) ⬇️

... and 10 files with indirect coverage changes

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

Copy link
Member

@paulgessinger paulgessinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And the idea is to have this functionality fully contained in the surface aborter?

@andiwand
Copy link
Contributor Author

andiwand commented Nov 3, 2023

And the idea is to have this functionality fully contained in the surface aborter?

the code I remove here is trying to estimate the target layer and volume based on an intersection with the target surface. this is done several times during navigation since this estimate could change.

I do not think that is it necessary to estimate those and if the user wants to decrease navigation candidates the target layer or volume should be provided directly

@andiwand
Copy link
Contributor Author

andiwand commented Nov 3, 2023

this is addressed in #2625

@andiwand andiwand closed this Nov 3, 2023
@andiwand andiwand deleted the remove-navigator-target-estimation branch November 3, 2023 16:44
@paulgessinger paulgessinger modified the milestones: next, v31.0.0 Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Core Affects the Core module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants