Skip to content
Snippets Groups Projects
Commit d204d0b3 authored by Gitlab CI's avatar Gitlab CI Committed by Innes Mackay
Browse files

Fixed formatting

patch generated by https://gitlab.cern.ch/lhcb/Moore/-/jobs/29628487
parent ed1ee05f
No related branches found
No related tags found
1 merge request!2314Changes to L0 PID lines
Pipeline #5858732 passed with warnings
......@@ -34,7 +34,10 @@ from Hlt2Conf.lines.pid.utils import constants, filters as flt
all_lines = {}
def filter_protons(particles, p_min=2.0 * GeV, pt_min=0 * GeV, pt_max=1000 * GeV):
def filter_protons(particles,
p_min=2.0 * GeV,
pt_min=0 * GeV,
pt_max=1000 * GeV):
code = F.require_all(F.P > p_min, F.PT > pt_min, F.PT < pt_max)
return ParticleFilter(particles, F.FILTER(code))
......@@ -191,7 +194,8 @@ def L0ToPPi_LL_VeryHighPT(name="Hlt2PID_L0ToPPi_LL_VeryHighPT", prescale=1):
def L0ToPPi_DD_LowPT(name="Hlt2PID_L0ToPPi_DD_LowPT", prescale=0.002):
pvs = make_pvs()
protons = flt.filter_down_particles(
filter_protons(make_down_protons(), pt_min=0.175 * GeV, pt_max=1.5 * GeV),
filter_protons(
make_down_protons(), pt_min=0.175 * GeV, pt_max=1.5 * GeV),
p_min=3.0 * GeV,
pt_min=0.175 * GeV,
trchi2_max=4,
......
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