3 from AthenaConfiguration.ComponentFactory
import CompFactory
4 from LumiBlockComps.BunchCrossingAverageCondAlgConfig
import BunchCrossingAverageCondAlgCfg
5 from IOVDbSvc.IOVDbSvcConfig
import IOVDbSvcCfg
6 from LumiBlockComps.dummyLHCFillDB
import createSqliteForAvg,fillFolderForAvg,createBCMask1,createBCMask2
14 os.remove(
"testAVG.db")
30 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
31 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
34 flags.Input.isMC=
False
35 flags.IOVDb.DatabaseInstance=
"CONDBR2"
36 flags.IOVDb.GlobalTag=
"CONDBR2-BLKPA-2017-05"
37 from AthenaConfiguration.TestDefaults
import defaultGeometryTags
38 flags.GeoModel.AtlasVersion=defaultGeometryTags.RUN2
42 from McEventSelector.McEventSelectorConfig
import McEventSelectorCfg
47 FirstEvent=1183722158,
55 result.getService(
"IOVDbSvc").Folders=[
"<db>sqlite://;schema=testAVG.db;dbname=CONDBR2</db><tag>HEAD</tag>/TDAQ/OLC/LHC/LBDATA3"]
56 result.getCondAlgo(
"BunchCrossingAverageCondAlgDefault").OutputLevel=1
57 BunchCrossingAverageCondTest=CompFactory.BunchCrossingAverageCondTest