ATLAS Offline Software
Loading...
Searching...
No Matches
egammaPerformance/python/egammaMonitoringConfig.py
Go to the documentation of this file.
2# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3#
4
6 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
7 result = ComponentAccumulator()
8
9 # don't run in RAW -> ESD
10 if flags.DQ.Environment in ('tier0', 'tier0ESD','online', 'AOD'):
11 from egammaPerformance.SetupEgammaMonitoring import MonitorElectronConfig, MonitorPhotonConfig, MonitorTnPConfig, MonitorForwardElectronConfig
12
13 result.merge(MonitorElectronConfig(flags))
14 result.merge(MonitorPhotonConfig(flags))
15 result.merge(MonitorTnPConfig(flags))
16 if flags.Egamma.doForward:
17 result.merge(MonitorForwardElectronConfig(flags))
18
19 return result