18 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
19 from AthenaConfiguration.ComponentFactory
import CompFactory
24 flags.Input.Files = [
"SimplePoolFile1.root"]
25 flags.Exec.MaxEvents = -1
26 flags.Common.MsgSuppression =
False
27 flags.Exec.DebugMessageComponents = [
"EventSelector",
"CondProxyProvider",
28 "PoolSvc",
"AthenaPoolAddressProviderSvc",
"MetaDataSvc"]
32 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
35 from AthenaPoolExampleAlgorithms.AthenaPoolExampleConfig
import AthenaPoolExampleReadCfg
38 acc.addService( CompFactory.CondProxyProvider(
"CondProxyProvider",
39 InputCollections = [
"SimplePoolFile4.root"]
41 acc.getService(
"ProxyProviderSvc").ProviderNames += [
"CondProxyProvider"]
44 acc.addEventAlgo( CompFactory.AthPoolEx.ReadData(
"ReadData", OutputLevel = DEBUG) )
45 acc.addEventAlgo( CompFactory.AthPoolEx.ReadCond(
"ReadCond", OutputLevel = DEBUG) )
49 sc = acc.run(flags.Exec.MaxEvents)
50 sys.exit(sc.isFailure())