14import AthenaCommon.AtlasUnixGeneratorJob
17from AthenaCommon.AlgSequence
import AlgSequence
18topSequence = AlgSequence()
21from AthenaCommon.AppMgr
import ServiceMgr
as svcMgr
24from AthenaCommon.AppMgr
import theApp
29import AthenaPoolCnvSvc.WriteAthenaPool
41svcMgr.EventSelector.RunNumber = 1
42svcMgr.EventSelector.EventsPerRun = 0x10000000000
43svcMgr.EventSelector.FirstEvent = 0x100000000
44svcMgr.EventSelector.EventsPerLB = 1
45svcMgr.EventSelector.FirstLB = 1
46svcMgr.EventSelector.InitialTimeStamp = 0
47svcMgr.EventSelector.TimeStampInterval = 5
50svcMgr.EventSelector.OutputLevel = DEBUG
57from AthenaPoolTest.AthenaPoolTestConf
import AthenaPoolTestDataWriter
59AthenaPoolTestDataWriter.OutputLevel = DEBUG
65include(
"EventAthenaPool/EventAthenaPoolItemList_joboptions.py" )
66include(
"AthenaPoolTestAthenaPool/AthenaPoolTestAthenaPoolItemList_joboptions.py" )
69from AthenaPoolCnvSvc.WriteAthenaPool
import AthenaPoolOutputStream
72Stream1 = AthenaPoolOutputStream(
"Stream1", noTag=
True )
73Stream1.OutputFile =
"SimplePoolFile1.root"
75Stream1.ItemList += fullItemList
78Stream2 = AthenaPoolOutputStream(
"Stream2", noTag=
True )
79Stream2.OutputFile =
"SimplePoolFile2.root"
81Stream2.ItemList += fullItemList
84Stream1.ItemList = [ o
for o
in Stream1.ItemList
if not o
in 'dummy_A#*' ]
85Stream1.ItemList = [ o
for o
in Stream1.ItemList
if not o
in 'IAthenaPoolTestCollection#*' ]
88Stream2.ItemList = [ o
for o
in Stream2.ItemList
if not o
in 'dummy_E#*' ]
89Stream2.ItemList = [ o
for o
in Stream2.ItemList
if not o
in 'AthenaPoolTestMatrix#*' ]
91printfunc (
"Stream1.ItemList ",Stream1.ItemList)
92printfunc (
"Stream2.ItemList ",Stream2.ItemList)
95from PoolSvc
import PoolSvcConf
96PoolSvc = PoolSvcConf.PoolSvc()
97PoolSvc.WriteCatalog =
'file:AthenaPoolTestWriteDoubleSelector_catalog.xml'
102svcMgr.MessageSvc.OutputLevel = WARNING
103svcMgr.MessageSvc.debugLimit = 100000
105from AthenaServices
import AthenaServicesConf
106AthenaEventLoopMgr = AthenaServicesConf.AthenaEventLoopMgr()
107AthenaEventLoopMgr.OutputLevel = INFO
110include(
"AthenaPoolTest/NoStats_jobOptions.py" )
Test Algorithm POOL I/O tests, writes AthenaPoolData objects to the transient store.