15 import AthenaCommon.AtlasUnixStandardJob
18 from AthenaCommon.AlgSequence
import AlgSequence
22 from AthenaCommon.AppMgr
import theApp
25 from AthenaCommon.AppMgr
import ServiceMgr
as svcMgr
28 from OverlayCommonAlgs.OverlayFlags
import overlayFlags
29 overlayFlags.isDataOverlay.set_Value_and_Lock(
False)
30 overlayFlags.isOverlayMT.set_Value_and_Lock(
True)
35 import AthenaPoolCnvSvc.ReadAthenaPoolDouble
36 import AthenaPoolCnvSvc.WriteAthenaPool
43 svcMgr.EventSelector.InputCollections = [
"SimplePoolFile1.root" ]
44 svcMgr.SecondaryEventSelector.InputCollections = [
"SimplePoolFile2.root" ]
46 svcMgr.EventSelector.OutputLevel = DEBUG
47 svcMgr.SecondaryEventSelector.OutputLevel = DEBUG
57 from AthenaPoolTest.AthenaPoolTestConf
import AthenaPoolTestDataWriter
58 topSequence += AthenaPoolTestDataWriter(
"AthenaPoolTestDataWriter" )
59 AthenaPoolTestDataWriter.PartialCreate =
True
60 AthenaPoolTestDataWriter.ReadOtherHalf =
True
66 include(
"EventAthenaPool/EventAthenaPoolItemList_joboptions.py" )
67 include(
"AthenaPoolTestAthenaPool/AthenaPoolTestAthenaPoolItemList_joboptions.py" )
71 from AthenaPoolCnvSvc.WriteAthenaPool
import AthenaPoolOutputStream
75 topSequence += Stream3
77 theApp.OutStream = [];
79 Stream3.WritingTool =
"AthenaOutputStreamTool"
80 Stream3.OutputFile =
"SimplePoolFile3.root"
83 Stream3.ItemList += [
"EventInfo#*"]
85 Stream3.ItemList += [
"IAthenaPoolTestCollection#AthenaPoolTestCollection_1"]
86 Stream3.ItemList += [
"IAthenaPoolTestCollection#AthenaPoolTestCollection_2"]
87 Stream3.ItemList += [
"IAthenaPoolTestCollection#AthenaPoolTestCollection_3"]
88 Stream3.ItemList += [
"AthenaPoolTestMatrix#*"]
90 print(Stream3.ItemList)
93 from PoolSvc
import PoolSvcConf
94 PoolSvc = PoolSvcConf.PoolSvc()
95 PoolSvc.ReadCatalog = [
'file:AthenaPoolTestWriteDoubleSelector_catalog.xml']
96 PoolSvc.WriteCatalog =
'file:AthenaPoolTestStep2WriteDoubleSelector_catalog.xml'
102 svcMgr.MessageSvc.OutputLevel = WARNING
103 svcMgr.MessageSvc.debugLimit = 100000
104 AthenaPoolTestDataWriter.OutputLevel = DEBUG
106 from AthenaServices
import AthenaServicesConf
107 AthenaEventLoopMgr = AthenaServicesConf.AthenaEventLoopMgr()
108 AthenaEventLoopMgr.OutputLevel = INFO
109 AthenaEventLoopMgr.UseSecondaryEventNumber =
True
110 svcMgr += AthenaEventLoopMgr
113 include(
"AthenaPoolTest/NoStats_jobOptions.py" )