3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
5 from IOVDbSvc.IOVDbSvcConfig
import IOVDbSvcCfg
6 from LumiBlockComps.dummyLHCFillDB
import createSqliteForInt,fillFolderForInt,createBCMask1,createBCMask2
13 run1=(configFlags.IOVDb.DatabaseInstance==
'COMP200')
14 from IOVDbSvc.IOVDbSvcConfig
import addFolders
17 folder =
'/TDAQ/OLC/LHC/BUNCHDATA'
18 result.merge(
addFolders(configFlags,folder,
'TDAQ',className =
'CondAttrListCollection',tag=
'HEAD'))
19 alg = CompFactory.BunchCrossingIntensityCondAlg(
'BunchCrossingIntensityCondAlgDefault',
21 FillParamsFolderKey =folder,
24 result.addCondAlgo(alg)
30 if __name__==
"__main__":
31 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
33 flags.Input.Files = []
34 flags.Input.isMC=
False
35 flags.IOVDb.DatabaseInstance=
"CONDBR2"
36 flags.IOVDb.GlobalTag=
"CONDBR2-BLKPA-2017-05"
39 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
42 from McEventSelector.McEventSelectorConfig
import McEventSelectorCfg
63 FirstEvent=1183722158,
73 result.getService(
"IOVDbSvc").Folders=[
"<db>sqlite://;schema=testInt.db;dbname=CONDBR2</db><tag>HEAD</tag>/TDAQ/OLC/LHC/BUNCHDATA"]
74 BunchCrossingIntensityCondTest=CompFactory.BunchCrossingIntensityCondTest