5 from AthenaConfiguration.ComponentFactory
import CompFactory
8 '''Function to configures some algorithms in the monitoring system.'''
13 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
16 from MuonConfig.MuonGeometryConfig
import MuonGeoModelCfg
23 from AthenaMonitoring
import AthMonitorCfgHelper
24 helper = AthMonitorCfgHelper(inputFlags,
'NSWAthMonitorCfg')
28 nswMonAlg = helper.addAlgorithm(CompFactory.NSWDataMonAlg,
'NSWMonAlg')
29 nswMonAlg.DoESD =
True
36 if __name__==
'__main__':
40 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
44 "/eos/atlas/atlastier0/rucio/data23_hi/express_express/00463414/data23_hi.00463414.express_express.recon.ESD.x798/data23_hi.00463414.express_express.recon.ESD.x798._lb0501._SFO-ALL._0001.1",
46 flags.Output.HISTFileName =
'monitor_nsw.root'
48 flags.Detector.GeometryMM=
True
49 flags.DQ.useTrigger=
False
50 flags.Input.isMC =
False
51 if not flags.Input.isMC:
52 flags.IOVDb.GlobalTag =
"CONDBR2-BLKPA-2022-10"
57 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
58 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
63 nswMonitorAcc.OutputLevel=DEBUG
64 cfg.merge(nswMonitorAcc)