Skip to content

B2oc switch ks plus fixes

Mikkel Bjorn requested to merge b2oc_switch_ks_plus_fixes into b2oc_upgrade

B2OC: a few touch ups before the MR into master

This MR fixes a few details in the B2OC code

  1. moves to using the centrally defined KS mesons
  2. adds default K/pi's to the K* maker function, for cleaner lines if one needs a standard B2OC K*
  3. changes to ParticleCombinerWithPVs where appropriate (and removes redundant renaming of PV maker function)
  4. fixes typo in copy right statement in a few files

Points 2-4 do not change behaviour.

There are some cuts in the _make_V0DD/LL functions of standard_particles that we did not have in the B2OC KS maker. For now, I have kept the old cuts we had, applied on top of the KS selection from standard_particles, ie. the overall cuts are tighter. However this is something that can be looked into during the tuning phase.

The output of the KS lines before the change (on GGSZ upgrade MC)

  LAZY_AND: Hlt2B2OC_BuToD0Pi_D0ToKsLLHH_Line                       #=1186    Sum=9           Eff=|(0.7588533 +- 0.251990)%|
  LAZY_AND: Hlt2B2OC_BuToD0K_D0ToKsDDHH_Line                        #=1186    Sum=18          Eff=|( 1.517707 +- 0.355002)%|
  LAZY_AND: Hlt2B2OC_BuToD0PiPiPi_D0ToKsDDHH_Line                   #=1186    Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
  LAZY_AND: Hlt2B2OC_BuToD0KPiPi_D0ToKsLLHH_Line                    #=1186    Sum=1           Eff=|(0.08431703 +- 0.0842815)%|
  LAZY_AND: Hlt2B2OC_BuToD0Pi_PartialD0ToKsDDHH_Line                #=1186    Sum=10          Eff=|(0.8431703 +- 0.265507)%|
  LAZY_AND: Hlt2B2OC_BuToD0K_PartialD0ToKsLLHH_Line                 #=1186    Sum=14          Eff=|( 1.180438 +- 0.313618)%|
  LAZY_AND: Hlt2B2OC_BuToDst0K_Dst0ToD0Gamma_D0ToKsDDHH_Line        #=1186    Sum=20          Eff=|( 1.686341 +- 0.373884)%|
  LAZY_AND: Hlt2B2OC_BuToD0K_PartialD0ToKsDDHH_Line                 #=1186    Sum=20          Eff=|( 1.686341 +- 0.373884)%|
  LAZY_AND: Hlt2B2OC_BuToD0Pi_D0ToKsDDHH_Line                       #=1186    Sum=10          Eff=|(0.8431703 +- 0.265507)%|
  LAZY_AND: Hlt2B2OC_BuToD0K_D0ToKsLLHH_Line                        #=1186    Sum=13          Eff=|( 1.096121 +- 0.302339)%|
  LAZY_AND: Hlt2B2OC_BuToD0KPiPi_D0ToKsDDHH_Line                    #=1186    Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
  LAZY_AND: Hlt2B2OC_BuToDst0Pi_Dst0ToD0Gamma_D0ToKsDDHH_Line       #=1186    Sum=12          Eff=|( 1.011804 +- 0.290601)%|
  LAZY_AND: Hlt2B2OC_BuToD0PiPiPi_D0ToKsLLHH_Line                   #=1186    Sum=1           Eff=|(0.08431703 +- 0.0842815)%|
  LAZY_AND: Hlt2B2OC_BuToDst0K_Dst0ToD0Gamma_D0ToKsLLHH_Line        #=1186    Sum=13          Eff=|( 1.096121 +- 0.302339)%|
  LAZY_AND: Hlt2B2OC_BuToD0Pi_PartialD0ToKsLLHH_Line                #=1186    Sum=10          Eff=|(0.8431703 +- 0.265507)%|
  LAZY_AND: Hlt2B2OC_BuToDst0Pi_Dst0ToD0Gamma_D0ToKsLLHH_Line       #=1186    Sum=10          Eff=|(0.8431703 +- 0.265507)%|

The output after the change on same input MC

  LAZY_AND: Hlt2B2OC_BuToD0Pi_D0ToKsLLHH_Line                       #=1186    Sum=9           Eff=|(0.7588533 +- 0.251990)%|
  LAZY_AND: Hlt2B2OC_BuToD0K_D0ToKsDDHH_Line                        #=1186    Sum=15          Eff=|( 1.264755 +- 0.324487)%|
  LAZY_AND: Hlt2B2OC_BuToD0PiPiPi_D0ToKsDDHH_Line                   #=1186    Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
  LAZY_AND: Hlt2B2OC_BuToD0KPiPi_D0ToKsLLHH_Line                    #=1186    Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
  LAZY_AND: Hlt2B2OC_BuToD0Pi_PartialD0ToKsDDHH_Line                #=1186    Sum=7           Eff=|(0.5902192 +- 0.222423)%|
  LAZY_AND: Hlt2B2OC_BuToD0K_PartialD0ToKsLLHH_Line                 #=1186    Sum=14          Eff=|( 1.180438 +- 0.313618)%|
  LAZY_AND: Hlt2B2OC_BuToDst0K_Dst0ToD0Gamma_D0ToKsDDHH_Line        #=1186    Sum=17          Eff=|( 1.433390 +- 0.345147)%|
  LAZY_AND: Hlt2B2OC_BuToD0K_PartialD0ToKsDDHH_Line                 #=1186    Sum=17          Eff=|( 1.433390 +- 0.345147)%|
  LAZY_AND: Hlt2B2OC_BuToD0Pi_D0ToKsDDHH_Line                       #=1186    Sum=7           Eff=|(0.5902192 +- 0.222423)%|
  LAZY_AND: Hlt2B2OC_BuToD0K_D0ToKsLLHH_Line                        #=1186    Sum=13          Eff=|( 1.096121 +- 0.302339)%|
  LAZY_AND: Hlt2B2OC_BuToD0KPiPi_D0ToKsDDHH_Line                    #=1186    Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
  LAZY_AND: Hlt2B2OC_BuToDst0Pi_Dst0ToD0Gamma_D0ToKsDDHH_Line       #=1186    Sum=9           Eff=|(0.7588533 +- 0.251990)%|
  LAZY_AND: Hlt2B2OC_BuToD0PiPiPi_D0ToKsLLHH_Line                   #=1186    Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
  LAZY_AND: Hlt2B2OC_BuToDst0K_Dst0ToD0Gamma_D0ToKsLLHH_Line        #=1186    Sum=13          Eff=|( 1.096121 +- 0.302339)%|
  LAZY_AND: Hlt2B2OC_BuToD0Pi_PartialD0ToKsLLHH_Line                #=1186    Sum=10          Eff=|(0.8431703 +- 0.265507)%|
  LAZY_AND: Hlt2B2OC_BuToDst0Pi_Dst0ToD0Gamma_D0ToKsLLHH_Line       #=1186    Sum=10          Eff=|(0.8431703 +- 0.265507)%|

Merge request reports