17 inputFiles=[
"Test0.pool.root"],
20 streamName =
"ReadWriteTest"
21 for i
in range(numberOfStreams):
23 f
"Output.{streamName}{i}FileName",
24 f
"{streamName}{i}.pool.root",
26 flags.addFlag(f
"Output.doWrite{streamName}{i}",
True)
31 "xAODMakerTest::AVec#TestObject",
32 "xAODMakerTest::AAuxContainer#TestObjectAux.",
33 "xAODMakerTest::AVec#TestObject2",
34 "xAODMakerTest::AAuxContainer#TestObject2Aux.",
35 "xAOD::EventInfo#EventInfo",
36 "xAOD::EventAuxInfo#EventInfoAux.",
41 streamName=
"ReadWriteTest",
43 numberOfStreams=numberOfStreams,
47 CompFactory.xAODMakerTest.ACreatorAlg(
"ACreator", OutputKey=
"TestObject2")
55 CompFactory.xAODMaker.EventFormatMetaDataTool(
56 "EventFormatMetaDataTool",
59 "EventFormatStreamTest0",
64 CompFactory.xAODMaker.FileMetaDataTool(
71 acc.addEventAlgo(CompFactory.xAODMakerTest.EventFormatPrinterAlg())
73 CompFactory.xAODMakerTest.ACreatorAlg(
"ACreator", OutputKey=
"TestObject2")
75 acc.run(flags.Exec.MaxEvents)