Skip to content

feat: progressive kalman filter#1231

Draft
niermann999 wants to merge 8 commits into
acts-project:mainfrom
niermann999:feat-kalman-track-follower
Draft

feat: progressive kalman filter#1231
niermann999 wants to merge 8 commits into
acts-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

This comment was marked as outdated.

@stephenswat

This comment was marked as outdated.

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

This comment was marked as outdated.

@niermann999 niermann999 changed the title feat: kalman track follower feat: progressive kalman filter May 7, 2026
@niermann999 niermann999 force-pushed the feat-kalman-track-follower branch 5 times, most recently from ecb39f1 to ee8c039 Compare May 11, 2026 13:24
@stephenswat

This comment was marked as outdated.

@niermann999 niermann999 force-pushed the feat-kalman-track-follower branch 2 times, most recently from 8648194 to f45f86c Compare May 12, 2026 11:42
@stephenswat

This comment was marked as outdated.

@niermann999 niermann999 force-pushed the feat-kalman-track-follower branch 3 times, most recently from 3d8e7a7 to 01a6189 Compare May 18, 2026 13:42
@stephenswat

This comment was marked as outdated.

@niermann999 niermann999 force-pushed the feat-kalman-track-follower branch from 01a6189 to 9dc98c4 Compare May 18, 2026 14:36
@stephenswat

This comment was marked as outdated.

@stephenswat

This comment was marked as outdated.

@niermann999 niermann999 force-pushed the feat-kalman-track-follower branch from 9dc98c4 to 628612a Compare May 19, 2026 11:58
@stephenswat
Copy link
Copy Markdown
Member

Performance summary

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

Graphical

Tabular

KernelReciprocal ThroughputParallelism
b73a8e5aa9eb04Deltab73a8e5aa9eb04
build_tracks124.01 μs3.71nan
fill_finding_duplicate_removal_sort_keys1.55 μs37.99nan
fill_finding_propagation_sort_keys8.73 μs7.74nan
find_tracks1.55 ms1.86nan
progressive_kalman_filter20.65 msnan1.55
fit_backward8.61 msnan1.23
count_doublets818.74 μs815.43 μs-0.4%1.611.61
count_triplets566.47 μs567.12 μs0.1%1.021.02
find_doublets532.83 μs539.17 μs1.2%3.083.08
ccl_kernel434.62 μs435.23 μs0.1%1.711.71
Thrust::sort380.34 μs309.23 μs-18.7%7.314.38
find_triplets169.04 μs169.54 μs0.3%1.311.32
estimate_track_params146.39 μs146.59 μs0.1%2.682.68
fill_sorted_measurements16.28 μs16.22 μs-0.3%1.131.13
propagate_to_next_surface5.81 ms4.33nan
remove_duplicates19.85 μs25.75nan
select_seeds59.00 μs58.60 μs-0.7%1.341.34
populate_grid23.82 μs23.87 μs0.2%1.221.22
count_grid_capacities22.05 μs22.05 μs0.0%1.221.22
update_triplet_weights14.81 μs14.80 μs-0.1%1.271.27
form_spacepoints8.48 μs8.41 μs-0.9%1.481.49
reduce_triplet_counts5.62 μs5.63 μs0.1%3.093.08
unknown5.02 μs5.03 μs0.2%4.274.27
Total10.71 ms32.40 ms202.4%3.461.52

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

Seeding plots



Track finding performance

Total number of found tracks went from 50211 to 298341 (+494.2%)

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 aa9eb04 to a7a4d87 Compare May 20, 2026 13:16
@sonarqubecloud
Copy link
Copy Markdown

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

Labels

feature New feature or request performance Performance-relevant changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants