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!: Seeding config simplification #945

Merged
merged 10 commits into from
Aug 24, 2021

Conversation

paulgessinger
Copy link
Member

@paulgessinger paulgessinger commented Aug 16, 2021

This PR removes the dedicated config struct in SeedingAlgorithm in favor of it containing three config structs for the grid, seed finder and seed filter. Users of the seeding algorithm need to make sure that these config structs are configured consistently. SeedingAlgorithm's constructor runs a number of checks to see if the config seems to make sense.

I tested the seeding example with this, and it gives the same number of seeds for a few particle gun events as main.

This is rebased on top of #941, so should be reviewed/merged after that.

@paulgessinger paulgessinger added this to the next milestone Aug 16, 2021
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.

If I didn't miss anything due to similarities with !941 this also looks good. Since the grid doesn't actually take into account the scattering and impact parameters, this disallows hacks to make the grid coarser, i.e. this'll have to be fixed soon as well.

Co-authored-by: robertlangenberg <56069170+robertlangenberg@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Aug 16, 2021

Codecov Report

Merging #945 (f7c7875) into main (d04706b) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #945   +/-   ##
=======================================
  Coverage   48.63%   48.63%           
=======================================
  Files         334      334           
  Lines       17149    17149           
  Branches     8086     8086           
=======================================
  Hits         8340     8340           
  Misses       3091     3091           
  Partials     5718     5718           
Impacted Files Coverage Δ
Core/include/Acts/Seeding/SeedfinderConfig.hpp 0.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d04706b...f7c7875. Read the comment docs.

@asalzburger
Copy link
Contributor

I will update the branch & then follow up later.

@asalzburger
Copy link
Contributor

This was approved by @robertlangenberg - merging.

@asalzburger
Copy link
Contributor

@paulgessinger - can you resolve the conflict now please after #941 went in?

@paulgessinger
Copy link
Member Author

Done

@asalzburger asalzburger merged commit 0093d56 into acts-project:main Aug 24, 2021
@paulgessinger paulgessinger modified the milestones: next, v12.0.0 Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants