ATLAS Offline Software
Functions
LVL1InterfacesMonitoringCfg Namespace Reference

Functions

def LVL1InterfacesMonitoringCfg (flags)
 

Function Documentation

◆ LVL1InterfacesMonitoringCfg()

def LVL1InterfacesMonitoringCfg.LVL1InterfacesMonitoringCfg (   flags)
Function to call T1 interfaces DQ monitoring algorithms

Definition at line 5 of file LVL1InterfacesMonitoringCfg.py.

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
grepfile.info
info
Definition: grepfile.py:38
LVL1InterfacesMonitoringCfg.LVL1InterfacesMonitoringCfg
def LVL1InterfacesMonitoringCfg(flags)
Definition: LVL1InterfacesMonitoringCfg.py:5
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
L1TopoByteStreamConfig.L1TopoRawDataContainerBSCnvCfg
def L1TopoRawDataContainerBSCnvCfg(flags)
Definition: L1TopoByteStreamConfig.py:34
L1CaloL1TopoMonitorAlgorithm.L1CaloL1TopoMonitoringConfig
def L1CaloL1TopoMonitoringConfig(inputFlags)
Definition: L1CaloL1TopoMonitorAlgorithm.py:4
L1CaloCTPMonitorAlgorithm.L1CaloCTPMonitoringConfig
def L1CaloCTPMonitoringConfig(flags)
Definition: L1CaloCTPMonitorAlgorithm.py:4