Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
Davide Di Croce
athena
Commits
1ce57ede
Commit
1ce57ede
authored
1 year ago
by
Matthew Kenneth Maroun
Committed by
Johannes Elmsheuser
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Container Name Reconfigure for OverlapAnalysisConfig
Container Name Reconfigure for OverlapAnalysisConfig
parent
c4fef274
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
PhysicsAnalysis/Algorithms/AsgAnalysisAlgorithms/python/OverlapAnalysisConfig.py
+18
-18
18 additions, 18 deletions
...hms/AsgAnalysisAlgorithms/python/OverlapAnalysisConfig.py
with
18 additions
and
18 deletions
PhysicsAnalysis/Algorithms/AsgAnalysisAlgorithms/python/OverlapAnalysisConfig.py
+
18
−
18
View file @
1ce57ede
...
...
@@ -138,27 +138,27 @@ class OverlapAnalysisConfig (ConfigBlock):
if
electrons
:
alg
.
electrons
=
electrons
alg
.
electronsDecoration
=
self
.
outputLabel
+
'
_%SYS%,as_char
'
config
.
addSelection
(
self
.
electrons
,
electronsSelectionName
,
alg
.
electronsDecoration
,
preselection
=
False
)
config
.
addSelection
(
self
.
electrons
.
split
(
'
.
'
)[
0
]
,
electronsSelectionName
,
alg
.
electronsDecoration
,
preselection
=
False
)
if
muons
:
alg
.
muons
=
muons
alg
.
muonsDecoration
=
self
.
outputLabel
+
'
_%SYS%,as_char
'
config
.
addSelection
(
self
.
muons
,
muonsSelectionName
,
alg
.
muonsDecoration
,
preselection
=
False
)
config
.
addSelection
(
self
.
muons
.
split
(
'
.
'
)[
0
]
,
muonsSelectionName
,
alg
.
muonsDecoration
,
preselection
=
False
)
if
taus
:
alg
.
taus
=
taus
alg
.
tausDecoration
=
self
.
outputLabel
+
'
_%SYS%,as_char
'
config
.
addSelection
(
self
.
taus
,
tausSelectionName
,
alg
.
tausDecoration
,
preselection
=
False
)
config
.
addSelection
(
self
.
taus
.
split
(
'
.
'
)[
0
]
,
tausSelectionName
,
alg
.
tausDecoration
,
preselection
=
False
)
if
jets
:
alg
.
jets
=
jets
alg
.
jetsDecoration
=
self
.
outputLabel
+
'
_%SYS%,as_char
'
config
.
addSelection
(
self
.
jets
,
jetsSelectionName
,
alg
.
jetsDecoration
,
preselection
=
False
)
config
.
addSelection
(
self
.
jets
.
split
(
'
.
'
)[
0
]
,
jetsSelectionName
,
alg
.
jetsDecoration
,
preselection
=
False
)
if
photons
:
alg
.
photons
=
photons
alg
.
photonsDecoration
=
self
.
outputLabel
+
'
_%SYS%,as_char
'
config
.
addSelection
(
self
.
photons
,
photonsSelectionName
,
alg
.
photonsDecoration
,
preselection
=
False
)
config
.
addSelection
(
self
.
photons
.
split
(
'
.
'
)[
0
]
,
photonsSelectionName
,
alg
.
photonsDecoration
,
preselection
=
False
)
if
fatJets
:
alg
.
fatJets
=
fatJets
alg
.
fatJetsDecoration
=
self
.
outputLabel
+
'
_%SYS%,as_char
'
config
.
addSelection
(
self
.
fatJets
,
fatJetsSelectionName
,
alg
.
fatJetsDecoration
,
preselection
=
False
)
config
.
addSelection
(
self
.
fatJets
.
split
(
'
.
'
)[
0
]
,
fatJetsSelectionName
,
alg
.
fatJetsDecoration
,
preselection
=
False
)
# Create its main tool, and set its basic properties:
config
.
addPrivateTool
(
'
overlapTool
'
,
'
ORUtils::OverlapRemovalTool
'
)
...
...
@@ -311,45 +311,45 @@ class OverlapAnalysisConfig (ConfigBlock):
if
electrons
:
alg
=
config
.
createAlgorithm
(
'
CP::AsgUnionPreselectionAlg
'
,
'
ORElectronsPreselectionAlg
'
+
postfix
)
alg
.
particles
=
electrons
alg
.
preselection
=
'
&&
'
.
join
(
config
.
getPreselection
(
self
.
electrons
,
electronsSelectionName
,
asList
=
True
)
alg
.
preselection
=
'
&&
'
.
join
(
config
.
getPreselection
(
self
.
electrons
.
split
(
'
.
'
)[
0
]
,
electronsSelectionName
,
asList
=
True
)
+
[
self
.
outputLabel
+
'
_%SYS%,as_char
'
])
alg
.
selectionDecoration
=
preselectLabel
config
.
addSelection
(
self
.
electrons
,
electronsSelectionName
,
alg
.
selectionDecoration
+
'
,as_char
'
,
bits
=
1
,
preselection
=
True
)
config
.
addSelection
(
self
.
electrons
.
split
(
'
.
'
)[
0
]
,
electronsSelectionName
,
alg
.
selectionDecoration
+
'
,as_char
'
,
bits
=
1
,
preselection
=
True
)
if
muons
:
alg
=
config
.
createAlgorithm
(
'
CP::AsgUnionPreselectionAlg
'
,
'
ORMuonsPreselectionAlg
'
+
postfix
)
alg
.
particles
=
muons
alg
.
preselection
=
'
&&
'
.
join
(
config
.
getPreselection
(
self
.
muons
,
muonsSelectionName
,
asList
=
True
)
alg
.
preselection
=
'
&&
'
.
join
(
config
.
getPreselection
(
self
.
muons
.
split
(
'
.
'
)[
0
]
,
muonsSelectionName
,
asList
=
True
)
+
[
self
.
outputLabel
+
'
_%SYS%,as_char
'
])
alg
.
selectionDecoration
=
preselectLabel
config
.
addSelection
(
self
.
muons
,
muonsSelectionName
,
alg
.
selectionDecoration
+
'
,as_char
'
,
bits
=
1
,
preselection
=
True
)
config
.
addSelection
(
self
.
muons
.
split
(
'
.
'
)[
0
]
,
muonsSelectionName
,
alg
.
selectionDecoration
+
'
,as_char
'
,
bits
=
1
,
preselection
=
True
)
if
taus
:
alg
=
config
.
createAlgorithm
(
'
CP::AsgUnionPreselectionAlg
'
,
'
ORTausPreselectionAlg
'
+
postfix
)
alg
.
particles
=
taus
alg
.
preselection
=
'
&&
'
.
join
(
config
.
getPreselection
(
self
.
taus
,
tausSelectionName
,
asList
=
True
)
alg
.
preselection
=
'
&&
'
.
join
(
config
.
getPreselection
(
self
.
taus
.
split
(
'
.
'
)[
0
]
,
tausSelectionName
,
asList
=
True
)
+
[
self
.
outputLabel
+
'
_%SYS%,as_char
'
])
alg
.
selectionDecoration
=
preselectLabel
config
.
addSelection
(
self
.
taus
,
tausSelectionName
,
alg
.
selectionDecoration
+
'
,as_char
'
,
bits
=
1
,
preselection
=
True
)
config
.
addSelection
(
self
.
taus
.
split
(
'
.
'
)[
0
]
,
tausSelectionName
,
alg
.
selectionDecoration
+
'
,as_char
'
,
bits
=
1
,
preselection
=
True
)
if
jets
:
alg
=
config
.
createAlgorithm
(
'
CP::AsgUnionPreselectionAlg
'
,
'
ORJetsPreselectionAlg
'
+
postfix
)
alg
.
particles
=
jets
alg
.
preselection
=
'
&&
'
.
join
(
config
.
getPreselection
(
self
.
jets
,
jetsSelectionName
,
asList
=
True
)
alg
.
preselection
=
'
&&
'
.
join
(
config
.
getPreselection
(
self
.
jets
.
split
(
'
.
'
)[
0
]
,
jetsSelectionName
,
asList
=
True
)
+
[
self
.
outputLabel
+
'
_%SYS%,as_char
'
])
alg
.
selectionDecoration
=
preselectLabel
config
.
addSelection
(
self
.
jets
,
jetsSelectionName
,
alg
.
selectionDecoration
+
'
,as_char
'
,
bits
=
1
,
preselection
=
True
)
config
.
addSelection
(
self
.
jets
.
split
(
'
.
'
)[
0
]
,
jetsSelectionName
,
alg
.
selectionDecoration
+
'
,as_char
'
,
bits
=
1
,
preselection
=
True
)
if
photons
:
alg
=
config
.
createAlgorithm
(
'
CP::AsgUnionPreselectionAlg
'
,
'
ORPhotonsPreselectionAlg
'
+
postfix
)
alg
.
particles
=
photons
alg
.
preselection
=
'
&&
'
.
join
(
config
.
getPreselection
(
self
.
photons
,
photonsSelectionName
,
asList
=
True
)
alg
.
preselection
=
'
&&
'
.
join
(
config
.
getPreselection
(
self
.
photons
.
split
(
'
.
'
)[
0
]
,
photonsSelectionName
,
asList
=
True
)
+
[
self
.
outputLabel
+
'
_%SYS%,as_char
'
])
alg
.
selectionDecoration
=
preselectLabel
config
.
addSelection
(
self
.
photons
,
photonsSelectionName
,
alg
.
selectionDecoration
+
'
,as_char
'
,
bits
=
1
,
preselection
=
True
)
config
.
addSelection
(
self
.
photons
.
split
(
'
.
'
)[
0
]
,
photonsSelectionName
,
alg
.
selectionDecoration
+
'
,as_char
'
,
bits
=
1
,
preselection
=
True
)
if
fatJets
:
alg
=
config
.
createAlgorithm
(
'
CP::AsgUnionPreselectionAlg
'
,
'
ORFatJetsPreselectionAlg
'
+
postfix
)
alg
.
particles
=
fatJets
alg
.
preselection
=
'
&&
'
.
join
(
config
.
getPreselection
(
self
.
fatJets
,
fatJetsSelectionName
,
asList
=
True
)
alg
.
preselection
=
'
&&
'
.
join
(
config
.
getPreselection
(
self
.
fatJets
.
split
(
'
.
'
)[
0
]
,
fatJetsSelectionName
,
asList
=
True
)
+
[
self
.
outputLabel
+
'
_%SYS%,as_char
'
])
alg
.
selectionDecoration
=
preselectLabel
config
.
addSelection
(
self
.
fatJets
,
fatJetsSelectionName
,
alg
.
selectionDecoration
+
'
,as_char
'
,
bits
=
1
,
preselection
=
True
)
config
.
addSelection
(
self
.
fatJets
.
split
(
'
.
'
)[
0
]
,
fatJetsSelectionName
,
alg
.
selectionDecoration
+
'
,as_char
'
,
bits
=
1
,
preselection
=
True
)
...
...
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