We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c255f1 commit 18be934Copy full SHA for 18be934
core/include/traccc/fitting/kalman_filter/kalman_actor.hpp
@@ -94,6 +94,8 @@ struct kalman_actor : detray::actor {
94
95
// Run back filtering for smoothing, if true
96
bool backward_mode = false;
97
+ traccc::scalar min_path_length =
98
+ -100.f * traccc::unit<traccc::scalar>::mm;
99
};
100
101
/// Actor operation to perform the Kalman filtering
@@ -180,8 +182,7 @@ struct kalman_actor : detray::actor {
180
182
// propagation
181
183
// TODO: Use configuration instead of hardcoded value
184
if (actor_state.backward_mode &&
- propagation._stepping.path_length() <
- -100.f * traccc::unit<traccc::scalar>::mm) {
185
+ propagation._stepping.path_length() < actor_state.min_path_length) {
186
propagation._heartbeat &= navigation.abort();
187
return;
188
}
0 commit comments