refactor: time optimization for calculation of min and max r variable range
This PR changes the position of rMiddleSPRange calculation and adds a break when SPs are sorted in r
Codecov Report
Merging #1558 (7e80346) into main (f6f0e1f) will decrease coverage by
0.00%. The diff coverage is0.00%.
@@ Coverage Diff @@
## main #1558 +/- ##
==========================================
- Coverage 48.65% 48.65% -0.01%
==========================================
Files 381 381
Lines 20777 20780 +3
Branches 9517 9518 +1
==========================================
Hits 10110 10110
- Misses 4096 4099 +3
Partials 6571 6571
| Impacted Files | Coverage Δ | |
|---|---|---|
| Core/include/Acts/Seeding/SeedFinder.hpp | 0.00% <ø> (ø) |
|
| Core/include/Acts/Seeding/SeedFinder.ipp | 0.00% <0.00%> (ø) |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
Can you consider using a pair or separate argument for the min/max values, instead of a Vector2? I don't think using Vector2 brings any tangible benefit, and it might be a bit confusing what it means.
Can you consider using a pair or separate argument for the min/max values, instead of a
Vector2? I don't think usingVector2brings any tangible benefit, and it might be a bit confusing what it means.
Actually, as Andi mentioned last developer meeting, it looks like a good use case for Acts::Range1D from the utilities folder.
I also noticed that there is this `SeedConfirmationRangeConfig.hpp that also defines two ranges as just min and max values that could also be refactored, however not necessarily im this PR.
@benjaminhuth I changed it to Acts::Range1D and will also do the same in SeedConfirmationRangeConfig.hpp in a different PR
:bar_chart: Physics performance monitoring for 7e803460885f9e6ac8a6b54b87bccca1b26c3896
Full report CKF: seeded, truth smeared, truth estimated IVF: seeded, truth smeared, truth estimated Ambiguity resolution Truth tracking