Skip to content

Add options to remove beam hole tracks and use sorted clone removal

Louis Henry requested to merge lohenry-improveLead into master

Supercedes (cleaner version) !3547 (closed) and !3544 (closed)

  • Adds an option to exploit the inner sorting of X candidates to have a more linear XZ clone removal, solving the scaling shown here: image
  • Adds an option to remove the beam hole backgrounds.
  • When both options are set to false, this is equivalent to the behaviour in master.

Master @ 25k GEC

SeedTrackChecker_f7b587f2              INFO Results
SeedTrackChecker_f7b587f2              INFO **** Seed                           130872 tracks including         109146 ghosts [83.40 %], Event average 23.35 % ****
SeedTrackChecker_f7b587f2              INFO   01_hasT                        :   16360 from    24572 [ 66.58 %]      7 clones [ 0.04 %], purity: 98.61 %, hitEff: 95.05 %
SeedTrackChecker_f7b587f2              INFO   02_long                        :    8148 from    10647 [ 76.53 %]      3 clones [ 0.04 %], purity: 98.95 %, hitEff: 95.63 %
SeedTrackChecker_f7b587f2              INFO   03_long_P>5GeV                 :    5000 from     6149 [ 81.31 %]      2 clones [ 0.04 %], purity: 98.95 %, hitEff: 96.45 %
SeedTrackChecker_f7b587f2              INFO   06_UT+T_strange                :    1415 from     1881 [ 75.23 %]      1 clones [ 0.07 %], purity: 98.80 %, hitEff: 95.19 %
SeedTrackChecker_f7b587f2              INFO   07_UT+T_strange_P>5GeV         :     781 from      985 [ 79.29 %]      1 clones [ 0.13 %], purity: 98.67 %, hitEff: 96.04 %
SeedTrackChecker_f7b587f2              INFO   08_noVelo+UT+T_strange         :     964 from     1276 [ 75.55 %]      1 clones [ 0.10 %], purity: 98.73 %, hitEff: 95.32 %
SeedTrackChecker_f7b587f2              INFO   09_noVelo+UT+T_strange_P>5GeV  :     580 from      737 [ 78.70 %]      1 clones [ 0.17 %], purity: 98.53 %, hitEff: 95.87 %
SeedTrackChecker_f7b587f2              INFO   13_hasT_electrons              :    2409 from     5987 [ 40.24 %]      0 clones [ 0.00 %], purity: 98.78 %, hitEff: 94.28 %
SeedTrackChecker_f7b587f2              INFO   14_long_electrons              :     264 from      362 [ 72.93 %]      0 clones [ 0.00 %], purity: 99.33 %, hitEff: 94.58 %
SeedTrackChecker_f7b587f2              INFO   16_long_electrons_P>5GeV       :      97 from      126 [ 76.98 %]      0 clones [ 0.00 %], purity: 99.06 %, hitEff: 97.29 %
SeedTrackChecker_f7b587f2              INFO
HLTControlFlowMgr                      INFO Memory pool: used 2.41449 +/- 0.134963 MiB (min: 0, max: 4) in 1 +/- 0 blocks (allocated >once in 0 +/- 0% events). Allocated capacity was 10 +/- 0 MiB (min: 1\
0, max: 10) and 193.71 +/- 10.6293 (min: 4, max: 334) requests were served
HLTControlFlowMgr                      INFO Timing table:
HLTControlFlowMgr                      INFO
 | Name of Algorithm                               | Execution Count | Total Time / s  | Avg. Time / us   |
 | Sum of all Algorithms                           |             200 |         103.335 |       516672.655 |
 | "Fetch__Event_DAQ_RawEvent"                     |             200 |          83.459 |       417293.485 |
 | "PrHybridSeeding_4d0337cc"                      |             123 |          11.343 |        92221.183 |
 | "FTRawBankDecoder"                              |             123 |           0.059 |          475.752 |

This branch, with both options activated:

