ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Generators
GeneratorObjectsAthenaPool
share
readGenEventFromPool.py
Go to the documentation of this file.
1
9
theApp.EvtMax = 5
10
#--------------------------------------------------------------
11
# Load POOL support
12
#--------------------------------------------------------------
13
import
AthenaPoolCnvSvc.ReadAthenaPool
14
svcMgr.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
21
from
AthenaCommon.AlgSequence
import
AlgSequence
22
job = AlgSequence()
23
job += CfgMgr.DumpMC(
"DumpMC"
)
24
25
#--------------------------------------------------------------
26
# Output options
27
#--------------------------------------------------------------
28
import
AthenaPoolCnvSvc.WriteAthenaPool
29
job += CfgMgr.AthenaOutputStream(
30
"OutStream"
,
31
WritingTool =
"AthenaOutputStreamTool"
32
)
33
job.OutStream.ItemList += [
34
"EventInfo#*"
,
35
"McEventCollection#*"
36
]
37
job.OutStream.OutputFile =
"reaccessed.mc.event.pool"
38
39
#--------------------------------------------------------------
40
# Set output level threshold (2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL )
41
#--------------------------------------------------------------
42
svcMgr.MessageSvc.OutputLevel = 2
43
#==============================================================
44
#
45
# End of job options file
46
#
47
Generated on
for ATLAS Offline Software by
1.17.0