3 from AthenaConfiguration
import AllConfigFlags, MainServicesConfig
4 from AthenaConfiguration.ComponentFactory
import CompFactory
5 from OutputStreamAthenaPool.OutputStreamConfig
import (
13 if inputFiles
is None:
16 flags = AllConfigFlags.initConfigFlags()
17 flags.Input.Files = inputFiles
18 flags.Concurrency.NumThreads = 8
19 flags.Exec.MaxEvents = eventsPerFile
33 acc = MainServicesConfig.MainServicesCfg(flags)
35 for i
in range(numberOfStreams):
39 streamName=f
"{streamName}{i}",
48 streamName=f
"{streamName}{i}",
50 f
"xAOD::EventFormat#EventFormat{outputStreamName(streamName)}{i}",
51 "xAOD::FileMetaData#FileMetaData",
52 "xAOD::FileMetaDataAuxInfo#FileMetaDataAux.",
55 CompFactory.xAODMaker.EventFormatStreamHelperTool(
56 f
"{outputStreamName(streamName)}{i}_EventFormatStreamHelperTool",
57 Key=f
"EventFormat{outputStreamName(streamName)}{i}",
58 DataHeaderKey=f
"{outputStreamName(streamName)}{i}",
59 TypeNames=[
".*xAODMakerTest::.*"],
62 CompFactory.xAODMaker.FileMetaDataCreatorTool(
63 f
"{outputStreamName(streamName)}{i}_FileMetaDataCreatorTool",
64 OutputKey=
"FileMetaData",
65 StreamName=f
"{outputStreamName(streamName)}{i}",