Skip to content
Snippets Groups Projects

Add lines lb -> n jpsi ks

Merged Youhua Yang requested to merge AddLbToNJpsiKs_B2CC into b2cc_202501
Files
2
@@ -255,6 +255,23 @@ def make_Bd2JpsimumuKshortKshort_detached(
)
def make_LbToJpsiKs_Neutron_tight(
particles,
descriptor,
name="B2CC_LbToJpsiKshort_Neutron_Combiner_{hash}",
comb_m_min=6050 * MeV,
comb_m_max=6555 * MeV,
):
combination_code = in_range(comb_m_min, F.MASS, comb_m_max)
return ParticleCombiner(
name=name,
Inputs=particles,
DecayDescriptor=descriptor,
CombinationCut=combination_code,
)
### Define function for each line
def make_BsToJpsiPhi_detached_line(process):
assert process in ["hlt2", "spruce"], (
@@ -655,6 +672,93 @@ def make_LbToJpsipH_line(
return [jpsi, lambda0, Lb2jpsipH]
def make_LbToJpsiKs_LL_Neutron_tight_line(
process,
comb_m_min_jpsi=2916 * MeV,
comb_m_max_jpsi=3276 * MeV,
comb_m_min=3550 * MeV,
comb_m_max=4750 * MeV,
):
assert process in ["hlt2", "spruce"], (
"Line must be defined as Hlt2 or Sprucing line!"
)
muons = basic_builder.filter_muons_loose(
particles=make_long_muons(), mu_pidk=10, mu_pidp=10
)
jpsi = basic_builder.make_selected_jpsi_bd2jpsimumukshort(
muons=muons, max_vchi2pdof=4
)
kshort_LL = basic_builder.make_ks_LL(bpvvdchi2=4, chi2vx=4, pi_mipchi2pv=4)
Lb2jpsiKs = make_LbToJpsiKs_Neutron_tight(
name="B2CC_LbToJpsiKshort_neutron_Combiner_{hash}",
particles=[jpsi, kshort_LL],
descriptor="[Lambda_b0 -> J/psi(1S) KS0 ]cc",
comb_m_min=comb_m_min,
comb_m_max=comb_m_max,
)
return [jpsi, kshort_LL, Lb2jpsiKs]
def make_LbToJpsiKs_DD_Neutron_tight_line(
process,
comb_m_min_jpsi=2916 * MeV,
comb_m_max_jpsi=3276 * MeV,
comb_m_min=3550 * MeV,
comb_m_max=4750 * MeV,
):
assert process in ["hlt2", "spruce"], (
"Line must be defined as Hlt2 or Sprucing line!"
)
muons = basic_builder.filter_muons_loose(
particles=make_long_muons(), mu_pidk=10, mu_pidp=10
)
jpsi = basic_builder.make_selected_jpsi_bd2jpsimumukshort(
muons=muons, max_vchi2pdof=4
)
kshort_DD = basic_builder.make_ks_DD(bpvvdchi2=4, chi2vx=4)
Lb2jpsiKs = make_LbToJpsiKs_Neutron_tight(
name="B2CC_LbToJpsiKshort_neutron_Combiner_{hash}",
particles=[jpsi, kshort_DD],
descriptor="[Lambda_b0 -> J/psi(1S) KS0 ]cc",
comb_m_min=comb_m_min,
comb_m_max=comb_m_max,
)
return [jpsi, kshort_DD, Lb2jpsiKs]
def make_LbToJpsiKs_LD_Neutron_tight_line(
process,
comb_m_min_jpsi=2916 * MeV,
comb_m_max_jpsi=3276 * MeV,
comb_m_min=3550 * MeV,
comb_m_max=4750 * MeV,
):
assert process in ["hlt2", "spruce"], (
"Line must be defined as Hlt2 or Sprucing line!"
)
muons = basic_builder.filter_muons_loose(
particles=make_long_muons(), mu_pidk=10, mu_pidp=10
)
jpsi = basic_builder.make_selected_jpsi_bd2jpsimumukshort(
muons=muons, max_vchi2pdof=4
)
kshort_LD = basic_builder.make_ks_LD(bpvvdchi2=4, chi2vx=4, pi_mipchi2pv=4)
Lb2jpsiKs = make_LbToJpsiKs_Neutron_tight(
name="B2CC_LbToJpsiKshort_neutron_Combiner_{hash}",
particles=[jpsi, kshort_LD],
descriptor="[Lambda_b0 -> J/psi(1S) KS0 ]cc",
comb_m_min=comb_m_min,
comb_m_max=comb_m_max,
)
return [jpsi, kshort_LD, Lb2jpsiKs]
def make_BdToJpsieeKshort_LL_detached_line(process):
assert process in ["hlt2", "spruce"], (
"Line must be defined as Hlt2 or Sprucing line!"
Loading