Skip to content

B2OC: B2DDh cleanup (shifters please ignore)

Paras Naik requested to merge B2DDh_Cleanup_B2OC into b2oc_upgrade

This MR is intended to solve Issue #702 (closed)

This MR is a follow-up of !2945 (merged) and !2902 (merged) that were already merged into b2oc_upgrade and, subsequently, master.

These need to be done before the B2OC deadline of 22nd Feb.

Checklist:

  • Remove redundant 'Or' lines from BdToD0D0, BdToD0D0Kst, LbToD0D0LambdaLL, and LbToD0D0LambdaDD decays, which (for each decay) have now been replaced by three separate lines representing different decay topologies (D0 D0 decays to HH HH, HH HHHH, and HHHH HHHH)
  • Remove redundant 'Or' lines from BdToD0D0KsDD, BdToD0D0KsLL and BdToD0D0Phi decays, which (for each decay) have now been replaced by three separate lines representing different decay topologies (D0 D0 decays to HH HH, HH HHHH, and HHHH HHHH)
  • Remove redundant 'KPi' and 'KPiPiPi' lines from BuToD0D0K and BuToD0D0Pi decays, which each have been replaced with three corresponding HH and HHHH lines
  • Remove redundant 'Or' lines from BuToDst0D0K decays, which (for Dst to D0 {merged pi0, resolved pi0, and gamma}) have now each been replaced by four separate lines representing different decay topologies (D0[from Dst] D0 decays to HH HH, HH HHHH, HHHH HH, and HHHH HHHH)
  • In principle BdToD0D0KsDD,BdToD0D0KsLL, and BdToD0D0Phi could be added to the flavour tagging section of the relevant _b2oc.py file... It might be useful (though perhaps not necessary) to know the B meson flavour for amplitude analyses or other studies, so have added these (hope it is not a drain on resources...)
  • Remove redundant D0 mass cuts (the 200 MeV mass window cuts that are now default in the d_builder)
  • move several lines from b_to_ddh_standalone to b_to_ddh

Probably not for this MR:

  • Perhaps we should remove Or lines from all B2DD(h) decays (?)

Current Line Efficiencies (i.e. retentions)

  • Please also note I only provide efficiencies here for B and Lambda_b modes with D0D0 or Dst0D0 in the decay. Other modes may have been affected. I can provide the full logs if needed.

  • I have copied the versions of hlt2_b2oc_example.py and spruce_b2oc_example.py from the usual location as of Feb 8 14:30 CERN time. The only change in the _paras versions is that the number of events (evt_max) was raised from 100 to 250000 (and also for spruce I changed the location of the very large output dst file)

  • HLT2

    • Hlt2 lines should have retentions < 0.004 - 0.005 %
      • Potential Problem Lines:
        • None
[1]    Done                          Moore/run gaudirun.py ./hlt2_b2oc_example_paras.py > hlt2_b2oc_MooreMR3035_new.log
[pnaik@lxplus932 stack_Moore_secondaryDzDzb_B2OC_pnaik]$ cat hlt2_b2oc_MooreMR3035_new.log  | grep 'LAZY_AND:' | grep 'WithOutput' | grep -E 'BdToD0D0_|BdToD0D0Kst_|BuToD0D0K_|BdToD0D0KsDD_|BdToD0D0KsLL_|BuToD0D0Pi_|BdToD0D0Phi_|LbToD0D0LambdaDD_|LbToD0D0LambdaLL_|BuToDst0D0K_'
   LAZY_AND: Hlt2B2OC_BdToD0D0KsLL_D0ToHHDecisionWithOutput                                                            #=168104  Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
   LAZY_AND: Hlt2B2OC_BdToD0D0KsLL_D0ToHHHHDecisionWithOutput                                                          #=168104  Sum=1           Eff=|(0.0005948698 +- 0.000594868)%|
   LAZY_AND: Hlt2B2OC_BdToD0D0KsLL_D0ToHH_D0ToHHHHDecisionWithOutput                                                   #=168104  Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
   LAZY_AND: Hlt2B2OC_BdToD0D0KsLL_D0ToHH_D0ToKsLLHHDecisionWithOutput                                                 #=168104  Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
   LAZY_AND: Hlt2B2OC_BdToD0D0KsLL_D0ToKsLLHHDecisionWithOutput                                                        #=168104  Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
   LAZY_AND: Hlt2B2OC_BdToD0D0KsLL_D0ToKsLLHH_D0ToHHHHDecisionWithOutput                                               #=168104  Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
   LAZY_AND: Hlt2B2OC_BdToD0D0Kst_D0ToHHDecisionWithOutput                                                             #=168104  Sum=2           Eff=|(0.001189740 +- 0.000841268)%|
   LAZY_AND: Hlt2B2OC_BdToD0D0Kst_D0ToHHHHDecisionWithOutput                                                           #=168104  Sum=5           Eff=|(0.002974349 +- 0.00133015)%|
   LAZY_AND: Hlt2B2OC_BdToD0D0Kst_D0ToHH_D0ToHHHHDecisionWithOutput                                                    #=168104  Sum=6           Eff=|(0.003569219 +- 0.00145710)%|
   LAZY_AND: Hlt2B2OC_BdToD0D0Kst_D0ToHH_D0ToKsLLHHDecisionWithOutput                                                  #=168104  Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
   LAZY_AND: Hlt2B2OC_BdToD0D0Kst_D0ToKsLLHHDecisionWithOutput                                                         #=168104  Sum=1           Eff=|(0.0005948698 +- 0.000594868)%|
   LAZY_AND: Hlt2B2OC_BdToD0D0Kst_D0ToKsLLHH_D0ToHHHHDecisionWithOutput                                                #=168104  Sum=4           Eff=|(0.002379479 +- 0.00118973)%|
  • Spruce
    • Spruce lines should have retentions < 0.05 - 0.1 %
      • Potential Problem Lines (two not mine): [there is one line at 0.06 % that I do not list here]
        • None
