ATLAS Offline Software
TBReadH6BS_EventStorage_jobOptions.py
Go to the documentation of this file.
1 #**************************************************************
2 #
3 # jopOptions file for reading EventStorage
4 #
5 #==============================================================
6 # Input
7 ToolSvc = Service( "ToolSvc" )
8 #from AthenaCommon.AppMgr import ToolSvc
9 
10 # H6:
11 #include( "ByteStreamCnvSvc/ByteStreamSelector_jobOptions.py")
12 include( "ByteStreamCnvSvc/TBEventSelector_jobOptions.py" )
13 
14 include( "ByteStreamCnvSvcBase/BSAddProvSvc_RDO_jobOptions.py" )
15 
16 
17 from LArCabling.LArCablingAccess import LArCalibIdMapping
18 LArCablibIdMapping()
19 
20 theApp.Dlls +=["TBCnv", "DBDataModelAthenaPoolPoolCnv" ]
21 #StreamBS.ItemList +=["TBTDC#*"];
22 #StreamBS.ItemList +=["TBBPCRawCont#*"];
23 #StreamBS.ItemList +=["TBTriggerPatternUnit#*"];
24 from TBCnv.TBCnvConf import TBByteStreamCnvTool
25 ToolSvc += TBByteStreamCnvTool()
26 ToolSvc.TBByteStreamCnvTool.ForceHchoice = TRUE
27 ToolSvc.TBByteStreamCnvTool.isH6Run = TRUE
28 ToolSvc.TBByteStreamCnvTool.isH8Run = FALSE
29 #ToolSvc.TBByteStreamCnvTool.SubDetID = 118 # = 0x76
30 #ToolSvc.TBByteStreamCnvTool.SubDetID = 112 # = 0x70
31 #ToolSvc.TBByteStreamCnvTool.SubDetID = 129 # = 0x81
32 ToolSvc.TBByteStreamCnvTool.SubDetID = 112
33 ToolSvc.TBByteStreamCnvTool.Keys += ["TBTDC/TBTDC"]
34 ToolSvc.TBByteStreamCnvTool.Keys += ["TBTDCRawCont/TDCRawCont"]
35 ToolSvc.TBByteStreamCnvTool.Keys += ["TBADCRawCont/ADCRawCont"]
36 ToolSvc.TBByteStreamCnvTool.Keys += ["TBScintillatorRawCont/ScintillatorRawCont"]
37 ToolSvc.TBByteStreamCnvTool.Keys += ["TBBPCRawCont/BPCRawCont"]
38 ToolSvc.TBByteStreamCnvTool.Keys += ["TBMWPCRawCont/MWPCRawCont"]
39 ToolSvc.TBByteStreamCnvTool.Keys += ["TBTriggerPatternUnit/TBTrigPat"]
40 ToolSvc.TBByteStreamCnvTool.Keys += ["TBTailCatcherRaw/TailCatcherRaw"]
41 ToolSvc.TBByteStreamCnvTool.Keys += ["TBEventInfo/TBEventInfo"]
42 ToolSvc.TBByteStreamCnvTool.Keys += ["TBLArDigitContainer/FREE"]
43 ToolSvc.TBByteStreamCnvTool.Keys += ["TBLArDigitContainer/LOW"]
44 ToolSvc.TBByteStreamCnvTool.Keys += ["TBLArDigitContainer/HIGH"]
45 ToolSvc.TBByteStreamCnvTool.Keys += ["TBLArDigitContainer/MEDIUM"]
46 
47 svcMgr.ByteStreamAddressProviderSvc.TypeNames += ToolSvc.TBByteStreamCnvTool.Keys
48 
49 # ByteStreamAddressProviderSvc.TypeNames += ["TBTDC/TBTDC"]
50 # ByteStreamAddressProviderSvc.TypeNames += ["TBTDCRawCont/TDCRawCont"]
51 # ByteStreamAddressProviderSvc.TypeNames += ["TBADCRawCont/ADCRawCont"]
52 # ByteStreamAddressProviderSvc.TypeNames += ["TBScintillatorRawCont/ScintillatorRawCont"]
53 # ByteStreamAddressProviderSvc.TypeNames += ["TBBPCRawCont/BPCRawCont"]
54 # ByteStreamAddressProviderSvc.TypeNames += ["TBTriggPatternUnit/TBTrigPat"]
55 # ByteStreamAddressProviderSvc.TypeNames += ["TBTailCatcherRaw/TailCatcherRaw"]
56 
57 #force creation of Converter in init
58 # ByteStreamCnvSvc = Service( "ByteStreamCnvSvc" )
59 # ByteStreamCnvSvc.InitCnvs += [ "TBTDC",
60 # "TBBPCRawCont",
61 # "TBTriggPatternUnit"
62 # ] ;
63 # theApp.ExtSvc += [ "ByteStreamCnvSvc" ]
64 
python.FakeAthena.Service
def Service(name)
Definition: FakeAthena.py:38
python.Include.include
include
Definition: Include.py:319