Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Moore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LHCb
Moore
Commits
d694eb89
Commit
d694eb89
authored
1 year ago
by
Aniol Lobo Salvia
Committed by
Rosen Matev
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
remove GhostProb cuts from standard particles
parent
372847db
No related branches found
No related tags found
1 merge request
!2161
remove GhostProb cuts from standard particles
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Hlt/Hlt2Conf/python/Hlt2Conf/standard_particles.py
+12
-10
12 additions, 10 deletions
Hlt/Hlt2Conf/python/Hlt2Conf/standard_particles.py
with
12 additions
and
10 deletions
Hlt/Hlt2Conf/python/Hlt2Conf/standard_particles.py
+
12
−
10
View file @
d694eb89
...
...
@@ -533,12 +533,13 @@ def filter_leptons_loose(particles,
pid_mu
=
None
,
ismuon
=
False
,
minipchi2
=-
999
,
trghostprob
=
999
):
trghostprob
=
None
):
"""
Returns loosely preselected leptons
"""
pvs
=
pv_maker
()
code
=
F
.
require_all
(
F
.
PT
>
pt_min
,
F
.
P
>
p_min
,
F
.
MINIPCHI2
(
pvs
)
>
minipchi2
,
F
.
GHOSTPROB
<
trghostprob
)
F
.
MINIPCHI2
(
pvs
)
>
minipchi2
)
if
trghostprob
is
not
None
:
code
=
code
&
(
F
.
GHOSTPROB
<
trghostprob
)
if
lepton
==
'
muon
'
:
if
probnn_mu
is
not
None
:
code
=
(
F
.
PROBNN_MU
>
probnn_mu
)
&
code
...
...
@@ -570,7 +571,7 @@ def make_detached_dielectron(name='make_detached_dielectron_{hash}',
probnn_e
=
None
,
pt_e
=
0.25
*
GeV
,
minipchi2
=
9.
,
trghostprob
=
0.25
,
trghostprob
=
None
,
adocachi2cut
=
30
,
bpvvdchi2
=
30
,
vfaspfchi2ndof
=
10
):
...
...
@@ -637,7 +638,7 @@ def make_detached_dielectron_with_brem(
pt_e
=
0.25
*
GeV
,
p_e
=
0.
*
GeV
,
minipchi2
=
9.
,
trghostprob
=
0.25
,
trghostprob
=
None
,
dielectron_ID
=
"
J/psi(1S)
"
,
pt_diE
=
0
*
MeV
,
m_diE_min
=
0
*
MeV
,
...
...
@@ -653,8 +654,9 @@ def make_detached_dielectron_with_brem(
pvs
=
pv_maker
()
particles
=
electron_maker
()
code_e
=
F
.
require_all
(
F
.
PT
>
pt_e
,
F
.
P
>
p_e
,
F
.
MINIPCHI2
(
pvs
)
>
minipchi2
,
F
.
GHOSTPROB
<
trghostprob
)
F
.
MINIPCHI2
(
pvs
)
>
minipchi2
)
if
trghostprob
is
not
None
:
code_e
=
code_e
&
(
F
.
GHOSTPROB
<
trghostprob
)
if
PIDe_min
is
not
None
:
code_e
=
code_e
&
(
F
.
PID_E
>
PIDe_min
)
if
probnn_e
is
not
None
:
...
...
@@ -687,7 +689,7 @@ def make_detached_mue(name='make_detached_mue_{hash}',
probnn_e
=
None
,
pt_e
=
0.25
*
GeV
,
minipchi2
=
9.
,
trghostprob
=
0.25
,
trghostprob
=
None
,
adocachi2cut
=
30
,
bpvvdchi2
=
30
,
vfaspfchi2ndof
=
10
):
...
...
@@ -740,7 +742,7 @@ def make_detached_mue_with_brem(name='make_detached_mue_with_brem_{hash}',
probnn_e
=
None
,
min_pt_e
=
0.25
*
GeV
,
minipchi2_track
=
9.
,
max_trghostprob
=
0.25
,
max_trghostprob
=
None
,
max_adocachi2
=
30
,
min_bpvvdchi2
=
30
,
max_vchi2ndof
=
10
):
...
...
@@ -793,7 +795,7 @@ def make_detached_mumu(name='make_detached_mumu_{hash}',
probnn_mu
=
None
,
pt_mu
=
0.
*
GeV
,
minipchi2
=
9.
,
trghostprob
=
0.25
,
trghostprob
=
None
,
adocachi2cut
=
30
,
bpvvdchi2
=
30
,
vfaspfchi2ndof
=
10
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment