6 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
7 from AthenaConfiguration.ComponentFactory
import CompFactory
8 from IOVDbSvc.IOVDbSvcConfig
import addFolders
9 from pathlib
import Path
12 """Configure conditions reader"""
17 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
18 cfg.merge(
SGInputLoaderCfg(flags, [(
'xAOD::EventInfo',
'StoreGateSvc+EventInfo')]))
21 Path(
'cond.db').touch()
24 cfg.merge(
addFolders(flags, [
'/DMTest/TestAttrList',
'/DMTest/TestAttrListTime'],
27 className=
'AthenaAttributeList') )
30 cfg.addEventAlgo( CompFactory.DMTest.CondReaderAlg(
"CondReaderAlg1",
31 AttrListKey =
"/DMTest/TestAttrList",
33 cfg.addEventAlgo( CompFactory.DMTest.CondReaderAlg(
"CondReaderAlg2",
34 AttrListKey =
"/DMTest/TestAttrListTime",
37 cfg.addCondAlgo( CompFactory.DMTest.CondAlg1() )