Skip to content
Snippets Groups Projects
Commit b053ecd4 authored by Izaac Sanderswood's avatar Izaac Sanderswood
Browse files

python linting

parent 3d0463a0
No related branches found
No related tags found
1 merge request!1240Bs2PhiGamma and Bd2KstGamma HLT2 and Sprucing lines
Pipeline #3849481 passed
......@@ -26,7 +26,6 @@ import Functors as F
from math import cos
from Hlt2Conf.lines.rd.builders.rdbuilder_thor import (
make_rd_has_rich_detached_pions, make_rd_has_rich_detached_kaons,
make_rd_detached_kstar0s, make_rd_detached_phis)
from Hlt2Conf.lines.rd.builders.bs_to_phigamma_exclusive_builders import (
......
......@@ -684,8 +684,7 @@ def make_rd_detached_kstar0s(
k_pid=(F.PID_K > -2.),
kstar0_pt_min=400. * MeV,
adocachi2cut=30.,
vchi2pdof_max=25.,
):
vchi2pdof_max=25.):
'''
Build Kstar0 candidates. Approximately corresponding to the Run2
"StdVeryLooseDetachedKstar" cuts.
......@@ -704,7 +703,7 @@ def make_rd_detached_kstar0s(
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()
#pvs = make_pvs()
vertex_code = require_all(F.CHI2DOF < vchi2pdof_max, F.PT > kstar0_pt_min)
return ParticleCombiner([kaons, pions],
name=name,
......@@ -740,7 +739,7 @@ def make_rd_detached_phis(
descriptor = 'phi(1020) -> K+ K-'
combination_code = require_all(
in_range(am_min, F.MASS, am_max), F.MAXDOCACHI2CUT(adocachi2cut))
pvs = make_pvs()
#pvs = make_pvs()
vertex_code = require_all(F.CHI2DOF < vchi2pdof_max, F.PT > phi_pt_min)
return ParticleCombiner([kaons, kaons],
name=name,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment