From ae79eb3ba521b7af12a687fecb099686e815b8ef Mon Sep 17 00:00:00 2001 From: beomki-yeo <63090140+beomki-yeo@users.noreply.github.com> Date: Wed, 5 Feb 2025 01:58:15 -0800 Subject: [PATCH] Change the default smoother to two-filters smoother (#842) * Change the default smoother to two-filters smoother * Use the RTS smoother for drift chamber tests --- core/include/traccc/fitting/fitting_config.hpp | 2 +- tests/cpu/test_kalman_fitter_wire_chamber.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/include/traccc/fitting/fitting_config.hpp b/core/include/traccc/fitting/fitting_config.hpp index a5040b023..b50f73aac 100644 --- a/core/include/traccc/fitting/fitting_config.hpp +++ b/core/include/traccc/fitting/fitting_config.hpp @@ -27,7 +27,7 @@ struct fitting_config { detray::muon(); /// Smoothing with backward filter - bool use_backward_filter = false; + bool use_backward_filter = true; traccc::scalar covariance_inflation_factor = 1e3f; }; diff --git a/tests/cpu/test_kalman_fitter_wire_chamber.cpp b/tests/cpu/test_kalman_fitter_wire_chamber.cpp index 62d9ec9d0..6c029f079 100644 --- a/tests/cpu/test_kalman_fitter_wire_chamber.cpp +++ b/tests/cpu/test_kalman_fitter_wire_chamber.cpp @@ -125,6 +125,7 @@ TEST_P(KalmanFittingWireChamberTests, Run) { static_cast(mask_tolerance); fit_cfg.propagation.navigation.search_window = search_window; fit_cfg.ptc_hypothesis = ptc; + fit_cfg.use_backward_filter = false; fit_cfg.covariance_inflation_factor = 1.f; traccc::host::kalman_fitting_algorithm fitting(fit_cfg, host_mr);