-
Notifications
You must be signed in to change notification settings - Fork 168
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 nonlinear correction in KF #1233
refactor: Add nonlinear correction in KF #1233
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1233 +/- ##
==========================================
- Coverage 47.98% 47.89% -0.09%
==========================================
Files 373 375 +2
Lines 19484 19588 +104
Branches 9148 9214 +66
==========================================
+ Hits 9349 9382 +33
- Misses 3804 3822 +18
- Partials 6331 6384 +53
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
48035e2
to
505bb60
Compare
Hi @asalzburger , it's the PR for the non-linear KF. Could you help have a look? |
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.
Very nicely integrated, please check if the introduction of a small struct that carries a bool plus the unable parameters wouldn't make it even a step clearer - I suppose so!
Core/include/Acts/EventData/detail/CorrectedTransformationFreeToBound.hpp
Outdated
Show resolved
Hide resolved
d6d85aa
to
a6a27a2
Compare
Hi @asalzburger , thank you a lot for the suggestions. I should have resolved all the comments. |
Examples/Algorithms/TrackFitting/include/ActsExamples/TrackFitting/TrackFittingAlgorithm.hpp
Outdated
Show resolved
Hide resolved
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.
A few more things: Paul's suggestion of not auto-constructing from pool & the moving out of the detail namespace.
Core/include/Acts/EventData/detail/CorrectedTransformationFreeToBound.hpp
Outdated
Show resolved
Hide resolved
Core/include/Acts/EventData/detail/CorrectedTransformationFreeToBound.hpp
Outdated
Show resolved
Hide resolved
Examples/Algorithms/TrackFitting/include/ActsExamples/TrackFitting/TrackFittingAlgorithm.hpp
Outdated
Show resolved
Hide resolved
Hi @asalzburger @paulgessinger , I have resolved your comments. Could you have another look? |
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.
Comments are addressed, there is still a failure in the CI to check.
Hi @XiaocongAi - there are build failures, due to a missing test update & a mismatch in the concept, please resolve these ones and I will reapprove. |
Note there are also some CI issues that should be fixed with #1243. |
ae14722
to
146d290
Compare
Core/include/Acts/EventData/detail/CorrectedTransformationFreeToBound.hpp
Outdated
Show resolved
Hide resolved
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.
I would strongly prefer we make the FreeToBoundCorrection
constructor from bool
explicit like
explicit FreeToBoundCorrection(bool apply_);
See comment in the changeset.
From my side this is ok, let's see if the CI runs through and @paulgessinger is happy as well. |
Hi @paulgessinger , thank you for your further comments. I have made the change. Do you think you can approve and get it in? |
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.
LGTM as far as I can tell at this point!
This PR refactors a few methods of the stepper related with transforming from free to bound parameters. It adds the option for correction of non-linear effects during the transformation using a few sigma points (https://doi.org/10.1117/12.280797).