Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Peter Sherwood
athena
Commits
f1b85f80
Commit
f1b85f80
authored
5 years ago
by
William Keaton Balunas
Browse files
Options
Downloads
Patches
Plain Diff
Add auto-configuration of container names for modifiers to new jet config
parent
31dbaaed
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Reconstruction/Jet/JetRecConfig/python/JetRecConfig.py
+9
-0
9 additions, 0 deletions
Reconstruction/Jet/JetRecConfig/python/JetRecConfig.py
with
9 additions
and
0 deletions
Reconstruction/Jet/JetRecConfig/python/JetRecConfig.py
+
9
−
0
View file @
f1b85f80
...
...
@@ -210,6 +210,14 @@ def expandPrereqs(reqtype,prereqs):
return
None
return
reqdefs
########################################################################
# For each modifier in the given list with a configurable input container
# name ("JetContainer"), configure it to containerName.
def
configureContainerName
(
modifiers
,
containerName
):
for
mod
in
modifiers
:
if
"
JetContainer
"
in
mod
.
properties
:
mod
.
JetContainer
=
output
########################################################################
# Function producing an EventShapeAlg to calculate
...
...
@@ -467,6 +475,7 @@ def getJetRecTool(jetname, finder, pjs, mods):
JetFinder
=
finder
,
JetModifiers
=
mods
)
configureContainerName
(
jetrec
.
JetModifiers
,
jetname
)
return
jetrec
...
...
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