1import AthenaCommon.AtlasUnixGeneratorJob
3from AthenaCommon.AlgSequence
import AlgSequence
4topSequence = AlgSequence()
7from AthenaCommon.AppMgr
import theApp
11from AthenaCommon.AppMgr
import ServiceMgr
as svcMgr
12svcMgr.EventSelector.RunNumber = 1
14from AthenaPoolExampleAlgorithms.AthenaPoolExampleAlgorithmsConf
import AthPoolEx__WriteData
15topSequence += AthPoolEx__WriteData(
"WriteData" )
18from AthenaRootComps.OutputStreamAthenaRoot
import createOutputStream
19Stream1 = createOutputStream(
"Stream1" ,
"SimpleRootFile.root" ,
True )
20Stream1.ItemList += [
"ExampleHitContainer#MyHits" ]
22from AthenaPoolCnvSvc.WriteAthenaPool
import AthenaPoolOutputStream
23Stream2 = AthenaPoolOutputStream(
"Stream2" ,
"SimplePoolFile.root" ,
True )
24Stream2.ItemList += [
"ExampleHitContainer#MyHits" ]
26svcMgr.MessageSvc.OutputLevel = 0