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: change the behaviour of enableCutsForSortedSP in seedFinder #1213

Merged
merged 18 commits into from
Apr 28, 2022

Conversation

LuisFelipeCoelho
Copy link
Member

@LuisFelipeCoelho LuisFelipeCoelho commented Mar 30, 2022

This PR splits enableCutsForSortedSP into two booleans:
Instead of using enableCutsForSortedSP to enable both the cotTheta sorting of SPs and the cut based on the sorting, this PR makes enableCutsForSortedSP enable only the sorting and skipPreviousTopSP is added for the additional cut to skip top SPs if cotThetaBB < cotThetaT

For ITk strips the cuts are not applied.

Edit: The original error calculation was fixes, enableCutsForSortedSP was removed since it is not needed and skipPreviousTopSP was added to skip top SPs

@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 Mar 30, 2022
@LuisFelipeCoelho LuisFelipeCoelho added this to the WIP milestone Mar 30, 2022
@codecov
Copy link

codecov bot commented Mar 30, 2022

Codecov Report

Merging #1213 (39b9cc3) into main (fc2ee7f) will increase coverage by 0.02%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1213      +/-   ##
==========================================
+ Coverage   47.94%   47.97%   +0.02%     
==========================================
  Files         373      373              
  Lines       19495    19484      -11     
  Branches     9152     9148       -4     
==========================================
  Hits         9347     9347              
+ Misses       3817     3806      -11     
  Partials     6331     6331              
Impacted Files Coverage Δ
Core/include/Acts/Seeding/SeedFinderUtils.ipp 0.00% <0.00%> (ø)
Core/include/Acts/Seeding/Seedfinder.ipp 0.00% <0.00%> (ø)
Core/include/Acts/Seeding/SeedfinderConfig.hpp 0.00% <ø> (ø)

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@robertlangenberg robertlangenberg added the 🚧 WIP Work-in-progress label Mar 30, 2022
@robertlangenberg robertlangenberg modified the milestones: WIP, next Mar 30, 2022
@LuisFelipeCoelho LuisFelipeCoelho removed the 🚧 WIP Work-in-progress label Mar 30, 2022
@LuisFelipeCoelho LuisFelipeCoelho added the 🚧 WIP Work-in-progress label Mar 30, 2022
@LuisFelipeCoelho LuisFelipeCoelho removed the 🚧 WIP Work-in-progress label Mar 30, 2022
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.

I don't understand why this is separate now, why would one want to sort the SP if the sorting is not used?

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.

Thanks so much everyone for the collaboration on this, I think this can finally go in :)

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.

reapproving

@kodiakhq kodiakhq bot merged commit b2c7017 into acts-project:main Apr 28, 2022
@LuisFelipeCoelho LuisFelipeCoelho deleted the enable-cuts-for-sorted-sp branch April 29, 2022 07:49
kodiakhq bot pushed a commit that referenced this pull request May 10, 2022
In the seedFinder we check the compatibility between the (r,z) slope of the two seed segments with a scattering term calculated assuming the minimum pT particle expected to be reconstructed and a second check using a scattering term scaled by the actual measured pT.

As discussed here in PR #1213, there was an error in these cuts. This PR fixes that same error in SeedFinderOrthogonal.
@paulgessinger paulgessinger modified the milestones: next, v19.0.0 May 10, 2022
kodiakhq bot pushed a commit that referenced this pull request Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge 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.

None yet

4 participants