3 from AthenaConfiguration.ComponentFactory
import CompFactory
4 from LumiBlockComps.BunchCrossingIntensityCondAlgConfig
import BunchCrossingIntensityCondAlgCfg
5 from IOVDbSvc.IOVDbSvcConfig
import IOVDbSvcCfg
6 from LumiBlockComps.dummyLHCFillDB
import createSqliteForInt,fillFolderForInt,createBCMask1,createBCMask2
14 os.remove(
"testInt.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
46 FirstEvent=1183722158,
56 result.getService(
"IOVDbSvc").Folders=[
"<db>sqlite://;schema=testInt.db;dbname=CONDBR2</db><tag>HEAD</tag>/TDAQ/OLC/LHC/BUNCHDATA"]
57 result.getCondAlgo(
"BunchCrossingIntensityCondAlgDefault").OutputLevel=1
59 BunchCrossingIntensityCondTest=CompFactory.BunchCrossingIntensityCondTest