-
Notifications
You must be signed in to change notification settings - Fork 173
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: Combine material, measurement and hole handling in Core CKF filter
#3723
Merged
kodiakhq
merged 6 commits into
acts-project:main
from
andiwand:refactor-ckf-combine-filter-material-and-measurement-and-hole
Oct 14, 2024
Merged
refactor: Combine material, measurement and hole handling in Core CKF filter
#3723
kodiakhq
merged 6 commits into
acts-project:main
from
andiwand:refactor-ckf-combine-filter-material-and-measurement-and-hole
Oct 14, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I observe similar CPU performance against main |
paulgessinger
approved these changes
Oct 14, 2024
…surement-and-hole
Quality Gate passedIssues Measures |
andiwand
deleted the
refactor-ckf-combine-filter-material-and-measurement-and-hole
branch
October 14, 2024 17:09
Rosie-Hasan
pushed a commit
to Rosie-Hasan/acts
that referenced
this pull request
Nov 13, 2024
… `filter` (acts-project#3723) Combines the handling of material, measurements and holes in the Core CKF. --- This pull request includes several changes to the `CombinatorialKalmanFilter` class in the `Core/include/Acts/TrackFinding/CombinatorialKalmanFilter.hpp` file to improve error handling, state management, and logging. Additionally, there is a minor change in the `MeasurementSelector` class to handle empty measurement candidates more gracefully. ### Error Handling and State Management: * Added checks and logging for empty active branches to ensure the filter stops correctly when no branches are active. (`Core/include/Acts/TrackFinding/CombinatorialKalmanFilter.hpp`) [[1]](diffhunk://#diff-55dd901875f5a87b6a9fee495de245296efbfd45aa9f9483036bcd299a277e09R583-R590) [[2]](diffhunk://#diff-55dd901875f5a87b6a9fee495de245296efbfd45aa9f9483036bcd299a277e09R660-R673) * Modified the filter to reset and stop properly when all branches are stopped or when certain conditions are met, improving the robustness of the filtering process. (`Core/include/Acts/TrackFinding/CombinatorialKalmanFilter.hpp`) [[1]](diffhunk://#diff-55dd901875f5a87b6a9fee495de245296efbfd45aa9f9483036bcd299a277e09L592-R600) [[2]](diffhunk://#diff-55dd901875f5a87b6a9fee495de245296efbfd45aa9f9483036bcd299a277e09L623-L642) ### Logging Improvements: * Enhanced logging to provide more detailed information about the state transitions and decisions made during the filtering process. (`Core/include/Acts/TrackFinding/CombinatorialKalmanFilter.hpp`) [[1]](diffhunk://#diff-55dd901875f5a87b6a9fee495de245296efbfd45aa9f9483036bcd299a277e09L716-R761) [[2]](diffhunk://#diff-55dd901875f5a87b6a9fee495de245296efbfd45aa9f9483036bcd299a277e09L749-L925) [[3]](diffhunk://#diff-55dd901875f5a87b6a9fee495de245296efbfd45aa9f9483036bcd299a277e09L950-R907) ### Code Simplification and Cleanup: * Simplified the handling of material and measurement surfaces by refactoring conditional checks and removing redundant code. (`Core/include/Acts/TrackFinding/CombinatorialKalmanFilter.hpp`) [[1]](diffhunk://#diff-55dd901875f5a87b6a9fee495de245296efbfd45aa9f9483036bcd299a277e09L716-R761) [[2]](diffhunk://#diff-55dd901875f5a87b6a9fee495de245296efbfd45aa9f9483036bcd299a277e09L749-L925) ### Minor Change in MeasurementSelector: * Updated the `MeasurementSelector::select` method to return a success result when no measurement candidates are found, instead of returning an error. (`Core/include/Acts/TrackFinding/MeasurementSelector.ipp`)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Combines the handling of material, measurements and holes in the Core CKF.
This pull request includes several changes to the
CombinatorialKalmanFilter
class in theCore/include/Acts/TrackFinding/CombinatorialKalmanFilter.hpp
file to improve error handling, state management, and logging. Additionally, there is a minor change in theMeasurementSelector
class to handle empty measurement candidates more gracefully.Error Handling and State Management:
Core/include/Acts/TrackFinding/CombinatorialKalmanFilter.hpp
) [1] [2]Core/include/Acts/TrackFinding/CombinatorialKalmanFilter.hpp
) [1] [2]Logging Improvements:
Core/include/Acts/TrackFinding/CombinatorialKalmanFilter.hpp
) [1] [2] [3]Code Simplification and Cleanup:
Core/include/Acts/TrackFinding/CombinatorialKalmanFilter.hpp
) [1] [2]Minor Change in MeasurementSelector:
MeasurementSelector::select
method to return a success result when no measurement candidates are found, instead of returning an error. (Core/include/Acts/TrackFinding/MeasurementSelector.ipp
)