Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
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
atlas
athena
Commits
f39df0ae
Commit
f39df0ae
authored
10 months ago
by
Frank Winklmeier
Browse files
Options
Downloads
Patches
Plain Diff
L1TopoOnlineMonitoring: use (cached) getL1MenuAccess for L1Menu access
parent
1079387c
No related branches found
No related tags found
2 merge requests
!71694
2024-05-24: merge of 24.0 into main
,
!71627
TriggerMenuMT+L1TopoOnlineMonitoring: use (cached) getL1MenuAccess
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Trigger/TrigT1/L1Topo/L1TopoOnlineMonitoring/python/L1TopoOnlineMonitoringConfig.py
+4
-7
4 additions, 7 deletions
...poOnlineMonitoring/python/L1TopoOnlineMonitoringConfig.py
with
4 additions
and
7 deletions
Trigger/TrigT1/L1Topo/L1TopoOnlineMonitoring/python/L1TopoOnlineMonitoringConfig.py
+
4
−
7
View file @
f39df0ae
# Copyright (C) 2002-202
3
CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-202
4
CERN for the benefit of the ATLAS collaboration
from
AthenaConfiguration.ComponentFactory
import
CompFactory
from
AthenaConfiguration.ComponentAccumulator
import
CAtoGlobalWrapper
from
AthenaConfiguration.Enums
import
Format
from
AthenaMonitoringKernel.GenericMonitoringTool
import
GenericMonitoringTool
from
TrigConfIO.L1TriggerConfigAccess
import
L1MenuAccess
from
TrigConfigSvc.TrigConfigSvcCfg
import
getL1MenuFileName
from
TrigConfigSvc.TriggerConfigAccess
import
getL1MenuAccess
from
libpyeformat_helper
import
SourceIdentifier
,
SubDetector
def
getL1TopoOnlineMonitorHypo
(
flags
):
...
...
@@ -23,8 +22,7 @@ def L1TopoOnlineMonitorHypoToolGen(chainDict):
def
getL1TopoLabels
(
flags
,
connectors
=
{
0
:
'
LegacyTopo0
'
,
1
:
'
LegacyTopo1
'
},
bmax
=
128
):
topo_trigline_labels
=
[
""
for
i
in
range
(
bmax
)]
lvl1name
=
getL1MenuFileName
(
flags
)
lvl1access
=
L1MenuAccess
(
lvl1name
)
lvl1access
=
getL1MenuAccess
(
flags
)
for
connector_id
,
connectorKey
in
connectors
.
items
():
topo_triglines_dict
=
lvl1access
.
connector
(
connectorKey
)[
'
triggerlines
'
]
if
not
isinstance
(
topo_triglines_dict
,
list
):
...
...
@@ -50,8 +48,7 @@ def getL1TopoLabels(flags,connectors = {0: 'LegacyTopo0', 1: 'LegacyTopo1'}, bma
def
getMultiplicityLabels
(
flags
,
topoModule
):
topo_trigline_labels
=
[
""
for
i
in
range
(
128
)]
lvl1name
=
getL1MenuFileName
(
flags
)
lvl1access
=
L1MenuAccess
(
lvl1name
)
lvl1access
=
getL1MenuAccess
(
flags
)
topo_triglines_dict
=
lvl1access
.
connector
(
topoModule
)[
'
triggerlines
'
]
for
topo_trigline
in
topo_triglines_dict
:
...
...
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