ATLAS Offline Software
Loading...
Searching...
No Matches
ReadCombinedRDO.py
Go to the documentation of this file.
12
13
14import AthenaCommon.AtlasUnixStandardJob
15
16
17from AthenaCommon.AlgSequence import AlgSequence
18topSequence = AlgSequence()
19
20
21from AthenaCommon.AppMgr import ServiceMgr as svcMgr
22
23
24from AthenaCommon.AppMgr import theApp
25
26#--------------------------------------------------------------
27# Load POOL support
28#--------------------------------------------------------------
29import AthenaPoolCnvSvc.ReadAthenaPool
30
31#--------------------------------------------------------------
32# Set flags and load det descr
33#--------------------------------------------------------------
34from AthenaCommon.GlobalFlags import globalflags
35from AthenaCommon.DetFlags import DetFlags
36from RecExConfig.RecFlags import rec
37
38# For general flags
39rec.doAOD = False
40rec.doTrigger = False
41rec.doWriteTAG = False
42DetDescrVersion = "ATLAS-GEO-17-00-00"
43
44# Set local flags - only need LAr DetDescr
45DetFlags.detdescr.ID_setOn()
46DetFlags.detdescr.Calo_setOn()
47DetFlags.detdescr.Tile_setOff()
48DetFlags.detdescr.Muon_setOff()
49
50# set up all detector description description
51include ("RecExCond/AllDet_detDescr.py")
52
53# the correct tag should be specified
54from IOVDbSvc.CondDB import conddb
55conddb.setGlobalTag("OFLCOND-SDR-BS7T-04-00")
56
57#--------------------------------------------------------------
58# Input options
59#--------------------------------------------------------------
60
61svcMgr.EventSelector.InputCollections = [ "CombinedRDO.root" ]
62
63#--------------------------------------------------------------
64# Event related parameters
65#--------------------------------------------------------------
66theApp.EvtMax = 20
67#--------------------------------------------------------------
68# Application: AthenaPoolTest InDetRawData options
69#--------------------------------------------------------------
70from AthenaPoolTest.AthenaPoolTestConf import InDetRawDataFakeReader
71topSequence += InDetRawDataFakeReader( "InDetRawDataFakeReader" )
72InDetRawDataFakeReader.OutputLevel = DEBUG
73
74from AthenaPoolTest.AthenaPoolTestConf import LArCellContFakeReader
75topSequence += LArCellContFakeReader( "LArCellContFakeReader" )
76LArCellContFakeReader.OutputLevel = DEBUG
77
78#--------------------------------------------------------------
79# Set output level threshold (2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL )
80#--------------------------------------------------------------
81svcMgr.MessageSvc.OutputLevel = WARNING
82svcMgr.MessageSvc.debugLimit = 100000
83
84from AthenaServices import AthenaServicesConf
85AthenaEventLoopMgr = AthenaServicesConf.AthenaEventLoopMgr()
86AthenaEventLoopMgr.OutputLevel = INFO
87
88# No stats printout
89include( "AthenaPoolTest/NoStats_jobOptions.py" )
90
91#==============================================================
92#
93# End of job options file
94#
95
Test Algorithm for POOL I/O, reads InDetRawData from transient store.
Test Algorithm for POOL I/O uses CaloCellContainer as test data.