Skip to content

Re-implement some RD builders in QEE

Some QEE lines were using RD detached builders due to similar topologies but different physics cases.

This MR copies the RD implementations to QEE to avoid potential future issues

Closes #806

To do:

  • Test nothing breaks

Here is the end of the diff when running over 10k HLT1 filtered events, looks like nothing changes:

<      ParticleRangeFilter/rd_detached_muons_ed3fe67c                                                                    #=9405    Sum=2031        Eff=|( 21.59490 +- 0.424295)%|
<      TwoBodyCombiner/qee_BtoLX_TT_d5e5a845                                                                             #=2031    Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
---
>      ParticleRangeFilter/qee_detached_muons_22041ef9                                                                   #=9405    Sum=2031        Eff=|( 21.59490 +- 0.424295)%|
>      TwoBodyCombiner/qee_BtoLX_TT_63917dd5                                                                             #=2031    Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
7473c7477
<      CopyParticles/CopyParticles_feb6819a                                                                              #=0       Sum=0           Eff=|(-100.0000 +- -100.000)%|
---
>      CopyParticles/CopyParticles_bdf2f2a5                                                                              #=0       Sum=0           Eff=|(-100.0000 +- -100.000)%|
7895,7897c7899,7901
<      ParticleRangeFilter/rd_detached_kaons_8405c757                                                                    #=9405    Sum=9353        Eff=|( 99.44710 +- 0.0764608)%|
<      ParticleRangeFilter/ParticleRangeFilter_d3082234                                                                  #=9353    Sum=9281        Eff=|( 99.23019 +- 0.0903727)%|
<      TwoBodyCombiner/qee_BtoLX_TT_de60fdf6                                                                             #=89      Sum=2           Eff=|( 2.247191 +- 1.57105 )%|
---
>      ParticleRangeFilter/qee_detached_kaons_e09a9611                                                                   #=9405    Sum=9353        Eff=|( 99.44710 +- 0.0764608)%|
>      ParticleRangeFilter/ParticleRangeFilter_2b290311                                                                  #=9353    Sum=9281        Eff=|( 99.23019 +- 0.0903727)%|
>      TwoBodyCombiner/qee_BtoLX_TT_8610e891                                                                             #=89      Sum=2           Eff=|( 2.247191 +- 1.57105 )%|
7901c7905
<      CopyParticles/CopyParticles_c7ea9648                                                                              #=2       Sum=2           Eff=|( 100.0000 +- 0.00000 )%|
---
>      CopyParticles/CopyParticles_dadb1b1e                                                                              #=2       Sum=2           Eff=|( 100.0000 +- 0.00000 )%|
7910,7912c7914,7916
<      ParticleRangeFilter/rd_detached_kaons_8405c757                                                                    #=9405    Sum=9353        Eff=|( 99.44710 +- 0.0764608)%|
<      ParticleRangeFilter/ParticleRangeFilter_d3082234                                                                  #=9353    Sum=9281        Eff=|( 99.23019 +- 0.0903727)%|
<      TwoBodyCombiner/qee_BtoLX_TT_18995219                                                                             #=9281    Sum=2           Eff=|(0.02154940 +- 0.0152361)%|
---
>      ParticleRangeFilter/qee_detached_kaons_e09a9611                                                                   #=9405    Sum=9353        Eff=|( 99.44710 +- 0.0764608)%|
>      ParticleRangeFilter/ParticleRangeFilter_2b290311                                                                  #=9353    Sum=9281        Eff=|( 99.23019 +- 0.0903727)%|
>      TwoBodyCombiner/qee_BtoLX_TT_6c0c6053                                                                             #=9281    Sum=2           Eff=|(0.02154940 +- 0.0152361)%|
7916c7920
<      CopyParticles/CopyParticles_f9b1b06f                                                                              #=2       Sum=2           Eff=|( 100.0000 +- 0.00000 )%|
---
>      CopyParticles/CopyParticles_6e02ac37                                                                              #=2       Sum=2           Eff=|( 100.0000 +- 0.00000 )%|
7925,7927c7929,7931
<      ParticleRangeFilter/rd_has_rich_detached_kaons_c85d5b51                                                           #=9405    Sum=8993        Eff=|( 95.61935 +- 0.211039)%|
<      TwoBodyCombiner/rd_detached_kstar0s_22010f08                                                                      #=8993    Sum=6944        Eff=|( 77.21561 +- 0.442302)%|
<      TwoBodyCombiner/qee_BtoLX_TT_dcded499                                                                             #=66      Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
---
>      ParticleRangeFilter/qee_has_rich_detached_kaons_9d3a7396                                                          #=9405    Sum=8993        Eff=|( 95.61935 +- 0.211039)%|
>      TwoBodyCombiner/qee_detached_kstar0s_544fcd5e                                                                     #=8993    Sum=6944        Eff=|( 77.21561 +- 0.442302)%|
>      TwoBodyCombiner/qee_BtoLX_TT_4c6550f1                                                                             #=66      Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
7931c7935
<      CopyParticles/CopyParticles_757ed0a7                                                                              #=0       Sum=0           Eff=|(-100.0000 +- -100.000)%|
---
>      CopyParticles/CopyParticles_16542a87                                                                              #=0       Sum=0           Eff=|(-100.0000 +- -100.000)%|
7940,7942c7944,7946
<      ParticleRangeFilter/rd_has_rich_detached_kaons_c85d5b51                                                           #=9405    Sum=8993        Eff=|( 95.61935 +- 0.211039)%|
<      TwoBodyCombiner/rd_detached_kstar0s_22010f08                                                                      #=8993    Sum=6944        Eff=|( 77.21561 +- 0.442302)%|
<      TwoBodyCombiner/qee_BtoLX_TT_ac31838f                                                                             #=6944    Sum=1           Eff=|(0.01440092 +- 0.0143999)%|
---
>      ParticleRangeFilter/qee_has_rich_detached_kaons_9d3a7396                                                          #=9405    Sum=8993        Eff=|( 95.61935 +- 0.211039)%|
>      TwoBodyCombiner/qee_detached_kstar0s_544fcd5e                                                                     #=8993    Sum=6944        Eff=|( 77.21561 +- 0.442302)%|
>      TwoBodyCombiner/qee_BtoLX_TT_1a4e1dc3                                                                             #=6944    Sum=1           Eff=|(0.01440092 +- 0.0143999)%|
7946c7950
<      CopyParticles/CopyParticles_f68ee5d3                                                                              #=1       Sum=1           Eff=|( 100.0000 +- 0.00000 )%|
---
>      CopyParticles/CopyParticles_dac2e5ab                                                                              #=1       Sum=1           Eff=|( 100.0000 +- 0.00000 )%|
7968,7969c7972,7973
<      ParticleRangeFilter/rd_detached_muons_ed3fe67c                                                                    #=9405    Sum=2031        Eff=|( 21.59490 +- 0.424295)%|
<      TwoBodyCombiner/qee_BtoLX_TT_4dce7242                                                                             #=2031    Sum=1           Eff=|(0.04923683 +- 0.0492247)%|
---
>      ParticleRangeFilter/qee_detached_muons_22041ef9                                                                   #=9405    Sum=2031        Eff=|( 21.59490 +- 0.424295)%|
>      TwoBodyCombiner/qee_BtoLX_TT_3cf53edf                                                                             #=2031    Sum=1           Eff=|(0.04923683 +- 0.0492247)%|
7973c7977
<      CopyParticles/CopyParticles_a9e3f9ac                                                                              #=1       Sum=1           Eff=|( 100.0000 +- 0.00000 )%|
---
>      CopyParticles/CopyParticles_79471795                                                                              #=1       Sum=1           Eff=|( 100.0000 +- 0.00000 )%|
Edited by Izaac Sanderswood

Merge request reports

Loading