ATLAS Offline Software
ReadCombinedRDO.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 # Set flags and load det descr
33 #--------------------------------------------------------------
34 from AthenaCommon.GlobalFlags import globalflags
35 from AthenaCommon.DetFlags import DetFlags
36 from RecExConfig.RecFlags import rec
37 
38 # For general flags
39 rec.doAOD = False
40 rec.doTrigger = False
41 rec.doWriteTAG = False
42 DetDescrVersion = "ATLAS-GEO-17-00-00"
43 
44 # Set local flags - only need LAr DetDescr
45 DetFlags.detdescr.ID_setOn()
46 DetFlags.detdescr.Calo_setOn()
47 DetFlags.detdescr.Tile_setOff()
48 DetFlags.detdescr.Muon_setOff()
49 
50 # set up all detector description description
51 include ("RecExCond/AllDet_detDescr.py")
52 
53 # the correct tag should be specified
54 from IOVDbSvc.CondDB import conddb
55 conddb.setGlobalTag("OFLCOND-SDR-BS7T-04-00")
56 
57 #--------------------------------------------------------------
58 # Input options
59 #--------------------------------------------------------------
60 
61 svcMgr.EventSelector.InputCollections = [ "CombinedRDO.root" ]
62 
63 #--------------------------------------------------------------
64 # Event related parameters
65 #--------------------------------------------------------------
66 theApp.EvtMax = 20
67 #--------------------------------------------------------------
68 # Application: AthenaPoolTest InDetRawData options
69 #--------------------------------------------------------------
70 from AthenaPoolTest.AthenaPoolTestConf import InDetRawDataFakeReader
71 topSequence += InDetRawDataFakeReader( "InDetRawDataFakeReader" )
72 InDetRawDataFakeReader.OutputLevel = DEBUG
73 
74 from AthenaPoolTest.AthenaPoolTestConf import LArCellContFakeReader
75 topSequence += LArCellContFakeReader( "LArCellContFakeReader" )
76 LArCellContFakeReader.OutputLevel = DEBUG
77 
78 #--------------------------------------------------------------
79 # Set output level threshold (2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL )
80 #--------------------------------------------------------------
81 svcMgr.MessageSvc.OutputLevel = WARNING
82 svcMgr.MessageSvc.debugLimit = 100000
83 
84 from AthenaServices import AthenaServicesConf
85 AthenaEventLoopMgr = AthenaServicesConf.AthenaEventLoopMgr()
86 AthenaEventLoopMgr.OutputLevel = INFO
87 
88 # No stats printout
89 include( "AthenaPoolTest/NoStats_jobOptions.py" )
90 
91 #==============================================================
92 #
93 # End of job options file
94 #
95 
python.AlgSequence.AlgSequence
AlgSequence
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py:7
python.Include.include
include
Definition: Include.py:319