Use an explicit mask of missing modules instead of a seeding window (as in HLT1)
Implement the same logic for skipping modules as in HLT1: Allen!1756 (merged)
Updated to also include the seeding window parameter: https://godbolt.org/z/bT8a4c6nf
Goes with Moore!5538 (merged)
reference (no missing modules, without this MR, seeding window = 4):
**** Velo 240484 tracks including 12141 ghosts [ 5.05 %], Event average 5.41 % ****
01_velo : 101972 from 103746 [ 98.29 %] 1332 clones [ 1.29 %], purity: 99.60 %, hitEff: 95.76 %, hitEffFirst3: 95.90 %, hitEffLast: 95.59 %
02_long : 58659 from 59002 [ 99.42 %] 503 clones [ 0.85 %], purity: 99.76 %, hitEff: 96.71 %, hitEffFirst3: 96.86 %, hitEffLast: 96.59 %
03_long_P>5GeV : 37673 from 37806 [ 99.65 %] 222 clones [ 0.59 %], purity: 99.80 %, hitEff: 97.19 %, hitEffFirst3: 97.42 %, hitEffLast: 97.09 %
04_long_strange : 3138 from 3239 [ 96.88 %] 17 clones [ 0.54 %], purity: 99.22 %, hitEff: 96.64 %, hitEffFirst3: 96.74 %, hitEffLast: 96.21 %
05_long_strange_P>5GeV : 1439 from 1484 [ 96.97 %] 7 clones [ 0.48 %], purity: 99.14 %, hitEff: 97.06 %, hitEffFirst3: 97.46 %, hitEffLast: 96.55 %
06_long_fromB : 87 from 87 [100.00 %] 0 clones [ 0.00 %], purity: 99.90 %, hitEff: 97.58 %, hitEffFirst3: 97.32 %, hitEffLast: 97.66 %
06_long_fromD : 689 from 693 [ 99.42 %] 7 clones [ 1.01 %], purity: 99.78 %, hitEff: 96.38 %, hitEffFirst3: 96.65 %, hitEffLast: 96.24 %
07_long_fromB_P>5GeV : 50 from 50 [100.00 %] 0 clones [ 0.00 %], purity: 99.83 %, hitEff: 98.27 %, hitEffFirst3: 99.33 %, hitEffLast: 97.73 %
07_long_fromD_P>5GeV : 461 from 463 [ 99.57 %] 3 clones [ 0.65 %], purity: 99.89 %, hitEff: 96.98 %, hitEffFirst3: 97.49 %, hitEffLast: 96.84 %
08_long_electrons : 3847 from 4165 [ 92.36 %] 35 clones [ 0.90 %], purity: 97.47 %, hitEff: 91.93 %, hitEffFirst3: 90.61 %, hitEffLast: 91.66 %
09_long_fromB_electrons : 6 from 7 [ 85.71 %] 0 clones [ 0.00 %], purity: 98.81 %, hitEff: 94.92 %, hitEffFirst3: 94.44 %, hitEffLast: 95.71 %
10_long_fromB_electrons_P>5GeV : 5 from 6 [ 83.33 %] 0 clones [ 0.00 %], purity: 98.57 %, hitEff: 95.33 %, hitEffFirst3: 93.33 %, hitEffLast: 96.67 %
11_long_fromB_P>3GeV_Pt>0.5GeV : 39 from 39 [100.00 %] 0 clones [ 0.00 %], purity: 99.79 %, hitEff: 97.08 %, hitEffFirst3: 98.29 %, hitEffLast: 96.78 %
11_long_fromB_electrons_P>3GeV_Pt>0.5GeV : 5 from 6 [ 83.33 %] 0 clones [ 0.00 %], purity: 98.57 %, hitEff: 95.33 %, hitEffFirst3: 93.33 %, hitEffLast: 96.67 %
11_long_fromD_P>3GeV_Pt>0.5GeV : 362 from 363 [ 99.72 %] 2 clones [ 0.55 %], purity: 99.88 %, hitEff: 96.80 %, hitEffFirst3: 96.98 %, hitEffLast: 96.85 %
11_long_strange_P>3GeV_Pt>0.5GeV : 720 from 755 [ 95.36 %] 1 clones [ 0.14 %], purity: 98.88 %, hitEff: 97.31 %, hitEffFirst3: 97.83 %, hitEffLast: 96.59 %
12_UT_long_fromB_P>3GeV_Pt>0.5GeV : 39 from 39 [100.00 %] 0 clones [ 0.00 %], purity: 99.79 %, hitEff: 97.08 %, hitEffFirst3: 98.29 %, hitEffLast: 96.78 %
missing modules, without this MR, seeding window = 6:
**** Velo 226931 tracks including 24499 ghosts [10.80 %], Event average 10.52 % ****
01_velo : 98262 from 103746 [ 94.71 %] 1075 clones [ 1.08 %], purity: 99.52 %, hitEff: 87.99 %, hitEffFirst3: 88.42 %, hitEffLast: 87.61 %
02_long : 56873 from 59002 [ 96.39 %] 393 clones [ 0.69 %], purity: 99.69 %, hitEff: 88.66 %, hitEffFirst3: 89.23 %, hitEffLast: 88.27 %
03_long_P>5GeV : 36331 from 37806 [ 96.10 %] 153 clones [ 0.42 %], purity: 99.76 %, hitEff: 88.40 %, hitEffFirst3: 89.81 %, hitEffLast: 87.72 %
04_long_strange : 2846 from 3239 [ 87.87 %] 13 clones [ 0.45 %], purity: 99.05 %, hitEff: 90.22 %, hitEffFirst3: 90.54 %, hitEffLast: 89.31 %
05_long_strange_P>5GeV : 1271 from 1484 [ 85.65 %] 4 clones [ 0.31 %], purity: 98.99 %, hitEff: 90.11 %, hitEffFirst3: 90.75 %, hitEffLast: 89.46 %
06_long_fromB : 87 from 87 [100.00 %] 1 clones [ 1.14 %], purity: 99.49 %, hitEff: 88.66 %, hitEffFirst3: 86.74 %, hitEffLast: 89.42 %
06_long_fromD : 678 from 693 [ 97.84 %] 3 clones [ 0.44 %], purity: 99.70 %, hitEff: 88.61 %, hitEffFirst3: 89.82 %, hitEffLast: 87.69 %
07_long_fromB_P>5GeV : 50 from 50 [100.00 %] 0 clones [ 0.00 %], purity:100.00 %, hitEff: 90.78 %, hitEffFirst3: 91.33 %, hitEffLast: 89.93 %
07_long_fromD_P>5GeV : 455 from 463 [ 98.27 %] 1 clones [ 0.22 %], purity: 99.92 %, hitEff: 88.41 %, hitEffFirst3: 90.42 %, hitEffLast: 87.31 %
08_long_electrons : 3176 from 4165 [ 76.25 %] 35 clones [ 1.09 %], purity: 97.13 %, hitEff: 85.84 %, hitEffFirst3: 85.13 %, hitEffLast: 85.26 %
09_long_fromB_electrons : 6 from 7 [ 85.71 %] 0 clones [ 0.00 %], purity: 98.72 %, hitEff: 87.91 %, hitEffFirst3: 77.78 %, hitEffLast: 90.55 %
10_long_fromB_electrons_P>5GeV : 5 from 6 [ 83.33 %] 0 clones [ 0.00 %], purity: 98.46 %, hitEff: 88.35 %, hitEffFirst3: 80.00 %, hitEffLast: 90.48 %
11_long_fromB_P>3GeV_Pt>0.5GeV : 39 from 39 [100.00 %] 0 clones [ 0.00 %], purity:100.00 %, hitEff: 91.91 %, hitEffFirst3: 88.03 %, hitEffLast: 93.99 %
11_long_fromB_electrons_P>3GeV_Pt>0.5GeV : 5 from 6 [ 83.33 %] 0 clones [ 0.00 %], purity: 98.46 %, hitEff: 88.35 %, hitEffFirst3: 80.00 %, hitEffLast: 90.48 %
11_long_fromD_P>3GeV_Pt>0.5GeV : 359 from 363 [ 98.90 %] 1 clones [ 0.28 %], purity: 99.89 %, hitEff: 89.37 %, hitEffFirst3: 89.63 %, hitEffLast: 88.98 %
11_long_strange_P>3GeV_Pt>0.5GeV : 677 from 755 [ 89.67 %] 0 clones [ 0.00 %], purity: 98.64 %, hitEff: 91.82 %, hitEffFirst3: 91.33 %, hitEffLast: 91.50 %
12_UT_long_fromB_P>3GeV_Pt>0.5GeV : 39 from 39 [100.00 %] 0 clones [ 0.00 %], purity:100.00 %, hitEff: 91.91 %, hitEffFirst3: 88.03 %, hitEffLast: 93.99 %
missing modules, with this MR:
**** Velo 226306 tracks including 6624 ghosts [ 2.93 %], Event average 3.40 % ****
01_velo : 98485 from 103746 [ 94.93 %] 1129 clones [ 1.13 %], purity: 99.58 %, hitEff: 88.46 %, hitEffFirst3: 88.69 %, hitEffLast: 88.15 %
02_long : 56883 from 59002 [ 96.41 %] 413 clones [ 0.72 %], purity: 99.71 %, hitEff: 88.98 %, hitEffFirst3: 89.38 %, hitEffLast: 88.66 %
03_long_P>5GeV : 36320 from 37806 [ 96.07 %] 164 clones [ 0.45 %], purity: 99.77 %, hitEff: 88.59 %, hitEffFirst3: 89.89 %, hitEffLast: 87.94 %
04_long_strange : 2847 from 3239 [ 87.90 %] 13 clones [ 0.45 %], purity: 99.05 %, hitEff: 90.53 %, hitEffFirst3: 90.89 %, hitEffLast: 89.58 %
05_long_strange_P>5GeV : 1269 from 1484 [ 85.51 %] 4 clones [ 0.31 %], purity: 99.00 %, hitEff: 90.29 %, hitEffFirst3: 90.99 %, hitEffLast: 89.55 %
06_long_fromB : 87 from 87 [100.00 %] 1 clones [ 1.14 %], purity: 99.37 %, hitEff: 88.84 %, hitEffFirst3: 86.74 %, hitEffLast: 89.68 %
06_long_fromD : 675 from 693 [ 97.40 %] 5 clones [ 0.74 %], purity: 99.66 %, hitEff: 88.93 %, hitEffFirst3: 89.66 %, hitEffLast: 88.20 %
07_long_fromB_P>5GeV : 50 from 50 [100.00 %] 0 clones [ 0.00 %], purity: 99.80 %, hitEff: 90.63 %, hitEffFirst3: 90.67 %, hitEffLast: 89.99 %
07_long_fromD_P>5GeV : 452 from 463 [ 97.62 %] 1 clones [ 0.22 %], purity: 99.89 %, hitEff: 88.97 %, hitEffFirst3: 90.58 %, hitEffLast: 87.97 %
08_long_electrons : 3183 from 4165 [ 76.42 %] 33 clones [ 1.03 %], purity: 97.22 %, hitEff: 85.94 %, hitEffFirst3: 84.98 %, hitEffLast: 85.36 %
09_long_fromB_electrons : 6 from 7 [ 85.71 %] 0 clones [ 0.00 %], purity: 98.72 %, hitEff: 87.91 %, hitEffFirst3: 77.78 %, hitEffLast: 90.55 %
10_long_fromB_electrons_P>5GeV : 5 from 6 [ 83.33 %] 0 clones [ 0.00 %], purity: 98.46 %, hitEff: 88.35 %, hitEffFirst3: 80.00 %, hitEffLast: 90.48 %
11_long_fromB_P>3GeV_Pt>0.5GeV : 39 from 39 [100.00 %] 0 clones [ 0.00 %], purity: 99.74 %, hitEff: 91.39 %, hitEffFirst3: 88.03 %, hitEffLast: 93.01 %
11_long_fromB_electrons_P>3GeV_Pt>0.5GeV : 5 from 6 [ 83.33 %] 0 clones [ 0.00 %], purity: 98.46 %, hitEff: 88.35 %, hitEffFirst3: 80.00 %, hitEffLast: 90.48 %
11_long_fromD_P>3GeV_Pt>0.5GeV : 355 from 363 [ 97.80 %] 1 clones [ 0.28 %], purity: 99.83 %, hitEff: 90.08 %, hitEffFirst3: 89.98 %, hitEffLast: 89.73 %
11_long_strange_P>3GeV_Pt>0.5GeV : 677 from 755 [ 89.67 %] 0 clones [ 0.00 %], purity: 98.64 %, hitEff: 92.33 %, hitEffFirst3: 91.93 %, hitEffLast: 91.90 %
12_UT_long_fromB_P>3GeV_Pt>0.5GeV : 39 from 39 [100.00 %] 0 clones [ 0.00 %], purity: 99.74 %, hitEff: 91.39 %, hitEffFirst3: 88.03 %, hitEffLast: 93.01 %
Edited by Arthur Marius Hennequin

