Commit e064750d authored by David Blyth's avatar David Blyth

Changed kernel sort to use the ratio of the given kernel element to the hit time difference

parent 7baed2ed
......@@ -253,6 +253,10 @@ void trackEvent(proio::Event *event, const int n_validate, genfit::KalmanFitter
kernel_b = kernel[current_id][b_id];
else
kernel_b = kernel[b_id][current_id];
kernel_a *= 1.0 / fabs(seed_sort_param[current_id] - seed_sort_param[a_id]);
kernel_b *= 1.0 / fabs(seed_sort_param[current_id] - seed_sort_param[b_id]);
return kernel_a < kernel_b;
};
auto backup_kernel_sort_fn = [&](const uint64_t a_id, const uint64_t b_id) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment