Skip to content

feat: kalman track follower#1231

Draft
niermann999 wants to merge 1 commit intoacts-project:mainfrom
niermann999:feat-kalman-track-follower
Draft

feat: kalman track follower#1231
niermann999 wants to merge 1 commit intoacts-project:mainfrom
niermann999:feat-kalman-track-follower

Conversation

@niermann999
Copy link
Copy Markdown
Contributor

@niermann999 niermann999 commented Jan 16, 2026

Write the simplest Kalman track finder possible for debugging

@niermann999 niermann999 force-pushed the feat-kalman-track-follower branch 9 times, most recently from b293428 to 7d3b4b5 Compare January 21, 2026 16:45
@niermann999 niermann999 force-pushed the feat-kalman-track-follower branch 4 times, most recently from 26a4fbc to 6c47288 Compare January 28, 2026 19:31
@niermann999 niermann999 force-pushed the feat-kalman-track-follower branch 2 times, most recently from ae1e328 to eba3859 Compare February 3, 2026 13:02
@stephenswat

This comment was marked as outdated.

@stephenswat

This comment was marked as outdated.

@niermann999 niermann999 force-pushed the feat-kalman-track-follower branch 3 times, most recently from dd44ad6 to dfcf5c5 Compare February 3, 2026 19:23
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Feb 3, 2026

@stephenswat

This comment was marked as outdated.

@stephenswat

This comment was marked as outdated.

@niermann999 niermann999 force-pushed the feat-kalman-track-follower branch 3 times, most recently from abe884a to 2a47cb3 Compare April 1, 2026 14:32
@stephenswat
Copy link
Copy Markdown
Member

Performance summary

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

Graphical

Tabular

KernelReciprocal ThroughputParallelism
129e8662a47cb3Delta129e8662a47cb3
build_tracks124.96 μs3.72nan
count_doublets825.71 μs814.36 μs-1.4%1.611.61
ccl_kernel656.57 μs658.37 μs0.3%1.711.71
count_triplets567.10 μs567.51 μs0.1%1.021.02
estimate_track_params146.23 μs146.50 μs0.2%2.682.68
count_grid_capacities22.10 μs22.15 μs0.2%1.221.22
fill_finding_duplicate_removal_sort_keys1.55 μs37.97nan
fill_finding_propagation_sort_keys8.75 μs7.76nan
find_doublets534.28 μs532.85 μs-0.3%3.083.08
find_tracks1.73 ms1.84nan
kalman_track_follower22.85 msnan1.55
Thrust::sort379.13 μs308.32 μs-18.7%7.324.38
find_triplets168.93 μs169.85 μs0.5%1.311.31
fill_sorted_measurements19.74 μs19.73 μs-0.0%1.131.13
propagate_to_next_surface5.65 ms4.37nan
remove_duplicates19.98 μs25.57nan
select_seeds59.23 μs59.33 μs0.2%1.341.34
populate_grid23.92 μs23.91 μs-0.1%1.221.22
update_triplet_weights14.82 μs14.86 μs0.2%1.271.27
form_spacepoints8.28 μs8.29 μs0.1%1.481.49
reduce_triplet_counts5.60 μs5.64 μs0.7%3.093.08
unknown5.02 μs5.02 μs-0.0%4.284.29
Total10.96 ms26.21 ms139.1%3.391.61

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.

@stephenswat
Copy link
Copy Markdown
Member

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 298341 to 298344 (+0.0%)

Seeding plots



Track finding performance

Total number of found tracks went from 50222 to 298344 (+494.1%)

Finding plots









Track fitting performance

Fitting plots














Seeding to track finding relative performance

Seeding to track finding plots



Note

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

@niermann999 niermann999 force-pushed the feat-kalman-track-follower branch from 2a47cb3 to 2bc9988 Compare April 1, 2026 16:33
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 1, 2026

@stephenswat
Copy link
Copy Markdown
Member

Performance summary

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

Graphical

Tabular

KernelReciprocal ThroughputParallelism
129e8662bc9988Delta129e8662bc9988
build_tracks125.19 μs3.71nan
count_doublets818.96 μs822.29 μs0.4%1.611.61
ccl_kernel657.44 μs658.66 μs0.2%1.711.71
count_triplets566.91 μs568.25 μs0.2%1.021.02
estimate_track_params146.40 μs146.19 μs-0.1%2.682.68
count_grid_capacities22.09 μs22.15 μs0.3%1.221.22
fill_finding_duplicate_removal_sort_keys1.55 μs37.97nan
fill_finding_propagation_sort_keys8.78 μs7.74nan
find_doublets532.99 μs536.53 μs0.7%3.083.08
find_tracks1.74 ms1.83nan
kalman_track_follower21.97 msnan1.55
Thrust::sort379.31 μs308.39 μs-18.7%7.324.38
find_triplets169.04 μs171.20 μs1.3%1.321.32
fill_sorted_measurements19.72 μs19.75 μs0.1%1.131.13
propagate_to_next_surface5.64 ms4.36nan
remove_duplicates19.96 μs25.64nan
select_seeds59.16 μs58.71 μs-0.8%1.341.34
populate_grid23.88 μs23.95 μs0.3%1.221.22
update_triplet_weights14.77 μs14.78 μs0.0%1.271.27
form_spacepoints8.30 μs8.32 μs0.2%1.481.48
reduce_triplet_counts5.65 μs5.68 μs0.5%3.083.08
unknown5.03 μs5.02 μs-0.1%4.284.28
Total10.97 ms25.34 ms131.0%3.391.62

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.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants