Skip to content

Commit

Permalink
Backup
Browse files Browse the repository at this point in the history
  • Loading branch information
beomki-yeo committed Dec 13, 2024
1 parent f6aed65 commit d58a3ce
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/include/traccc/fitting/kalman_filter/kalman_fitter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,11 @@ class kalman_fitter {

} else {

// @NOTE: There is no backward filter in RTS smoother so there
// is no backward chi2 either. We just put the forward chi2 into
// backward chi2 for the pvalue test
last.backward_chi2() = last.filtered_chi2();

for (typename vector_type<
track_state<algebra_type>>::reverse_iterator it =
track_states.rbegin() + 1;
Expand All @@ -264,6 +269,8 @@ class kalman_fitter {
it->surface_link()};
sf.template visit_mask<gain_matrix_smoother<algebra_type>>(
*it, *(it - 1));

it->backward_chi2() = it->filtered_chi2();
}
}
}
Expand Down

0 comments on commit d58a3ce

Please sign in to comment.