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

fix: Guarantee angle periodicity after KF filtering and smoothing #3684

Merged
merged 11 commits into from
Oct 18, 2024

Conversation

andiwand
Copy link
Contributor

@andiwand andiwand commented Oct 2, 2024

I noticed a few cases where the angles escape their valid range after a KF update / smoothing. We can avoid that by normalizing the angles back to their range after update.

In principle other params like local position and momentum are also constrained and might need checking+fixing but for those I am not sure how to do it right now.

@andiwand andiwand added this to the next milestone Oct 2, 2024
@andiwand andiwand changed the title fix: Guarantee angle periodicity with KF filtering and smoothing fix: Guarantee angle periodicity after KF filtering and smoothing Oct 2, 2024
@github-actions github-actions bot added Component - Core Affects the Core module Track Fitting labels Oct 2, 2024
Copy link

github-actions bot commented Oct 2, 2024

📊: Physics performance monitoring for 468fd86

Full contents

physmon summary

Copy link
Contributor

@AJPfleger AJPfleger left a comment

Choose a reason for hiding this comment

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

Just a tiny remark. Looks good otherwise. Interesting, that physmon didn't change.

Core/include/Acts/Utilities/detail/periodic.hpp Outdated Show resolved Hide resolved
@andiwand
Copy link
Contributor Author

andiwand commented Oct 3, 2024

Just a tiny remark. Looks good otherwise. Interesting, that physmon didn't change.

I don't think we are hitting this case very often otherwise we would have spotted it in physmon already

@andiwand
Copy link
Contributor Author

I do not observe any performance difference for the track finding

@andiwand andiwand marked this pull request as ready for review October 17, 2024 14:01
@github-actions github-actions bot added Component - Examples Affects the Examples module Changes Performance labels Oct 18, 2024
AJPfleger
AJPfleger previously approved these changes Oct 18, 2024
Copy link
Contributor

kodiakhq bot commented Oct 18, 2024

This PR currently has a merge conflict. Please resolve this and then re-add the automerge label.

@andiwand andiwand requested a review from AJPfleger October 18, 2024 20:21
Copy link

@kodiakhq kodiakhq bot merged commit ac41c04 into acts-project:main Oct 18, 2024
42 checks passed
@andiwand andiwand deleted the fix-kf-angle-periodicity branch October 19, 2024 08:34
@paulgessinger paulgessinger modified the milestones: next, v37.2.0 Oct 24, 2024
Rosie-Hasan pushed a commit to Rosie-Hasan/acts that referenced this pull request Nov 13, 2024
…ts-project#3684)

I noticed a few cases where the angles escape their valid range after a KF update / smoothing. We can avoid that by normalizing the angles back to their range after update.

In principle other params like local position and momentum are also constrained and might need checking+fixing but for those I am not sure how to do it right now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants