Skip to content

Conversation

@stephenswat
Copy link
Member

Before #1187 was merged, we were unable to properly determine the dimensionality of measurements in the Kálmán filter. This necessitated a hack which can now be removed.

@stephenswat stephenswat added the bug Something isn't working label Nov 14, 2025
@stephenswat

This comment was marked as outdated.

@stephenswat stephenswat force-pushed the fix/hack_meas_dim branch 2 times, most recently from de83b80 to acdfaa1 Compare November 18, 2025 12:44
@stephenswat

This comment was marked as outdated.

Before acts-project#1187 was merged, we were unable to properly determine the
dimensionality of measurements in the Kálmán filter. This necessitated a
hack which can now be removed.
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 8, 2025

@stephenswat
Copy link
Member Author

Physics performance summary

Here is a summary of the physics performance effects of this PR. Command used:

traccc_seeding_example_cuda --input-directory=/data/Acts/odd-simulations-20240506/geant4_ttbar_mu200 --digitization-file=geometries/odd/odd-digi-geometric-config.json --detector-file=geometries/odd/odd-detray_geometry_detray.json --grid-file=geometries/odd/odd-detray_surface_grids_detray.json --material-file=geometries/odd/odd-detray_material_detray.json --input-events=10 --use-acts-geom-source=on --check-performance --truth-finding-min-track-candidates=5 --truth-finding-min-pt=1.0 --truth-finding-min-z=-150 --truth-finding-max-z=150 --truth-finding-max-r=10 --seed-matching-ratio=0.99 --track-matching-ratio=0.5 --track-candidates-range=5:100 --seedfinder-vertex-range=-150:150

Seeding performance

Total number of seeds went from 298345 to 298345 (+0.0%)

Seeding plots



Track finding performance

Total number of found tracks went from 50178 to 48228 (-3.9%)

Finding plots









Track fitting performance

Fitting plots





















Seeding to track finding relative performance

Seeding to track finding plots



Track finding to track fitting relative performance

Track finding to track fitting plots



Note

This is an automated message produced on the explicit request of a human being.

@stephenswat
Copy link
Member Author

Performance summary

Here is a summary of the performance effects of this PR:

Graphical

Tabular

KernelReciprocal ThroughputParallelism
8ef4b18286038aDelta8ef4b18286038a
propagate_to_next_surface6.26 ms6.23 ms-0.4%4.274.26
fit_forward1.94 ms1.78 ms-7.8%7.347.67
find_tracks1.39 ms1.39 ms0.1%1.811.81
ccl_kernel823.48 μs822.99 μs-0.1%1.371.37
fit_backward672.76 μs623.02 μs-7.4%5.495.75
count_doublets618.81 μs622.01 μs0.5%1.601.61
count_triplets589.56 μs589.16 μs-0.1%1.021.02
find_doublets447.11 μs447.66 μs0.1%3.083.08
Thrust::sort385.51 μs384.18 μs-0.3%7.367.35
find_triplets171.29 μs172.79 μs0.9%1.311.31
select_seeds52.91 μs53.68 μs1.4%1.341.34
populate_grid23.36 μs23.31 μs-0.2%1.221.22
remove_duplicates23.75 μs23.14 μs-2.6%25.9127.12
count_grid_capacities22.10 μs22.10 μs0.0%1.221.22
fill_sorted_measurements19.74 μs19.76 μs0.1%1.131.13
update_triplet_weights15.13 μs15.10 μs-0.2%1.271.27
estimate_track_params14.23 μs14.22 μs-0.1%2.152.15
apply_interaction13.95 μs13.89 μs-0.4%6.666.67
fit_prelude9.86 μs9.03 μs-8.4%21.7822.80
fill_finding_propagation_sort_keys8.83 μs8.78 μs-0.5%7.617.63
form_spacepoints8.28 μs8.25 μs-0.4%1.481.48
reduce_triplet_counts6.29 μs6.27 μs-0.3%3.083.08
unknown5.04 μs5.04 μs-0.1%4.284.28
build_tracks4.08 μs4.03 μs-1.0%14.7715.51
fill_finding_duplicate_removal_sort_keys1.57 μs1.52 μs-3.0%37.9639.19
fill_prefix_sum171.96 ns172.00 ns0.0%341.30341.30
fill_fitting_sort_keys153.23 ns146.54 ns-4.4%22.0823.08
Total13.52 ms13.30 ms-1.6%4.124.13

Important

All metrics in this report are given as reciprocal throughput, not as wallclock runtime.

Note

This is an automated message produced upon the explicit request of a human being.

getter::element(H, 1u, 1u) = 0.f;
if (dim == 1) {
// TODO: Fully understand the consequences of this.
assert(getter::element(H, 1u, 0u) == 0.f);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe the subspace for line surfaces is not correct and these need to be set explicitly ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants