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
41c565c3
Commit
41c565c3
authored
1 year ago
by
Thomas Strebler
Committed by
Walter Lampl
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Updated TRT_ElectronPidToolsConfig
Updated TRT_ElectronPidToolsConfig
parent
b489e7fd
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
InnerDetector/InDetConfig/python/TRT_ElectronPidToolsConfig.py
+15
-8
15 additions, 8 deletions
...Detector/InDetConfig/python/TRT_ElectronPidToolsConfig.py
with
15 additions
and
8 deletions
InnerDetector/InDetConfig/python/TRT_ElectronPidToolsConfig.py
+
15
−
8
View file @
41c565c3
...
...
@@ -60,26 +60,33 @@ def __TRT_dEdxToolBaseCfg(flags, name, **kwargs):
acc
=
TRTToTCondAlgCfg
(
flags
)
kwargs
.
setdefault
(
"
TRT_dEdx_isData
"
,
not
flags
.
Input
.
isMC
)
if
"
TRT_LocalOccupancyTool
"
not
in
kwargs
:
kwargs
.
setdefault
(
"
TRT_LocalOccupancyTool
"
,
acc
.
popToolsAndMerge
(
TRT_LocalOccupancyCfg
(
flags
)))
if
"
AssociationTool
"
not
in
kwargs
:
from
InDetConfig.InDetAssociationToolsConfig
import
InDetPrdAssociationToolCfg
kwargs
.
setdefault
(
"
AssociationTool
"
,
acc
.
popToolsAndMerge
(
InDetPrdAssociationToolCfg
(
flags
)))
acc
.
setPrivateTools
(
CompFactory
.
TRT_ToT_dEdx
(
name
,
**
kwargs
))
return
acc
def
TRT_dEdxToolCfg
(
flags
,
name
=
"
TRT_dEdxTool
"
,
**
kwargs
):
acc
=
__TRT_dEdxToolBaseCfg
(
flags
,
name
,
**
kwargs
)
acc
=
ComponentAccumulator
(
)
if
not
flags
.
Input
.
isMC
:
from
LumiBlockComps.LumiBlockMuWriterConfig
import
LumiBlockMuWriterCfg
acc
.
merge
(
LumiBlockMuWriterCfg
(
flags
))
if
"
TRT_LocalOccupancyTool
"
not
in
kwargs
:
kwargs
.
setdefault
(
"
TRT_LocalOccupancyTool
"
,
acc
.
popToolsAndMerge
(
TRT_LocalOccupancyCfg
(
flags
)))
if
"
AssociationTool
"
not
in
kwargs
:
from
InDetConfig.InDetAssociationToolsConfig
import
(
InDetPrdAssociationToolCfg
)
kwargs
.
setdefault
(
"
AssociationTool
"
,
acc
.
popToolsAndMerge
(
InDetPrdAssociationToolCfg
(
flags
)))
acc
.
setPrivateTools
(
acc
.
popToolsAndMerge
(
__TRT_dEdxToolBaseCfg
(
flags
,
name
,
**
kwargs
)))
return
acc
def
TrigTRT_dEdxToolCfg
(
flags
,
name
=
"
TrigTRT_dEdxTool
"
,
**
kwargs
):
"""
trigger version should not add LumiBlockMuWriterCfg to views as it is scheduled globally
"""
...
...
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