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
+ 2
7
Compare changes
  • Side-by-side
  • Inline
@@ -53,25 +53,21 @@ def make_filter_tracks(
make_particles=make_has_rich_long_pions,
make_pvs=make_pvs,
name="rd_has_rich_long_pions",
pt_min=250. * MeV, #TBC with Reco
pt_min=250. * MeV,
p_min=2.0 * GeV,
#p_max=150. * GeV, #propose to move such cuts to the analysis level, can be quite inefficient for certain channels like B->mumu.
#eta_min=2., #same as above
#eta_max=5., #same as above
trchi2dof_max=3, #TBC with Reco
trghostprob_max=0.4, #TBC with Reco
mipchi2dvprimary_min=None,
pid=None):
pvs = make_pvs()
code = require_all(F.PT > pt_min, F.P > p_min, F.CHI2DOF < trchi2dof_max,
F.GHOSTPROB < trghostprob_max)
return ParticleFilter(make_particles(), F.FILTER(code))
if pid is not None:
code &= pid
if mipchi2dvprimary_min is not None:
pvs = make_pvs()
code &= F.MINIPCHI2(pvs) > mipchi2dvprimary_min
return ParticleFilter(make_particles(), name=name, Cut=F.FILTER(code))
@@ -577,7 +573,6 @@ def make_rd_detached_phis(
# Dileptons #
####################################
#Take the standard detached dileptons, filter with an MVA and save the necessary related tracks
@configurable
def filter_dimuon_noMVA(max_dimuon_mass=6000 * MeV):
Loading