3from AthenaConfiguration.AllConfigFlags
import initConfigFlags
4from AthenaConfiguration.ComponentFactory
import CompFactory
8flags = initConfigFlags()
9flags.Common.MsgSuppression =
False
10flags.Exec.MaxEvents = 2
16from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
17acc = MainServicesCfg(flags)
19from McEventSelector.McEventSelectorConfig
import McEventSelectorCfg
20acc.merge( McEventSelectorCfg(flags,
22 EventsPerRun = 0x100000010,
23 FirstEvent = 0x100000000,
27 TimeStampInterval = 5) )
30acc.addEventAlgo( CompFactory.AthenaPoolTestDataWriter(OutputLevel = DEBUG),
31 sequenceName =
'AthAlgSeq' )
33from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
34acc.merge( OutputStreamCfg(flags, stream, disableEventTag =
True,
35 ItemList = [
'EventInfo#*',
'EventStreamInfo#*',
36 'MergedEventInfo#*',
'PileUpEventInfo#*',
37 'IAthenaPoolTestCollection#*',
38 'AthenaPoolTestMatrix#*',
'AthenaPoolTestMap#*',
39 'dummy_A#*',
'dummy_E#*']) )
43sc = acc.run(flags.Exec.MaxEvents)
44sys.exit(sc.isFailure())