SeedTrackChecker_f7b587f2              INFO Results
SeedTrackChecker_f7b587f2              INFO **** Seed                           132173 tracks including         110622 ghosts [83.69 %], Event average 23.39 % ****
SeedTrackChecker_f7b587f2              INFO   01_hasT                        :   16374 from    24572 [ 66.64 %]     11 clones [ 0.07 %], purity: 98.64 %, hitEff: 94.99 %
SeedTrackChecker_f7b587f2              INFO   02_long                        :    8199 from    10647 [ 77.01 %]      4 clones [ 0.05 %], purity: 98.94 %, hitEff: 95.53 %
SeedTrackChecker_f7b587f2              INFO   03_long_P>5GeV                 :    5019 from     6149 [ 81.62 %]      2 clones [ 0.04 %], purity: 98.97 %, hitEff: 96.38 %
SeedTrackChecker_f7b587f2              INFO   06_UT+T_strange                :    1422 from     1881 [ 75.60 %]      1 clones [ 0.07 %], purity: 98.81 %, hitEff: 95.11 %
SeedTrackChecker_f7b587f2              INFO   07_UT+T_strange_P>5GeV         :     782 from      985 [ 79.39 %]      1 clones [ 0.13 %], purity: 98.66 %, hitEff: 95.95 %
SeedTrackChecker_f7b587f2              INFO   08_noVelo+UT+T_strange         :     967 from     1276 [ 75.78 %]      1 clones [ 0.10 %], purity: 98.77 %, hitEff: 95.27 %
SeedTrackChecker_f7b587f2              INFO   09_noVelo+UT+T_strange_P>5GeV  :     579 from      737 [ 78.56 %]      1 clones [ 0.17 %], purity: 98.54 %, hitEff: 95.85 %
SeedTrackChecker_f7b587f2              INFO   13_hasT_electrons              :    2415 from     5987 [ 40.34 %]      0 clones [ 0.00 %], purity: 98.77 %, hitEff: 94.21 %
SeedTrackChecker_f7b587f2              INFO   14_long_electrons              :     262 from      362 [ 72.38 %]      0 clones [ 0.00 %], purity: 99.26 %, hitEff: 94.61 %
SeedTrackChecker_f7b587f2              INFO   16_long_electrons_P>5GeV       :      96 from      126 [ 76.19 %]      0 clones [ 0.00 %], purity: 99.05 %, hitEff: 97.26 %
SeedTrackChecker_f7b587f2              INFO
HLTControlFlowMgr                      INFO Memory pool: used 2.41449 +/- 0.134963 MiB (min: 0, max: 4) in 1 +/- 0 blocks (allocated >once in 0 +/- 0% events). Allocated capacity was 10 +/- 0 MiB (min: 1\
0, max: 10) and 193.71 +/- 10.6293 (min: 4, max: 334) requests were served
HLTControlFlowMgr                      INFO Timing table:
HLTControlFlowMgr                      INFO
 | Name of Algorithm                               | Execution Count | Total Time / s  | Avg. Time / us   |
 | Sum of all Algorithms                           |             200 |          76.132 |       380661.335 |
 | "Fetch__Event_DAQ_RawEvent"                     |             200 |          64.903 |       324514.486 |
 | "PrHybridSeeding_4d0337cc"                      |             123 |           5.281 |        42937.088 |
 | "FTRawBankDecoder"                              |             123 |           0.049 |          398.837 |

So a bit more ghosts/efficiency, for a timing HybridSeeding/FTRawBankDecoder that goes from 194 to 144 (-35%).

For GEC=40k, master:

SeedTrackChecker_f7b587f2              INFO Results
SeedTrackChecker_f7b587f2              INFO **** Seed                          1545461 tracks including        1506391 ghosts [97.47 %], Event average 43.10 % ****
SeedTrackChecker_f7b587f2              INFO   01_hasT                        :   29255 from    82677 [ 35.38 %]     26 clones [ 0.09 %], purity: 97.48 %, hitEff: 92.33 %
SeedTrackChecker_f7b587f2              INFO   02_long                        :   14991 from    35423 [ 42.32 %]      9 clones [ 0.06 %], purity: 97.96 %, hitEff: 93.25 %
SeedTrackChecker_f7b587f2              INFO   03_long_P>5GeV                 :    8738 from    20385 [ 42.86 %]      3 clones [ 0.03 %], purity: 97.95 %, hitEff: 93.95 %
SeedTrackChecker_f7b587f2              INFO   06_UT+T_strange                :    2714 from     6521 [ 41.62 %]      4 clones [ 0.15 %], purity: 97.68 %, hitEff: 92.34 %
SeedTrackChecker_f7b587f2              INFO   07_UT+T_strange_P>5GeV         :    1373 from     3311 [ 41.47 %]      2 clones [ 0.15 %], purity: 97.60 %, hitEff: 93.29 %
SeedTrackChecker_f7b587f2              INFO   08_noVelo+UT+T_strange         :    1788 from     4408 [ 40.56 %]      4 clones [ 0.22 %], purity: 97.65 %, hitEff: 92.33 %
SeedTrackChecker_f7b587f2              INFO   09_noVelo+UT+T_strange_P>5GeV  :     965 from     2413 [ 39.99 %]      2 clones [ 0.21 %], purity: 97.61 %, hitEff: 93.26 %
SeedTrackChecker_f7b587f2              INFO   13_hasT_electrons              :    4688 from    19386 [ 24.18 %]      4 clones [ 0.09 %], purity: 97.61 %, hitEff: 91.07 %
SeedTrackChecker_f7b587f2              INFO   14_long_electrons              :     508 from     1092 [ 46.52 %]      0 clones [ 0.00 %], purity: 97.96 %, hitEff: 91.26 %
SeedTrackChecker_f7b587f2              INFO   16_long_electrons_P>5GeV       :     179 from      377 [ 47.48 %]      0 clones [ 0.00 %], purity: 97.71 %, hitEff: 93.39 %
SeedTrackChecker_f7b587f2              INFO
HLTControlFlowMgr                      INFO Memory pool: used 3.46819 +/- 0.114175 MiB (min: 0, max: 6) in 1 +/- 0 blocks (allocated >once in 0 +/- 0% events). Allocated capacity was 10 +/- 0 MiB (min: 1\
0, max: 10) and 270.545 +/- 8.56752 (min: 4, max: 440) requests were served
HLTControlFlowMgr                      INFO Timing table:
HLTControlFlowMgr                      INFO
 | Name of Algorithm                               | Execution Count | Total Time / s  | Avg. Time / us   |
 | Sum of all Algorithms                           |             200 |         550.532 |      2752657.800 |
 | "PrHybridSeeding_4d0337cc"                      |             167 |         441.595 |      2644283.401 |
 | "FTRawBankDecoder"                              |             167 |           0.115 |          690.199 |

