3from AthenaConfiguration.AllConfigFlags
import initConfigFlags
4from AthenaConfiguration.ComponentFactory
import CompFactory
8flags = initConfigFlags()
9flags.Common.MsgSuppression =
False
10flags.Input.Files = [
"myStream1.pool.root"]
11flags.Input.ProcessingTags = []
15from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
16acc = MainServicesCfg(flags)
19from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
20acc.merge( PoolReadCfg(flags) )
22acc.addEventAlgo( CompFactory.AthenaPoolTestDataReader(OutputLevel = DEBUG),
23 sequenceName =
'AthAlgSeq' )
27sc = acc.run(flags.Exec.MaxEvents)
28sys.exit(sc.isFailure())