-
Notifications
You must be signed in to change notification settings - Fork 178
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: Add concepts for Track(State) backends #2093
refactor: Add concepts for Track(State) backends #2093
Conversation
…ement access This changes the contract between `TrackContainer`, `MultiTrajectory` and their backends. Notably it - Adds dedicated methods for surface manipulation that are used by the backend: - `referenceSurface_impl` to get a reference surface by index. It returns a pointer, and a new method `hasReferenceSurface` on the proxies compares it to `nullptr` to check if a reference surface is set - `setReferenceSurface_impl` to set a reference surface - `has_impl` for both backend types is not expected to respond to `referenceSurface` anymore. - In `MultiTrajectory`, the backend is no longer expected to return an index referencing a jacobian, measurement or measurement covariance. Instead, the dedicated methods `jacobian_impl`, `measurement_impl` and `measurementCovariance_impl` are now called by the proxy with the state index directly, leaving the backend to implement index traversal. `has_impl` is not expected to respond to `calibrated`, `calibratedCov`, `jacobian` anymore.
/cc @benjaminhuth |
Codecov Report
@@ Coverage Diff @@
## main #2093 +/- ##
=======================================
Coverage 49.46% 49.46%
=======================================
Files 434 434
Lines 25015 25015
Branches 11525 11525
=======================================
Hits 12374 12374
Misses 4489 4489
Partials 8152 8152
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
📊 Physics performance monitoring for c85abbaSummary VertexingSeedingCKFAmbiguity resolutionTruth tracking (Kalman Filter)Truth tracking (GSF) |
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!
This PR adds concepts for the
MultiTrajectory
andTrackContainer
backends. It also centralizes the index typedef andkInvalid
sentinel value definition.Blocked by: