Skip to content

Commit

Permalink
Backup
Browse files Browse the repository at this point in the history
  • Loading branch information
beomki-yeo committed Dec 9, 2024
1 parent f774437 commit dc42772
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/include/traccc/fitting/kalman_filter/kalman_actor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ struct kalman_actor : detray::actor {
}
// Backward filter for smoothing
else {
res = sf.template visit_mask<two_filters_smoother<algebra_t>>(
trk_state, propagation._stepping.bound_params());

/*
if (actor_state.m_it_rev ==
actor_state.m_track_states.rbegin()) {
res = true;
Expand All @@ -159,6 +163,7 @@ struct kalman_actor : detray::actor {
sf.template visit_mask<two_filters_smoother<algebra_t>>(
trk_state, propagation._stepping.bound_params());
}
*/
}

// Abort if the Kalman update fails
Expand Down
3 changes: 3 additions & 0 deletions core/include/traccc/fitting/kalman_filter/kalman_fitter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,9 @@ class kalman_fitter {
// Two filters (forward & backward) method
typename propagator_type::state propagation(last.smoothed(), m_field,
m_detector);

inflate_covariance(propagation._stepping.bound_params(), 1e3f);

propagation._navigation.set_volume(
last.smoothed().surface_link().volume());

Expand Down

0 comments on commit dc42772

Please sign in to comment.