ATLAS Offline Software
Functions
DataQualityToolsConfig Namespace Reference

Functions

def DataQualityToolsConfig (flags)
 

Function Documentation

◆ DataQualityToolsConfig()

def DataQualityToolsConfig.DataQualityToolsConfig (   flags)

Definition at line 5 of file DataQualityToolsConfig.py.

5 def DataQualityToolsConfig(flags):
6  from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
7  from AthenaMonitoring.DQConfigFlags import DQDataType
8  from .DQTLumiMonAlg import DQTLumiMonAlgConfig
9  from .DQTBackgroundMon import DQTBackgroundMonAlgConfig
10  from .DQTDetSynchMonAlg import DQTDetSynchMonAlgConfig
11  from .DQTGlobalWZFinderAlg import DQTGlobalWZFinderAlgConfig
12 
13  result = ComponentAccumulator()
14 
15  # the following should not run in RAW to ESD, if we're in two-step
16  if flags.DQ.Environment != 'tier0Raw':
17  if flags.DQ.DataType is not DQDataType.Cosmics:
18  result.merge(DQTLumiMonAlgConfig(flags))
19  result.merge(DQTGlobalWZFinderAlgConfig(flags))
20 
21  # only when input is RAW
22  if flags.DQ.Environment in ('online', 'tier0', 'tier0Raw'):
23  result.merge(DQTDetSynchMonAlgConfig(flags))
24  result.merge(DQTBackgroundMonAlgConfig(flags))
25 
26  return result
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
DQTLumiMonAlg.DQTLumiMonAlgConfig
def DQTLumiMonAlgConfig(flags)
Definition: DQTLumiMonAlg.py:5
DataQualityToolsConfig.DataQualityToolsConfig
def DataQualityToolsConfig(flags)
Definition: DataQualityToolsConfig.py:5
DQTBackgroundMon.DQTBackgroundMonAlgConfig
def DQTBackgroundMonAlgConfig(flags)
Definition: DQTBackgroundMon.py:5
DQTDetSynchMonAlg.DQTDetSynchMonAlgConfig
def DQTDetSynchMonAlgConfig(flags)
Definition: DQTDetSynchMonAlg.py:4
DQTGlobalWZFinderAlg.DQTGlobalWZFinderAlgConfig
def DQTGlobalWZFinderAlgConfig(flags)
Definition: DQTGlobalWZFinderAlg.py:4