ATLAS Offline Software
Loading...
Searching...
No Matches
TrigOnlineMonitorConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4from AthenaConfiguration.ComponentFactory import CompFactory
5from MagFieldServices.MagFieldServicesConfig import AtlasFieldCacheCondAlgCfg
6
7
8def trigOpMonitorCfg(flags):
9 cfg = ComponentAccumulator()
10 opmon = CompFactory.TrigOpMonitor(
11 LuminosityCondDataKey = 'LuminosityCondData',
12 AtlasFieldMapCondDataKey = 'fieldMapCondObj' )
13
14 cfg.merge( AtlasFieldCacheCondAlgCfg(flags) )
15 cfg.addEventAlgo( opmon )
16 return cfg