ATLAS Offline Software
PileUpEventInfoRead.py
Go to the documentation of this file.
1 
12 
13 
14 import AthenaCommon.AtlasUnixStandardJob
15 
16 
17 from AthenaCommon.AlgSequence import AlgSequence
18 topSequence = AlgSequence()
19 
20 
21 from AthenaCommon.AppMgr import ServiceMgr as svcMgr
22 
23 
24 from AthenaCommon.AppMgr import theApp
25 
26 #--------------------------------------------------------------
27 # Load POOL support
28 #--------------------------------------------------------------
29 import AthenaPoolCnvSvc.ReadAthenaPool
30 
31 #--------------------------------------------------------------
32 # Define the output Db parameters (the default value are shown)
33 #--------------------------------------------------------------
34 
35 svcMgr.EventSelector.InputCollections = [ "SimplePoolFile.root" ]
36 
37 #--------------------------------------------------------------
38 # Event related parameters
39 #--------------------------------------------------------------
40 theApp.EvtMax = 5
41 #--------------------------------------------------------------
42 # Application: AthenaPoolTest options
43 #--------------------------------------------------------------
44 # Load "user algorithm" top algorithms to be run, and the libraries that house them
45 from AthenaPoolTest.AthenaPoolTestConf import PileUpEventInfoReader
46 topSequence += PileUpEventInfoReader( "PileUpEventInfoReader" )
47 
48 #--------------------------------------------------------------
49 # Input options
50 #--------------------------------------------------------------
51 
52 #--------------------------------------------------------------
53 # Set output level threshold (2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL )
54 #--------------------------------------------------------------
55 svcMgr.MessageSvc.OutputLevel = WARNING
56 svcMgr.MessageSvc.debugLimit = 100000
57 PileUpEventInfoReader.OutputLevel = DEBUG
58 
59 # No stats printout
60 include( "AthenaPoolTest/NoStats_jobOptions.py" )
61 
62 #==============================================================
63 #
64 # End of job options file
65 #
66 
python.AlgSequence.AlgSequence
AlgSequence
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py:7
python.Include.include
include
Definition: Include.py:318