Skip to content
Snippets Groups Projects

RD common builders in the ThOr framework

Closed Vitalii Lisovskyi requested to merge vlisovsk_rd_builders_to_thor into master
1 file
+ 5
5
Compare changes
  • Side-by-side
  • Inline
###############################################################################
# (c) Copyright 2019 CERN for the benefit of the LHCb Collaboration #
# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
@@ -523,12 +523,12 @@ def make_rd_detached_kstar0s(name="rd_detached_kstar0s",
pions = make_detached_pions(p_min=pi_p_min, pt_min=pi_pt_min)
kaons = make_detached_kaons(p_min=k_p_min, pt_min=k_pt_min)
descriptor = '[K*(892)0 -> pi- K+]cc'
descriptor = '[K*(892)0 -> K+ pi-]cc'
combination_code = require_all(
in_range(am_min, F.MASS, am_max), F.MAXDOCACHI2CUT(adocachi2cut))
#pvs = make_pvs()
vertex_code = require_all(F.CHI2DOF < vchi2pdof_max, F.PT > kstar0_pt_min)
return ParticleCombiner([pions, kaons],
return ParticleCombiner([kaons, pions],
name=name,
DecayDescriptor=descriptor,
CombinationCut=combination_code,
@@ -597,7 +597,7 @@ def filter_dielectron_noMVA(max_dielectron_mass=6000 * MeV):
def make_rd_tauons_hadronic_decay(
name="rd_tauons_hadronic_decay",
make_pions=make_detached_pions,
descriptor="[tau+ -> pi+ pi- pi+]cc",
descriptor="[tau+ -> pi- pi+ pi+]cc",
pi_pt_min=150 * MeV,
pi_ipchi2_min=4.0,
pi_pid=(F.PID_K < 8.),
@@ -633,7 +633,7 @@ def make_rd_tauons_hadronic_decay(
F.SUM(F.PT > best_pi_pt_min) > 1,
F.SUM(F.MINIPCHI2(pvs) > best_pi_ipchi2_min) > 1,
)
#TODO: add the M23<1670 cut once this is possible.
#TODO: add the M13<1670 cut once this is possible.
vertex_code = require_all(
in_range(am_min, F.MASS, am_max),
F.CHI2DOF < vchi2pdof_max,
Loading