-
Notifications
You must be signed in to change notification settings - Fork 157
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: use map instead of two vectors in AdaptiveGridTrackDensity #2338
refactor: use map instead of two vectors in AdaptiveGridTrackDensity #2338
Conversation
📊: Physics performance monitoring for 9dd1a00physmon summary
|
Codecov Report
@@ Coverage Diff @@
## main #2338 +/- ##
==========================================
- Coverage 49.63% 49.57% -0.06%
==========================================
Files 453 453
Lines 25530 25511 -19
Branches 11705 11706 +1
==========================================
- Hits 12672 12648 -24
Misses 4579 4579
- Partials 8279 8284 +5
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
…adaptive-grid-density
…adaptive-grid-density
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one general comment: it might be worth looking at flat implementations like the one from boost if this is performance critical
Core/include/Acts/Vertexing/AdaptiveGridDensityVertexFinder.hpp
Outdated
Show resolved
Hide resolved
Yes, @paulgessinger made the same remark in the last stand-up meeting! We agreed to the following: |
…adaptive-grid-density
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Previously:
We used a vector containing z bins and a separate vector containing the corresponding density values.
Now:
We use a map relating
z bin -> density value
Future:
We will use a map relating
(z bin, time bin) -> density value
to include time information in the vertex finding.