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: Reduce number of surface allocations in vertexing #2443

Merged
merged 8 commits into from
Sep 25, 2023

Conversation

paulgessinger
Copy link
Member

No description provided.

@paulgessinger paulgessinger added this to the next milestone Sep 13, 2023
@github-actions github-actions bot added Component - Core Affects the Core module Vertexing labels Sep 13, 2023
@paulgessinger
Copy link
Member Author

The billoir fitter actually updates the linearization point each iteration. So moved the surface creation into that loop, but it's still outside of the loop over all tracks, so at least we don't create a surface for each track and each iteration.

@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

Merging #2443 (2035860) into main (ac8ec6e) will decrease coverage by 0.05%.
The diff coverage is 20.00%.

@@            Coverage Diff             @@
##             main    #2443      +/-   ##
==========================================
- Coverage   49.90%   49.86%   -0.05%     
==========================================
  Files         466      466              
  Lines       26231    26249      +18     
  Branches    12013    12032      +19     
==========================================
- Hits        13090    13088       -2     
- Misses       4613     4614       +1     
- Partials     8528     8547      +19     
Files Changed Coverage Δ
.../include/Acts/Vertexing/HelicalTrackLinearizer.hpp 100.00% <ø> (ø)
.../include/Acts/Vertexing/HelicalTrackLinearizer.ipp 25.55% <0.00%> (-1.42%) ⬇️
...e/include/Acts/Vertexing/IterativeVertexFinder.hpp 80.00% <ø> (ø)
...nclude/Acts/Vertexing/NumericalTrackLinearizer.hpp 90.00% <ø> (ø)
...nclude/Acts/Vertexing/NumericalTrackLinearizer.ipp 11.47% <0.00%> (-3.28%) ⬇️
...e/include/Acts/Vertexing/IterativeVertexFinder.ipp 25.57% <25.00%> (-1.13%) ⬇️
...clude/Acts/Vertexing/AdaptiveMultiVertexFitter.ipp 43.87% <40.00%> (-0.87%) ⬇️
...include/Acts/Vertexing/FullBilloirVertexFitter.ipp 28.47% <50.00%> (+0.10%) ⬆️

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

Copy link
Contributor

@felix-russo felix-russo left a comment

Choose a reason for hiding this comment

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

Nice! Just one comment:

Core/include/Acts/Vertexing/HelicalTrackLinearizer.hpp Outdated Show resolved Hide resolved
@paulgessinger paulgessinger modified the milestones: next, v30.0.0 Sep 25, 2023
@kodiakhq kodiakhq bot merged commit 86033d0 into acts-project:main Sep 25, 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 Vertexing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants