ATLAS Offline Software
Loading...
Searching...
No Matches
TRTMonitoringRun3Config.py
Go to the documentation of this file.
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