Skip to content
Snippets Groups Projects

new RD/strange HLT2 lines towards 8th-May deadline

Merged Daniele Provenzano requested to merge daproven-rd-lines into rd-devel
Files
2
@@ -350,6 +350,13 @@ def tight_requirements_for_decay_products():
ipchi2_min=144.,
)
# new
@requirements_builder
def requirements_for_sigma_decay_products():
return dict(
p_min=3 * GeV,
track_chi2dof_max=9.,
)
#
# Requirements on the vertex for any combination involving a neutral particle. These
@@ -370,6 +377,9 @@ def requirements_for_neutral_combination_no_vertex():
def tight_requirements_for_neutral_combination_no_vertex():
return requirements_for_neutral_combination_no_vertex()
@requirements_builder
def requirements_for_sigma_decay_neutral_combination_no_vertex():
return dict(pt_min=1000 * MeV, )
#
# Requirements on the vertex for any loose combination
@@ -393,6 +403,17 @@ def requirements_for_combination():
vchi2pdof_max=9.,
)
# new
@requirements_builder
def requirements_for_sigma_combination():
return loose_requirements_for_combination(
docachi2_max=100.,
doca_max=1. * mm,
vchi2pdof_max=25.,
dira_min=0.99,
lifetime_min=0.006 * ns,
pt_min=500 * MeV,
)
@requirements_builder
def tight_requirements_for_combination():
@@ -412,6 +433,10 @@ def tight_requirements_for_combination():
default_additional_requirements_for_prompt_combination = dict(
ip_max=0.4 * mm, bpvvdrho_min=3. * mm, dira_min=0.999, ipchi2_max=25.)
# new
default_additional_requirements_for_prompt_sigma_combination = dict(
ip_max=0.4 * mm, bpvvdrho_min=3. * mm, ipchi2_max=25.)
@requirements_builder
def loose_requirements_for_prompt_combination():
@@ -424,6 +449,11 @@ def requirements_for_prompt_combination():
return requirements_for_combination(
**default_additional_requirements_for_prompt_combination)
# new
@requirements_builder
def requirements_for_prompt_sigma_combination():
return requirements_for_sigma_combination(
**default_additional_requirements_for_prompt_sigma_combination)
@requirements_builder
def tight_requirements_for_prompt_combination():
@@ -569,7 +599,20 @@ def make_tight_muons(pid_mu_min=5., **kwargs):
name='TightMuonsForStrangeDecays_{hash}',
**tight_requirements_for_decay_products(**kwargs))
#new
@configurable
def make_muons_for_sigma(*, pid_mu_min=-3, pt_min=80 * MeV, ip_min=0.5 * mm, ipchi2_min=9., **kwargs):
return filter_decay_products(
make_loose_muons(),
pid_mu_min=pid_mu_min,
pt_min=pt_min,
ip_min=ip_min,
ipchi2_min=ipchi2_min,
name='MuonsForSigmaDecays_{hash}',
is_muon=True,
**requirements_for_sigma_decay_products(**kwargs))
@configurable
def make_loose_pions(**kwargs):
return filter_decay_products(
@@ -718,6 +761,19 @@ def make_tight_protons(*, pid_p_min=+10, pid_p_over_k_min=+10, **kwargs):
**tight_requirements_for_decay_products(**kwargs))
@configurable
def make_protons_for_sigma(*, pid_p_min=0, pid_p_over_k_min=0, pt_min=80 * MeV, ip_min=0.1 * mm, ipchi2_min=9., **kwargs):
return filter_decay_products(
make_protons(),
pid_p_min=pid_p_min,
pid_p_over_k_min=pid_p_over_k_min,
pt_min=pt_min,
ip_min=ip_min,
ipchi2_min=ipchi2_min,
name='TightProtonsForSigmaDecays_{hash}',
**kwargs,
**requirements_for_sigma_decay_products(**kwargs))
#
# Definitions of invariant mass bounds
#
@@ -781,6 +837,15 @@ def kplus_mass_bounds(mass_min=460 * MeV, mass_max=660 * MeV):
"""
return mass_min, mass_max
# new
@configurable
def kplus_semileptonic_mass_bounds(mass_min=0. * MeV, mass_max=660 * MeV):
"""
Allow to define the same mass bounds for lines that select semileptonic
K+ decays
"""
return mass_min, mass_max
@configurable
def lambda0_mass_bounds(mass_min=1000 * MeV, mass_max=1200 * MeV):
Loading