Skip to content

FPGATrackSim: Change a bit prototrack formation and enable InsideOut full-chain analysis test

Ioannis Maznas requested to merge imaznas/athena:FPGATrackSimFix2 into main

This fixes the symptom of having prototracks with no measurements since the check till now was seeing only the first element of the cluster's rdo list instead of scanning the entire list for match.

Also, since the above fix seems to be functional, this MR enables the entire Inside-Out chain all the way to ACTS, and truth matching in the respective unit test.

Example outcome for region 0 for 100 single muon events
FPGATrackSimLogicalHitsProcessAlg                                 INFO PRINTING FPGATRACKSIM SIMPLE STATS
FPGATrackSimLogicalHitsProcessAlg                                 INFO ========================================================================================
FPGATrackSimLogicalHitsProcessAlg                                 INFO Inclusive efficiency to find a road = 1
FPGATrackSimLogicalHitsProcessAlg                                 INFO Inclusive efficiency to find a track = 1
FPGATrackSimLogicalHitsProcessAlg                                 INFO Inclusive efficiency to find a track passing chi2 = 1
FPGATrackSimLogicalHitsProcessAlg                                 INFO Inclusive efficiency to find a track passing chi2 and OLR = 1
FPGATrackSimLogicalHitsProcessAlg                                 INFO Number of 1st stage roads/event = 4.46429
FPGATrackSimLogicalHitsProcessAlg                                 INFO Number of 1st stage track combinations/event = 7.57143
FPGATrackSimLogicalHitsProcessAlg                                 INFO Number of 1st stage tracks passing chi2/event = 7.55357
FPGATrackSimLogicalHitsProcessAlg                                 INFO Number of 1st stage tracks passing chi2 and OLR/event = 7.55357
Hit efficiency : contributing hits over all hits of best matching truth particle
|-----------|--------------|--------------|--------------|--------------|--------------|--------------|--------------|
| eta  \ pt |    0-1000    | 1000-2500    | 2500-5000    | 5000-10000   | 10000-100000 | 100000-+inf  |  All pt      |
|-----------|--------------|--------------|--------------|--------------|--------------|--------------|--------------|
|  0.0- 0.5 |            0 |        0.743 |        0.685 |        0.744 |        0.723 |            0 |         0.72 |
|  0.5- 1.0 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  1.0- 1.5 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  1.5- 2.0 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  2.0- 2.5 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  2.5- 3.0 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  3.0- 3.5 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  3.5-+inf |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  All eta  |            0 |        0.743 |        0.685 |        0.744 |        0.723 |            0 |         0.72 |
|-----------|--------------|--------------|--------------|--------------|--------------|--------------|--------------|
Hit purity : contributing hits of best matching truth particle over all hits on track
|-----------|--------------|--------------|--------------|--------------|--------------|--------------|--------------|
| eta  \ pt |    0-1000    | 1000-2500    | 2500-5000    | 5000-10000   | 10000-100000 | 100000-+inf  |  All pt      |
|-----------|--------------|--------------|--------------|--------------|--------------|--------------|--------------|
|  0.0- 0.5 |            0 |            1 |            1 |            1 |            1 |            0 |            1 |
|  0.5- 1.0 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  1.0- 1.5 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  1.5- 2.0 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  2.0- 2.5 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  2.5- 3.0 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  3.0- 3.5 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  3.5-+inf |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  All eta  |            0 |            1 |            1 |            1 |            1 |            0 |            1 |
|-----------|--------------|--------------|--------------|--------------|--------------|--------------|--------------|
Match probability : weighted common hit sum of best matching truth particle over total track weighted hit sum
|-----------|--------------|--------------|--------------|--------------|--------------|--------------|--------------|
| eta  \ pt |    0-1000    | 1000-2500    | 2500-5000    | 5000-10000   | 10000-100000 | 100000-+inf  |  All pt      |
|-----------|--------------|--------------|--------------|--------------|--------------|--------------|--------------|
|  0.0- 0.5 |            0 |            1 |            1 |            1 |            1 |            0 |            1 |
|  0.5- 1.0 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  1.0- 1.5 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  1.5- 2.0 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  2.0- 2.5 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  2.5- 3.0 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  3.0- 3.5 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  3.5-+inf |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  All eta  |            0 |            1 |            1 |            1 |            1 |            0 |            1 |
|-----------|--------------|--------------|--------------|--------------|--------------|--------------|--------------|
Reco efficiency : tracks with assoc. truth particle over all selected truth particles with assoc. measurements.
|-----------|--------------|--------------|--------------|--------------|--------------|--------------|--------------|
| eta  \ pt |    0-1000    | 1000-2500    | 2500-5000    | 5000-10000   | 10000-100000 | 100000-+inf  |  All pt      |
|-----------|--------------|--------------|--------------|--------------|--------------|--------------|--------------|
|  0.0- 0.5 |            0 |            1 |            1 |            1 |            1 |            0 |            1 |
|  0.5- 1.0 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  1.0- 1.5 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  1.5- 2.0 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  2.0- 2.5 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  2.5- 3.0 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  3.0- 3.5 |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  3.5-+inf |            0 |            0 |            0 |            0 |            0 |            0 |            0 |
|  All eta  |            0 |            1 |            1 |            1 |            1 |            0 |            1 |
|-----------|--------------|--------------|--------------|--------------|--------------|--------------|--------------|
|-------------------------------------------------------|--------------|
| Number of tracks                                      |          424 |
| Number of truth particles with hit counts             |           56 |
| Associated truth particles without hit counts         |            0 |
| Tracks without associated truth particle              |            0 |
| Tracks without selected, associated truth particle    |            0 |
| Best truth particle without noise correction mismatch |            0 |
|-------------------------------------------------------|--------------|

Adding @jahreda, @piazza, @brosser and @lipeles for reviews and awareness

Edited by Ioannis Maznas

Merge request reports

Loading