Skip to content

Commit a2dbda9

Browse files
authored
Merge pull request #1120 from stephenswat/bug/toy_det_test_params
Reset CKF parameters in toy detector tests
2 parents 279db8f + ba376e6 commit a2dbda9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/cuda/test_ckf_toy_detector.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ TEST_P(CkfToyDetectorTests, Run) {
136136
cfg;
137137
cfg.ptc_hypothesis = ptc;
138138
cfg.max_num_branches_per_seed = 500;
139+
cfg.max_num_branches_per_surface = 2;
140+
cfg.chi2_max = 10.f;
139141
cfg.propagation.navigation.search_window = search_window;
140142

141143
// Finding algorithm object

tests/sycl/test_ckf_toy_detector.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ TEST_P(CkfToyDetectorTests, Run) {
137137
traccc::sycl::combinatorial_kalman_filter_algorithm::config_type cfg;
138138
cfg.ptc_hypothesis = ptc;
139139
cfg.max_num_branches_per_seed = 500;
140+
cfg.max_num_branches_per_surface = 2;
141+
cfg.chi2_max = 10.f;
140142
cfg.propagation.navigation.search_window = search_window;
141143

142144
// Finding algorithm object

0 commit comments

Comments
 (0)