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