-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: MultiTrajectory chi2 handling (#1057)
This PR makes `MultiTrajectory` always initialize the `chi2` value to `0`. In addition, I updated `MultiTrajectoryHelpers::trajectoryState` to only add track state `chi2` to the overall `chi2sum` for measurement track states. Outlier track states' `chi2` is still recorded in the separate `outlierChi2`. I think this makes sense since the outlier is not actually used in the fit, and the track state can only contain the *predicted* `chi2` rather than the *filtered* `chi2` that the measurement states have.
- Loading branch information
1 parent
af862bc
commit 8ce4d31
Showing
2 changed files
with
7 additions
and
5 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