forked from acts-project/acts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: Remove mean reduction from
MultiEigenStepperLoop
(acts-p…
…roject#3671) After acts-project#3521 we also want to change the default and remove the weighted mean reduction as it is unstable. This pull request primarily focuses on removing the `WeightedComponentReducerLoop` struct and its associated functionality from the `MultiEigenStepperLoop` class and its tests. The changes simplify the codebase by eliminating the weighted component reduction logic and replacing it with the `MaxWeightReducerLoop`. ### Removal of `WeightedComponentReducerLoop`: * [`Core/include/Acts/Propagator/MultiEigenStepperLoop.hpp`](diffhunk://#diff-2ec4ab79520c414c4eb526d00ede45a6a10f8eeba06398d81c315f9be5686e9eL48-L145): Removed the `WeightedComponentReducerLoop` struct and its methods, which were responsible for reducing the multicomponent state by summing weighted values. ### Replacement with `MaxWeightReducerLoop`: * [`Core/include/Acts/Propagator/MultiEigenStepperLoop.hpp`](diffhunk://#diff-2ec4ab79520c414c4eb526d00ede45a6a10f8eeba06398d81c315f9be5686e9eL243-R145): Updated the `MultiEigenStepperLoop` class to use `MaxWeightReducerLoop` instead of `WeightedComponentReducerLoop` as the default component reducer. ### Test updates: * [`Tests/UnitTests/Core/Propagator/MultiStepperTests.cpp`](diffhunk://#diff-35cd1eb9d226dec9f6017cd99b5605c2da3bbaa4c3f9ffbe5b0bed7efcfdc0ddL141-L165): Removed the test case for `WeightedComponentReducerLoop`, which validated the position and direction calculations using weighted sums.
- Loading branch information
Showing
3 changed files
with
2 additions
and
125 deletions.
There are no files selected for viewing
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
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
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