Skip to content
This repository was archived by the owner on Jul 15, 2026. It is now read-only.

feat: Test reference trajectory navigation against simulated data - #966

Merged
stephenswat merged 15 commits into
acts-project:mainfrom
niermann999:feat-reference-traj
Jul 10, 2026
Merged

feat: Test reference trajectory navigation against simulated data#966
stephenswat merged 15 commits into
acts-project:mainfrom
niermann999:feat-reference-traj

Conversation

@niermann999

@niermann999 niermann999 commented May 6, 2025

Copy link
Copy Markdown
Contributor

Runs a detray navigation test against simulated data, without material effects, with only energy loss, with only multiple scattering or with all material effects and compares the number of surfaces discovered by the navigation (missing and extra surfaces). In a second step, it tries to enhance the surface finding efficiency by including the Kalman actor and updating the free track parameters through Kalman filtering.
The mask tolerances can be used to steer how many surfaces are visited by the navigator. The results are printed to cmdl and for tracks with missing surfaces a full debug log as well as an svg representation (optional) of the track are generated.

This is then app.ied to the toy detector in a new test, which monitors the percentage of missed and additional surfaces to guard against degradation in the Kalman Filter performance. An additional example executable is provided, in order to be able to run the same test over more realistic detectors. like the ODD or ITk

@niermann999
niermann999 force-pushed the feat-reference-traj branch from 0b41ef2 to 823fcbd Compare May 6, 2025 15:24
@niermann999

Copy link
Copy Markdown
Contributor Author

Example output:

[ RUN      ] pT_05GeV_only_eloss/CKF_navigation_test.toy_detector/0
WARNING: No entries in volume finder

Detector check: OK
Using hit time
Using hit time
Using hit time
Using hit time
Using hit time
-----------------------------------
FORWARD - No KF
-----------------------------------
No. Tracks with miss. surfaces:    28/12500 (0.224%)
No. Tracks with add. surfaces:     44/12500 (0.352%)
No. Good Tracks (exact match):     12434/12500 (99.472%)

Max no. of miss. surfaces per track:    5 (Mean: 1.464286)
Max no. of add. surfaces per track:     3 (Mean: 1.136364)

-----------------------------------
BACKWARD - No KF
-----------------------------------
No. Tracks with miss. surfaces:    28/12500 (0.224%)
No. Tracks with add. surfaces:     45/12500 (0.36%)
No. Good Tracks (exact match):     12433/12500 (99.464%)

Max no. of miss. surfaces per track:    5 (Mean: 1.464286)
Max no. of add. surfaces per track:     3 (Mean: 1.133333)

-----------------------------------
MATERIAL TRACE - No KF
-----------------------------------
Total no. tracks with diff. material: 1 (0.008%)
No. identical tracks with diff. material: 0 (0%)
-----------------------------------

-----------------------------------
FORWARD - With KF
-----------------------------------
No. Tracks with miss. surfaces:    129/12500 (1.032%)
No. Tracks with add. surfaces:     105/12500 (0.84%)
No. Good Tracks (exact match):     12273/12500 (98.184%)

Max no. of miss. surfaces per track:    3 (Mean: 1.023256)
Max no. of add. surfaces per track:     2 (Mean: 1.019048)

-----------------------------------
No. holes found by fw KF: 132
-----------------------------------
BACKWARD - With KF
-----------------------------------
No. Tracks with miss. surfaces:    84/12500 (0.672%)
No. Tracks with add. surfaces:     78/12500 (0.624%)
No. Good Tracks (exact match):     12343/12500 (98.744%)

Max no. of miss. surfaces per track:    4 (Mean: 1.083333)
Max no. of add. surfaces per track:     2 (Mean: 1.038462)

-----------------------------------
No. holes found by bw KF: 90
No. tracks that were not smoothed correctly: 160 (1.28%)
-----------------------------------

0 500000_GeV_fw_toy_detector_volumes_xy_helix_954

@niermann999
niermann999 force-pushed the feat-reference-traj branch 3 times, most recently from 89abdf8 to 056ba28 Compare May 6, 2025 19:06
@niermann999
niermann999 force-pushed the feat-reference-traj branch from 056ba28 to fae7b2c Compare May 24, 2025 12:46
@niermann999
niermann999 marked this pull request as ready for review May 24, 2025 12:46
@niermann999
niermann999 marked this pull request as draft May 24, 2025 12:48
@niermann999

This comment was marked as outdated.

@niermann999
niermann999 force-pushed the feat-reference-traj branch from fae7b2c to 3a6fbd7 Compare May 24, 2025 13:43
@niermann999
niermann999 marked this pull request as ready for review May 24, 2025 13:46
@niermann999
niermann999 marked this pull request as draft May 24, 2025 13:46
@niermann999
niermann999 force-pushed the feat-reference-traj branch from 3a6fbd7 to 1f1ce11 Compare May 30, 2025 16:17
@sonarqubecloud

This comment was marked as outdated.

@niermann999
niermann999 force-pushed the feat-reference-traj branch 5 times, most recently from 9c9ce13 to 0bbad21 Compare July 15, 2025 18:17
@sonarqubecloud

This comment was marked as outdated.

@niermann999
niermann999 force-pushed the feat-reference-traj branch 4 times, most recently from b91769c to fa32028 Compare July 28, 2025 16:36
@sonarqubecloud

This comment was marked as outdated.

@niermann999
niermann999 force-pushed the feat-reference-traj branch 3 times, most recently from 1c7c522 to 6c27b8c Compare July 30, 2025 11:15
@niermann999
niermann999 marked this pull request as ready for review July 30, 2025 11:15
@niermann999
niermann999 force-pushed the feat-reference-traj branch from df82be1 to d860064 Compare July 2, 2026 12:13
@niermann999
niermann999 force-pushed the feat-reference-traj branch from d860064 to c03f22f Compare July 2, 2026 13:55
@niermann999
niermann999 marked this pull request as ready for review July 8, 2026 15:20
@niermann999

Copy link
Copy Markdown
Contributor Author

Depends on #1360

@niermann999
niermann999 force-pushed the feat-reference-traj branch 4 times, most recently from fc90f01 to b1472ed Compare July 9, 2026 15:04
@sonarqubecloud

Copy link
Copy Markdown

@stephenswat
stephenswat enabled auto-merge (squash) July 10, 2026 09:35
@stephenswat
stephenswat merged commit 94667c4 into acts-project:main Jul 10, 2026
27 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants