Skip to content
Snippets Groups Projects

increase mumu mass range to include psi two s

Merged Matthew Scott Rudolph requested to merge slb-bc-psitwos into SLB-datataking-2025
All threads resolved!
Files
2
@@ -47,6 +47,8 @@ def make_Hc_to_nbody(
descriptor,
comb_m_min,
comb_m_max,
comb_m_min2=None,
comb_m_max2=None,
mother_m_min=None,
mother_m_max=None,
mother_pt_min=None,
@@ -77,6 +79,10 @@ def make_Hc_to_nbody(
Lower invariant mass limit for the particle combination.
comb_m_max :
Upper invariant mass limit for the particle combination.
comb_m_min2 :
Lower invariant mass limit for the second particle combination.
comb_m_max2 :
Upper invariant mass limit for the second particle combination.
comb_pt_any_min :
Minimum pt that at least one of the particles in the combination needs to have.
comb_pt_sum_min :
@@ -97,6 +103,10 @@ def make_Hc_to_nbody(
Minimum distance of flight in the transverse plane.
"""
combination_code = in_range(comb_m_min, F.MASS, comb_m_max)
if (comb_m_min2 is not None) and (comb_m_max2 is not None):
combination_code = F.require_any(
combination_code, in_range(comb_m_min2, F.MASS, comb_m_max2)
)
if comb_pt_min is not None:
combination_code = F.require_all(combination_code, F.PT > comb_pt_min)
if comb_pt_any_min is not None:
@@ -408,6 +418,8 @@ def make_jpsi_tomumu(
name="SLB_JpsiToMuMuBuilder_{hash}",
comb_m_min=3047 * MeV,
comb_m_max=3147 * MeV,
comb_m_min2=None,
comb_m_max2=None,
comb_pt_any_min=1200 * MeV,
comb_pt_sum_min=3500 * MeV,
comb_docachi2_max=20.0,
@@ -437,6 +449,8 @@ def make_jpsi_tomumu(
bpvfdchi2_min=bpvfdchi2_min,
bpvdira_min=bpvdira_min,
bpvvdz_min=bpvvdz_min,
comb_m_min2=comb_m_min2,
comb_m_max2=comb_m_max2,
comb_pt_min=None,
comb_pt_any_min=comb_pt_any_min,
comb_pt_sum_min=comb_pt_sum_min,
Loading