Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DaVinci
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
DaVinci
Commits
53e1b2c6
Commit
53e1b2c6
authored
2 years ago
by
Patrick Koppenburg
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Merge branch 'jzhuo_MCRecInput' into 'master'"
This reverts merge request
!769
parent
2fc2b443
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#4611300
passed
2 years ago
Stage: check
Stage: build
Stage: docs
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DaVinciExamples/python/DaVinciExamples/tupling/example-tupling-mc-reconstructible-reconstructed.py
+9
-10
9 additions, 10 deletions
...pling/example-tupling-mc-reconstructible-reconstructed.py
with
9 additions
and
10 deletions
DaVinciExamples/python/DaVinciExamples/tupling/example-tupling-mc-reconstructible-reconstructed.py
+
9
−
10
View file @
53e1b2c6
...
...
@@ -31,14 +31,14 @@ def main(options: Options):
extra_inputs
+=
[
get_charged_protoparticles
(
options
.
process
)]
extra_inputs
+=
[
get_neutral_protoparticles
(
options
.
process
)]
relations
_charged
=
get_pp2mcp_relations
(
"
/Event/HLT2/Relations/ChargedPP2MCP
"
,
process
=
options
.
process
,
extra_inputs
=
extra_inputs
)
relations_neutral
=
get_pp2mcp_relations
(
"
/Event/HLT2/Relations/NeutralPP2MCP
"
,
process
=
options
.
process
,
extra_inputs
=
extra_inputs
)
relations
=
[
get_pp2mcp_relations
(
loc
,
process
=
options
.
process
,
extra_inputs
=
extra_inputs
)
for
loc
in
[
"
/Event/HLT2/Relations/ChargedPP2MCP
"
,
"
/Event/HLT2/Relations/NeutralPP2MCP
"
]
]
#Get variables related to reconstructible information.
mcrtible
=
MCReconstructible
(
...
...
@@ -61,8 +61,7 @@ def main(options: Options):
mcrted_all
=
MCReconstructed
(
MC_data
,
use_best_mcmatch
=
False
,
relations_charged
=
relations_charged
,
relations_neutral
=
relations_neutral
,
relations_locs
=
relations
,
process
=
options
.
process
)
#The option extra_info below is set to False by default in the functor collection.
vars_rted
=
MCReconstructed_Collection
(
mcrted_all
,
extra_info
=
False
)
...
...
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