[2]    Done                          Moore/run gaudirun.py ./spruce_b2oc_example_paras.py > spruce_b2oc_MooreMR3035_new.log
[pnaik@lxplus932 stack_Moore_secondaryDzDzb_B2OC_pnaik]$ cat spruce_b2oc_MooreMR3035_new.log  | grep 'LAZY_AND:' | grep 'WithOutput' | grep -E 'BdToD0D0_|BdToD0D0Kst_|BuToD0D0K_|BdToD0D0KsDD_|BdToD0D0KsLL_|BuToD0D0Pi_|BdToD0D0Phi_|LbToD0D0LambdaDD_|LbToD0D0LambdaLL_|BuToDst0D0K_'
     LAZY_AND: SpruceB2OC_BdToD0D0Phi_D0ToHHDecisionWithOutput                                                           #=239979  Sum=2           Eff=|(0.0008334063 +- 0.000589305)%|
     LAZY_AND: SpruceB2OC_BdToD0D0Phi_D0ToHHHHDecisionWithOutput                                                         #=239979  Sum=34          Eff=|(0.01416791 +- 0.00242960)%|
     LAZY_AND: SpruceB2OC_BdToD0D0Phi_D0ToHH_D0ToHHHHDecisionWithOutput                                                  #=239979  Sum=21          Eff=|(0.008750766 +- 0.00190949)%|
     LAZY_AND: SpruceB2OC_BdToD0D0Phi_D0ToHH_D0ToKsLLHHDecisionWithOutput                                                #=239979  Sum=5           Eff=|(0.002083516 +- 0.000931767)%|
     LAZY_AND: SpruceB2OC_BdToD0D0Phi_D0ToKsLLHHDecisionWithOutput                                                       #=239979  Sum=6           Eff=|(0.002500219 +- 0.00102070)%|
     LAZY_AND: SpruceB2OC_BdToD0D0Phi_D0ToKsLLHH_D0ToHHHHDecisionWithOutput                                              #=239979  Sum=14          Eff=|(0.005833844 +- 0.00155911)%|
     LAZY_AND: SpruceB2OC_BdToD0D0_D0ToHHDecisionWithOutput                                                              #=239979  Sum=61          Eff=|(0.02541889 +- 0.00325414)%|
     LAZY_AND: SpruceB2OC_BdToD0D0_D0ToHHHHDecisionWithOutput                                                            #=239979  Sum=100         Eff=|(0.04167031 +- 0.00416616)%|
     LAZY_AND: SpruceB2OC_BdToD0D0_D0ToHH_D0ToHHHHDecisionWithOutput                                                     #=239979  Sum=145         Eff=|(0.06042195 +- 0.00501625)%|
     LAZY_AND: SpruceB2OC_BdToD0D0_D0ToHH_D0ToKsLLHHDecisionWithOutput                                                   #=239979  Sum=9           Eff=|(0.003750328 +- 0.00125009)%|
     LAZY_AND: SpruceB2OC_BdToD0D0_D0ToKsLLHHDecisionWithOutput                                                          #=239979  Sum=1           Eff=|(0.0004167031 +- 0.000416702)%|
     LAZY_AND: SpruceB2OC_BdToD0D0_D0ToKsLLHH_D0ToHHHHDecisionWithOutput                                                 #=239979  Sum=26          Eff=|(0.01083428 +- 0.00212466)%|
     LAZY_AND: SpruceB2OC_BuToD0D0K_D0ToHHDecisionWithOutput                                                             #=239979  Sum=13          Eff=|(0.005417141 +- 0.00150240)%|
     LAZY_AND: SpruceB2OC_BuToD0D0K_D0ToHHHHDecisionWithOutput                                                           #=239979  Sum=33          Eff=|(0.01375120 +- 0.00239361)%|
     LAZY_AND: SpruceB2OC_BuToD0D0K_D0ToHH_D0ToHHHHDecisionWithOutput                                                    #=239979  Sum=39          Eff=|(0.01625142 +- 0.00260210)%|
     LAZY_AND: SpruceB2OC_BuToD0D0K_D0ToHH_D0ToKsLLHHDecisionWithOutput                                                  #=239979  Sum=3           Eff=|(0.001250109 +- 0.000721746)%|
     LAZY_AND: SpruceB2OC_BuToD0D0K_D0ToKsLLHHDecisionWithOutput                                                         #=239979  Sum=3           Eff=|(0.001250109 +- 0.000721746)%|
     LAZY_AND: SpruceB2OC_BuToD0D0K_D0ToKsLLHH_D0ToHHHHDecisionWithOutput                                                #=239979  Sum=14          Eff=|(0.005833844 +- 0.00155911)%|
     LAZY_AND: SpruceB2OC_BuToD0D0Pi_D0ToHHDecisionWithOutput                                                            #=239979  Sum=20          Eff=|(0.008334063 +- 0.00186348)%|
     LAZY_AND: SpruceB2OC_BuToD0D0Pi_D0ToHHHHDecisionWithOutput                                                          #=239979  Sum=46          Eff=|(0.01916834 +- 0.00282595)%|
     LAZY_AND: SpruceB2OC_BuToD0D0Pi_D0ToHH_D0ToHHHHDecisionWithOutput                                                   #=239979  Sum=59          Eff=|(0.02458548 +- 0.00320036)%|
     LAZY_AND: SpruceB2OC_BuToD0D0Pi_D0ToHH_D0ToKsLLHHDecisionWithOutput                                                 #=239979  Sum=8           Eff=|(0.003333625 +- 0.00117859)%|
     LAZY_AND: SpruceB2OC_BuToD0D0Pi_D0ToKsLLHHDecisionWithOutput                                                        #=239979  Sum=5           Eff=|(0.002083516 +- 0.000931767)%|
     LAZY_AND: SpruceB2OC_BuToD0D0Pi_D0ToKsLLHH_D0ToHHHHDecisionWithOutput                                               #=239979  Sum=17          Eff=|(0.007083953 +- 0.00171805)%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Gamma_D0ToHHHH_D0ToHHDecisionWithOutput                                    #=239979  Sum=57          Eff=|(0.02375208 +- 0.00314567)%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Gamma_D0ToHHHH_D0ToHHHHDecisionWithOutput                                  #=239979  Sum=68          Eff=|(0.02833581 +- 0.00343574)%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Gamma_D0ToHHHH_D0ToKsLLHHDecisionWithOutput                                #=239979  Sum=31          Eff=|(0.01291780 +- 0.00231995)%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Gamma_D0ToHH_D0ToHHDecisionWithOutput                                      #=239979  Sum=32          Eff=|(0.01333450 +- 0.00235707)%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Gamma_D0ToHH_D0ToHHHHDecisionWithOutput                                    #=239979  Sum=64          Eff=|(0.02666900 +- 0.00333318)%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Gamma_D0ToHH_D0ToKsLLHHDecisionWithOutput                                  #=239979  Sum=14          Eff=|(0.005833844 +- 0.00155911)%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Gamma_D0ToKsLLHH_D0ToHHDecisionWithOutput                                  #=239979  Sum=12          Eff=|(0.005000438 +- 0.00144347)%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Gamma_D0ToKsLLHH_D0ToHHHHDecisionWithOutput                                #=239979  Sum=29          Eff=|(0.01208439 +- 0.00224388)%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Gamma_D0ToKsLLHH_D0ToKsLLHHDecisionWithOutput                              #=239979  Sum=11          Eff=|(0.004583734 +- 0.00138202)%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Pi0Merged_D0ToHHHH_D0ToHHDecisionWithOutput                                #=239979  Sum=8           Eff=|(0.003333625 +- 0.00117859)%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Pi0Merged_D0ToHHHH_D0ToHHHHDecisionWithOutput                              #=239979  Sum=10          Eff=|(0.004167031 +- 0.00131770)%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Pi0Merged_D0ToHHHH_D0ToKsLLHHDecisionWithOutput                            #=239979  Sum=1           Eff=|(0.0004167031 +- 0.000416702)%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Pi0Merged_D0ToHH_D0ToHHDecisionWithOutput                                  #=239979  Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Pi0Merged_D0ToHH_D0ToHHHHDecisionWithOutput                                #=239979  Sum=2           Eff=|(0.0008334063 +- 0.000589305)%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Pi0Merged_D0ToHH_D0ToKsLLHHDecisionWithOutput                              #=239979  Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Pi0Merged_D0ToKsLLHH_D0ToHHDecisionWithOutput                              #=239979  Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Pi0Merged_D0ToKsLLHH_D0ToHHHHDecisionWithOutput                            #=239979  Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Pi0Merged_D0ToKsLLHH_D0ToKsLLHHDecisionWithOutput                          #=239979  Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Pi0Resolved_D0ToHHHH_D0ToHHDecisionWithOutput                              #=239979  Sum=22          Eff=|(0.009167469 +- 0.00195442)%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Pi0Resolved_D0ToHHHH_D0ToHHHHDecisionWithOutput                            #=239979  Sum=39          Eff=|(0.01625142 +- 0.00260210)%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Pi0Resolved_D0ToHHHH_D0ToKsLLHHDecisionWithOutput                          #=239979  Sum=15          Eff=|(0.006250547 +- 0.00161383)%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Pi0Resolved_D0ToHH_D0ToHHDecisionWithOutput                                #=239979  Sum=13          Eff=|(0.005417141 +- 0.00150240)%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Pi0Resolved_D0ToHH_D0ToHHHHDecisionWithOutput                              #=239979  Sum=13          Eff=|(0.005417141 +- 0.00150240)%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Pi0Resolved_D0ToHH_D0ToKsLLHHDecisionWithOutput                            #=239979  Sum=7           Eff=|(0.002916922 +- 0.00110248)%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Pi0Resolved_D0ToKsLLHH_D0ToHHDecisionWithOutput                            #=239979  Sum=6           Eff=|(0.002500219 +- 0.00102070)%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Pi0Resolved_D0ToKsLLHH_D0ToHHHHDecisionWithOutput                          #=239979  Sum=12          Eff=|(0.005000438 +- 0.00144347)%|
     LAZY_AND: SpruceB2OC_BuToDst0D0K_Dst0ToD0Pi0Resolved_D0ToKsLLHH_D0ToKsLLHHDecisionWithOutput                        #=239979  Sum=6           Eff=|(0.002500219 +- 0.00102070)%|
     LAZY_AND: SpruceB2OC_LbToD0D0LambdaLL_D0ToHHDecisionWithOutput                                                      #=239979  Sum=1           Eff=|(0.0004167031 +- 0.000416702)%|
     LAZY_AND: SpruceB2OC_LbToD0D0LambdaLL_D0ToHHHHDecisionWithOutput                                                    #=239979  Sum=8           Eff=|(0.003333625 +- 0.00117859)%|
     LAZY_AND: SpruceB2OC_LbToD0D0LambdaLL_D0ToHH_D0ToHHHHDecisionWithOutput                                             #=239979  Sum=4           Eff=|(0.001666813 +- 0.000833399)%|
     LAZY_AND: SpruceB2OC_LbToD0D0LambdaLL_D0ToHH_D0ToKsLLHHDecisionWithOutput                                           #=239979  Sum=5           Eff=|(0.002083516 +- 0.000931767)%|
     LAZY_AND: SpruceB2OC_LbToD0D0LambdaLL_D0ToKsLLHHDecisionWithOutput                                                  #=239979  Sum=2           Eff=|(0.0008334063 +- 0.000589305)%|
     LAZY_AND: SpruceB2OC_LbToD0D0LambdaLL_D0ToKsLLHH_D0ToHHHHDecisionWithOutput                                         #=239979  Sum=5           Eff=|(0.002083516 +- 0.000931767)%|
Edited by Paras Naik

Merge request reports

Loading