and this MR:

SeedTrackChecker_f7b587f2              INFO Results
SeedTrackChecker_f7b587f2              INFO **** Seed                          1485375 tracks including        1445658 ghosts [97.33 %], Event average 43.11 % ****
SeedTrackChecker_f7b587f2              INFO   01_hasT                        :   29917 from    82677 [ 36.19 %]     41 clones [ 0.14 %], purity: 97.40 %, hitEff: 92.05 %
SeedTrackChecker_f7b587f2              INFO   02_long                        :   15322 from    35423 [ 43.25 %]     12 clones [ 0.08 %], purity: 97.93 %, hitEff: 93.05 %
SeedTrackChecker_f7b587f2              INFO   03_long_P>5GeV                 :    8861 from    20385 [ 43.47 %]      3 clones [ 0.03 %], purity: 97.96 %, hitEff: 93.82 %
SeedTrackChecker_f7b587f2              INFO   06_UT+T_strange                :    2784 from     6521 [ 42.69 %]      3 clones [ 0.11 %], purity: 97.63 %, hitEff: 92.20 %
SeedTrackChecker_f7b587f2              INFO   07_UT+T_strange_P>5GeV         :    1403 from     3311 [ 42.37 %]      2 clones [ 0.14 %], purity: 97.59 %, hitEff: 93.14 %
SeedTrackChecker_f7b587f2              INFO   08_noVelo+UT+T_strange         :    1834 from     4408 [ 41.61 %]      3 clones [ 0.16 %], purity: 97.62 %, hitEff: 92.22 %
SeedTrackChecker_f7b587f2              INFO   09_noVelo+UT+T_strange_P>5GeV  :     985 from     2413 [ 40.82 %]      2 clones [ 0.20 %], purity: 97.64 %, hitEff: 93.17 %
SeedTrackChecker_f7b587f2              INFO   13_hasT_electrons              :    4844 from    19386 [ 24.99 %]     12 clones [ 0.25 %], purity: 97.43 %, hitEff: 90.68 %
SeedTrackChecker_f7b587f2              INFO   14_long_electrons              :     516 from     1092 [ 47.25 %]      0 clones [ 0.00 %], purity: 97.81 %, hitEff: 91.18 %
SeedTrackChecker_f7b587f2              INFO   16_long_electrons_P>5GeV       :     181 from      377 [ 48.01 %]      0 clones [ 0.00 %], purity: 97.73 %, hitEff: 93.36 %
SeedTrackChecker_f7b587f2              INFO


 | Name of Algorithm                               | Execution Count | Total Time / s  | Avg. Time / us   |
 | Sum of all Algorithms                           |             200 |         197.368 |       986839.325 |
 | "PrHybridSeeding_4d0337cc"                      |             167 |          99.458 |       595558.249 |
 | "FTRawBankDecoder"                              |             167 |           0.098 |          587.205 |

So better ghost rate (-0.1%), efficiency (+1%), and HybridSeeding/FTRawBankDecoder went from 9120 to 1010 (x9 faster).

@baudurie @gunther @decianm

Merge request reports