ATLAS Offline Software
TRTMonitoringRun3Config.py
Go to the documentation of this file.
1 #
2 # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 #
4 
6  from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
7  from .TRTMonitoringRun3ESD_Alg import TRTMonitoringRun3ESD_AlgConfig
8  from .TRTMonitoringRun3RAW_Alg import TRTMonitoringRun3RAW_AlgConfig
9 
10  result = ComponentAccumulator()
11 
12  # do not run in RAW->ESD (if two step) or AOD-only
13  if flags.DQ.Environment not in ('tier0Raw', 'AOD'):
14  result.merge(TRTMonitoringRun3ESD_AlgConfig(flags))
15 
16  # only when input is RAW
17  if flags.DQ.Environment in ('online', 'tier0', 'tier0Raw'):
18  result.merge(TRTMonitoringRun3RAW_AlgConfig(flags))
19 
20  return result
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
TRTMonitoringRun3ESD_Alg.TRTMonitoringRun3ESD_AlgConfig
def TRTMonitoringRun3ESD_AlgConfig(flags)
Definition: TRTMonitoringRun3ESD_Alg.py:11
TRTMonitoringRun3RAW_Alg.TRTMonitoringRun3RAW_AlgConfig
def TRTMonitoringRun3RAW_AlgConfig(flags)
Definition: TRTMonitoringRun3RAW_Alg.py:5
TRTMonitoringRun3Config.TRTMonitoringRun3Cfg
def TRTMonitoringRun3Cfg(flags)
Definition: TRTMonitoringRun3Config.py:5