3from AthenaConfiguration.AllConfigFlags
import initConfigFlags
4from AthenaConfiguration.ComponentFactory
import CompFactory
8flags = initConfigFlags()
9flags.Common.MsgSuppression =
False
10flags.Input.Files = [
"myStream1.pool.root"]
12flags.Input.RunNumbers = [1]
13flags.Input.ProcessingTags = []
14flags.Input.TypedCollections = []
18from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
19acc = MainServicesCfg(flags)
22from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
23acc.merge( PoolReadCfg(flags) )
25from AthenaPoolCnvSvc.PoolWriteConfig
import PoolWriteCfg
26acc.merge( PoolWriteCfg(flags) )
28acc.addEventAlgo( CompFactory.AthenaPoolTestDataWriter(OutputLevel = DEBUG,
30 ReadOtherHalf =
True),
31 sequenceName =
'AthAlgSeq' )
33from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
34acc.merge( OutputStreamCfg(
36 streamName =
"Stream4",
37 disableEventTag =
True,
38 ItemList = [
"EventInfo#*",
40 "IAthenaPoolTestCollection#AthenaPoolTestCollection_1",
41 "IAthenaPoolTestCollection#AthenaPoolTestCollection_2",
42 "IAthenaPoolTestCollection#AthenaPoolTestCollection_3",
43 "AthenaPoolTestMatrix#*"]) )
47sc = acc.run(flags.Exec.MaxEvents)
48sys.exit(sc.isFailure())