ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1Monitoring
python
LVL1InterfacesMonitoringCfg.py
Go to the documentation of this file.
1
#
2
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
#
4
5
def
LVL1InterfacesMonitoringCfg
(flags):
6
'''Function to call T1 interfaces DQ monitoring algorithms'''
7
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
8
from
AthenaConfiguration.Enums
import
Format
9
import
logging
10
11
# local printing
12
local_logger = logging.getLogger(
'AthenaMonitoringCfg'
)
13
info = local_logger.info
14
info(
'In LVL1InterfacesMonitoringCfg'
)
15
16
result = ComponentAccumulator()
17
18
# If we're not putting trigger objects in event store, can't monitor them
19
if
not
flags.Trigger.Online.isPartition:
20
if
not
flags.DQ.triggerDataAvailable:
21
return
result
22
23
isData =
not
flags.Input.isMC
24
25
# monitoring algorithm configs
26
# do not run on MC or RAW->ESD(tier0), or AOD-only
27
if
isData
and
flags.DQ.Environment
not
in
(
'tier0Raw'
,
'AOD'
)
and
flags.Input.DataYear < 2024:
28
from
TrigT1Monitoring.L1CaloL1TopoMonitorAlgorithm
import
L1CaloL1TopoMonitoringConfig
29
result.merge(L1CaloL1TopoMonitoringConfig(flags))
30
31
from
TrigT1Monitoring.L1CaloCTPMonitorAlgorithm
import
L1CaloCTPMonitoringConfig
32
result.merge(L1CaloCTPMonitoringConfig(flags))
33
34
# For online running on bytestream data
35
if
flags.Input.Format
is
Format.BS
and
flags.Trigger.Online.isPartition:
36
from
L1TopoByteStream.L1TopoByteStreamConfig
import
L1TopoRawDataContainerBSCnvCfg
37
result.merge(L1TopoRawDataContainerBSCnvCfg(flags))
38
39
return
result
LVL1InterfacesMonitoringCfg
Definition
LVL1InterfacesMonitoringCfg.py:1
Generated on
for ATLAS Offline Software by
1.17.0