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
@@ -351,6 +351,15 @@ def tight_requirements_for_decay_products():
)
# 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
# selections can not contain vertexing requirements unless the combination involves
@@ -371,6 +380,11 @@ 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
#
@@ -394,6 +408,19 @@ def requirements_for_combination():
)
# 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():
return requirements_for_combination(
@@ -412,6 +439,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():
@@ -425,6 +456,13 @@ def requirements_for_prompt_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():
return tight_requirements_for_combination(
@@ -570,6 +608,25 @@ def make_tight_muons(pid_mu_min=5., **kwargs):
**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 +775,26 @@ 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
#
@@ -782,6 +859,16 @@ 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):
""" Allow to define the same mass bounds for many lines that select Lambda0 decays """
Loading