Loading [MathJax]/jax/input/TeX/config.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
MuonDQAMonitoringConfig.py
Go to the documentation of this file.
1 #
2 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 #
5 
6  from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
7  from AthenaMonitoring.DQConfigFlags import DQDataType
8 
9  result = ComponentAccumulator()
10 
11  if flags.DQ.Steering.Muon.doRawMon:
12  # do not run in RAW->ESD, or AOD-only
13  if flags.DQ.Environment not in ('tier0Raw', 'AOD'):
14  from MdtRawDataMonitoring.MDTMonitorAlgorithm import MdtMonitoringConfig
15  from RpcRawDataMonitoring.RpcMonitorAlgorithm import RpcMonitoringConfig
16  from TgcRawDataMonitoring.TgcRawDataMonitorAlgorithm import TgcRawDataMonitoringConfig
17  result.merge(MdtMonitoringConfig(flags))
18  result.merge(RpcMonitoringConfig(flags))
19  result.merge(TgcRawDataMonitoringConfig(flags))
20  if flags.Detector.GeometryCSC:
21  from CscRawDataMonitoring.CscMonitoringESD_Alg import CscMonitoringESD_AlgConfig
22  result.merge(CscMonitoringESD_AlgConfig(flags))
23  if flags.Detector.GeometrysTGC:
24  from StgcRawDataMonitoring.StgcMonitorAlgorithm import sTgcMonitoringConfig
25  if flags.DQ.DataType is not DQDataType.MC:
26  result.merge(sTgcMonitoringConfig(flags,NSW_PadTrigKey='NSW_PadTrigger_RDO'))
27  else:
28  result.merge(sTgcMonitoringConfig(flags))
29  if flags.Detector.GeometryMM and flags.Detector.GeometrysTGC:
30  from NSWRawDataMonitoring.NSWMonitorAlgorithm import NSWMonitoringCfg
31  result.merge(NSWMonitoringCfg(flags))
32 
33  if flags.DQ.Environment in ('online', 'tier0','tier0Raw'):
34  if flags.Detector.GeometryCSC:
35  from CscRawDataMonitoring.CscMonitoringRAW_Alg import CscMonitoringRAW_AlgConfig
36  result.merge(CscMonitoringRAW_AlgConfig(flags))
37  if flags.Detector.GeometryMM:
38  from MMRawDataMonitoring.MMMonitorAlgorithm import MMMonitoringConfig
39  result.merge(MMMonitoringConfig(flags))
40 
41  if flags.DQ.Steering.Muon.doTrackMon:
42  # do not run in RAW->ESD
43  if flags.DQ.Environment not in ('tier0Raw',):
44  from MuonTrackMonitoring.MuonTrackMonitorAlgorithm import MuonTrackConfig
45  result.merge(MuonTrackConfig(flags))
46  return result
MMMonitorAlgorithm.MMMonitoringConfig
def MMMonitoringConfig(inputFlags)
Definition: MMMonitorAlgorithm.py:8
MuonTrackMonitorAlgorithm.MuonTrackConfig
def MuonTrackConfig(flags, **kwargs)
Definition: MuonTrackMonitorAlgorithm.py:9
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
TgcRawDataMonitorAlgorithm.TgcRawDataMonitoringConfig
def TgcRawDataMonitoringConfig(inputFlags)
Definition: TgcRawDataMonitorAlgorithm.py:12
StgcMonitorAlgorithm.sTgcMonitoringConfig
def sTgcMonitoringConfig(inputFlags, NSW_PadTrigKey='')
Definition: StgcMonitorAlgorithm.py:9
CscMonitoringRAW_Alg.CscMonitoringRAW_AlgConfig
def CscMonitoringRAW_AlgConfig(inputFlags)
Definition: CscMonitoringRAW_Alg.py:8
RpcMonitorAlgorithm.RpcMonitoringConfig
def RpcMonitoringConfig(inputFlags)
Definition: RpcMonitorAlgorithm.py:10
MDTMonitorAlgorithm.MdtMonitoringConfig
def MdtMonitoringConfig(inputFlags)
Definition: MDTMonitorAlgorithm.py:12
NSWMonitorAlgorithm.NSWMonitoringCfg
def NSWMonitoringCfg(inputFlags)
Definition: NSWMonitorAlgorithm.py:7
CscMonitoringESD_Alg.CscMonitoringESD_AlgConfig
def CscMonitoringESD_AlgConfig(inputFlags)
Definition: CscMonitoringESD_Alg.py:8
MuonDQAMonitoringConfig.MuonDQAMonitoringConfig
def MuonDQAMonitoringConfig(flags)
Definition: MuonDQAMonitoringConfig.py:4