Skip to content

Commit

Permalink
fix: GX2F: add chi2sum to the final track (#2747)
Browse files Browse the repository at this point in the history
  • Loading branch information
AJPfleger authored Nov 30, 2023
1 parent c676ac1 commit 8f269f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Core/include/Acts/TrackFitting/GlobalChiSquareFitter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,10 @@ class Gx2Fitter {
// TODO write test for calculateTrackQuantities
calculateTrackQuantities(track);

// Set the chi2sum for the track summary manually, since we don't calculate
// it for each state
track.chi2() = chi2sum;

// Return the converted Track
return track;
}
Expand Down

0 comments on commit 8f269f9

Please sign in to comment.