ATLAS Offline Software
Loading...
Searching...
No Matches
readGenEventFromPool.py
Go to the documentation of this file.
9theApp.EvtMax = 5
10#--------------------------------------------------------------
11# Load POOL support
12#--------------------------------------------------------------
13import AthenaPoolCnvSvc.ReadAthenaPool
14svcMgr.EventSelector.InputCollections = ["mc.event.pool"]
15
16#--------------------------------------------------------------
17# Private Application Configuration options
18#--------------------------------------------------------------
19# Load "user algorithm"
20#top algorithms to be run, and the libraries that house them
21from AthenaCommon.AlgSequence import AlgSequence
22job = AlgSequence()
23job += CfgMgr.DumpMC("DumpMC")
24
25#--------------------------------------------------------------
26# Output options
27#--------------------------------------------------------------
28import AthenaPoolCnvSvc.WriteAthenaPool
29job += CfgMgr.AthenaOutputStream(
30 "OutStream",
31 WritingTool = "AthenaOutputStreamTool"
32 )
33job.OutStream.ItemList += [
34 "EventInfo#*",
35 "McEventCollection#*"
36 ]
37job.OutStream.OutputFile = "reaccessed.mc.event.pool"
38
39#--------------------------------------------------------------
40# Set output level threshold (2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL )
41#--------------------------------------------------------------
42svcMgr.MessageSvc.OutputLevel = 2
43#==============================================================
44#
45# End of job options file
46#
47