3 from AthenaConfiguration.ComponentFactory
import CompFactory
4 from xAODEventInfoCnv.xAODEventInfoCnvConfig
import EventInfoCnvAlgCfg
5 from xAODEventFormatCnv.EventFormatTestConfig
import (
7 EventFormatTestOutputCfg,
9 from AthenaServices.MetaDataSvcConfig
import MetaDataSvcCfg
16 for i
in range(numberOfStreams):
18 f
"Output.{streamName}{i}FileName",
19 f
"{streamName}{i}.pool.root",
21 flags.addFlag(f
"Output.doWrite{streamName}{i}",
True)
28 "xAODMakerTest::AVec#TestObject",
29 "xAODMakerTest::AAuxContainer#TestObjectAux.",
30 "xAOD::EventInfo#EventInfo",
31 "xAOD::EventAuxInfo#EventInfoAux.",
35 CompFactory.xAODMakerTest.ACreatorAlg(
"ACreator", OutputKey=
"TestObject"),
36 sequenceName=
"AthAlgSeq",
43 "xAODMaker::EventFormatMetaDataTool",
44 "xAODMaker::FileMetaDataTool",
48 acc.run(flags.Exec.MaxEvents)
51 if __name__ ==
"__main__":