36 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
37 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg, outputStreamName
40 outputFileName =
"SimplePoolReplica1.root"
45 flags.Input.Files = [
"SimplePoolFile1.root" ]
46 flags.addFlag(f
"Output.{streamName}FileName", outputFileName)
47 flags.Exec.MaxEvents = -1
48 flags.Common.MsgSuppression =
False
50 "PoolSvc",
"AthenaPoolCnvSvc",
"AthenaPoolAddressProviderSvc",
"MetaDataSvc" ]
54 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
58 from AthenaPoolExampleAlgorithms.AthenaPoolExampleConfig
import AthenaPoolExampleReadCfg, AthenaPoolExampleWriteCfg
61 writeCatalog =
"file:Catalog1.xml",
62 disableEventTag = noTag) )
65 from xAODEventInfoCnv.xAODEventInfoCnvConfig
import EventInfoCnvAlgCfg
69 ItemList = [
"EventInfo#*",
"ExampleHitContainer#MyHits"])
71 stream.ExtendProvenanceRecord =
False
72 stream.ExcludeList += [
"xAOD::EventInfo#*",
"xAOD::EventAuxInfo#*"]
77 sc = acc.run(flags.Exec.MaxEvents)
78 sys.exit(sc.isFailure())