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
613be849
Commit
613be849
authored
2 years ago
by
Christoph Hasse
Browse files
Options
Downloads
Patches
Plain Diff
fix example code
parent
e914dd43
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1497
follow Rec!2683
Pipeline
#3906564
passed
2 years ago
Stage: check
Stage: build
Stage: docs
Stage: .post
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Hlt/Hlt2Conf/python/Hlt2Conf/algorithms_thor.py
+1
-1
1 addition, 1 deletion
Hlt/Hlt2Conf/python/Hlt2Conf/algorithms_thor.py
with
1 addition
and
1 deletion
Hlt/Hlt2Conf/python/Hlt2Conf/algorithms_thor.py
+
1
−
1
View file @
613be849
...
...
@@ -83,7 +83,7 @@ def require_all(*cuts):
>>>
import
Functors
as
F
>>>
functor
=
require_all
(
F
.
PT
>
1
,
F
.
PID_K
<
0
)
>>>
functor
.
code_repr
()
'
( (
PT
> 1 ) & ( PID_K < 0 ) )
'
'
( (
( RHO_COORDINATE chain THREEMOMENTUM )
> 1 ) & ( PID_K < 0 ) )
'
"""
return
functools
.
reduce
(
lambda
f
,
g
:
f
&
g
,
cuts
)
...
...
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