11 ''' Function to configure Tile Monitoring in the monitoring system for Run III.'''
13 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
16 from AthenaCommon.Logging
import logging
17 msg = logging.getLogger(
'TileMonitoringCfg' )
19 environment = flags.DQ.Environment
21 if environment
in (
'online',
'tier0',
'tier0Raw'):
22 msg.info(
'Setup Tile Monitoring for RAW data due to environment: %s', environment)
24 from TileMonitoring.TileDQFragMonitorAlgorithm
import TileDQFragMonitoringConfig
27 from TileMonitoring.TileMBTSMonitorAlgorithm
import TileMBTSMonitoringConfig
30 from TileMonitoring.TileDigiNoiseMonitorAlgorithm
import TileDigiNoiseMonitoringConfig
33 if environment
in (
'online',
'tier0',
'tier0ESD'):
34 msg.info(
'Setup Tile Monitoring for ESD data due to environment: %s', environment)
36 from TileMonitoring.TileCellMonitorAlgorithm
import TileCellMonitoringConfig
39 from TileMonitoring.TileTowerMonitorAlgorithm
import TileTowerMonitoringConfig
42 from TileMonitoring.TileClusterMonitorAlgorithm
import TileClusterMonitoringConfig
45 from TileMonitoring.TileMuIdMonitorAlgorithm
import TileMuIdMonitoringConfig
48 from TileMonitoring.TileJetMonitorAlgorithm
import TileJetMonitoringConfig
51 if flags.IOVDb.DatabaseInstance ==
'CONDBR2' and flags.DQ.triggerDataAvailable:
52 from TileMonitoring.TileTMDBRawChannelMonitorAlgorithm
import TileTMDBRawChannelMonitoringConfig
55 from AthenaConfiguration.Enums
import BeamType
56 if flags.Beam.Type
in [BeamType.Cosmics, BeamType.SingleBeam]:
57 from TileCosmicAlgs.TileMuonFitterConfig
import TileMuonFitterCfg
60 from TileMonitoring.TileMuonFitMonitorAlgorithm
import TileMuonFitMonitoringConfig