Skip to content

feat: Test reference trajectory navigation against simulated data#966

Draft
niermann999 wants to merge 1 commit into
acts-project:mainfrom
niermann999:feat-reference-traj
Draft

feat: Test reference trajectory navigation against simulated data#966
niermann999 wants to merge 1 commit 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 of the track are generated.

TODO: the hole count in the Kalman actor still disagrees with the navigation comparison

@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

Copy link
Copy Markdown

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

Copy link
Copy Markdown

Please retry analysis of this Pull-Request directly on SonarQube Cloud

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

Copy link
Copy Markdown

Please retry analysis of this Pull-Request directly on SonarQube Cloud

@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 3 times, most recently from fa0238a to 47c88e1 Compare July 31, 2025 11:49
@sonarqubecloud

Copy link
Copy Markdown

@niermann999 niermann999 force-pushed the feat-reference-traj branch 3 times, most recently from cc3ff39 to 3130f65 Compare October 11, 2025 19:23
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarQube Cloud

@niermann999 niermann999 force-pushed the feat-reference-traj branch 6 times, most recently from e144f72 to 484d761 Compare May 29, 2026 17:01
@niermann999 niermann999 marked this pull request as draft May 29, 2026 17:05
@niermann999 niermann999 force-pushed the feat-reference-traj branch 3 times, most recently from 2090e86 to e7b365e Compare June 2, 2026 18:40
@niermann999 niermann999 force-pushed the feat-reference-traj branch 3 times, most recently from a0cc5e4 to a12083d Compare June 9, 2026 09:05
@niermann999 niermann999 force-pushed the feat-reference-traj branch 5 times, most recently from 25e8a9b to ed67f90 Compare June 26, 2026 15:32
@niermann999 niermann999 force-pushed the feat-reference-traj branch from ed67f90 to be8e07f Compare June 26, 2026 15:59
@sonarqubecloud

Copy link
Copy Markdown

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