ATLAS Offline Software
TBReadH6BS_Calib_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 
9 # H6:
10 # include( "ByteStreamCnvSvc/ByteStreamSelector_jobOptions.py")
11 include( "ByteStreamCnvSvc/TBEventSelector_jobOptions.py" )
12 
13 include( "ByteStreamCnvSvcBase/BSAddProvSvc_RDO_jobOptions.py" )
14 
15 theApp.Dlls +=["TBCnv", "DBDataModelAthenaPoolPoolCnv"]
16 #StreamBS = Algorithm( "StreamBS" )
17 #StreamBS.ItemList += ["TBEventInfo#*"]
18 #StreamBS.ItemList += ["TBLArDigitContainer#*"]
19 #StreamBS.ItemList += ["TBLArCalibDigitContainer#*"]
20 
21 from LArCabling.LArCablingAccess import LArCalibIdMapping
22 LArCablibIdMapping()
23 
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 ToolSvc.TBByteStreamCnvTool.Keys += ["TBLArCalibDigitContainer/FREE"]
47 ToolSvc.TBByteStreamCnvTool.Keys += ["TBLArCalibDigitContainer/LOW"]
48 ToolSvc.TBByteStreamCnvTool.Keys += ["TBLArCalibDigitContainer/HIGH"]
49 ToolSvc.TBByteStreamCnvTool.Keys += ["TBLArCalibDigitContainer/MEDIUM"]
50 
51 svcMgr.ByteStreamAddressProviderSvc.TypeNames += ToolSvc.TBByteStreamCnvTool.Keys
52 
53 # ByteStreamAddressProviderSvc.TypeNames += ["TBTDC/TBTDC"]
54 # ByteStreamAddressProviderSvc.TypeNames += ["TBTDCRawCont/TDCRawCont"]
55 # ByteStreamAddressProviderSvc.TypeNames += ["TBADCRawCont/ADCRawCont"]
56 # ByteStreamAddressProviderSvc.TypeNames += ["TBScintillatorRawCont/ScintillatorRawCont"]
57 # ByteStreamAddressProviderSvc.TypeNames += ["TBBPCRawCont/BPCRawCont"]
58 # ByteStreamAddressProviderSvc.TypeNames += ["TBTriggPatternUnit/TBTrigPat"]
59 # ByteStreamAddressProviderSvc.TypeNames += ["TBTailCatcherRaw/TailCatcherRaw"]
60 
61 #force creation of Converter in init
62 # ByteStreamCnvSvc = Service( "ByteStreamCnvSvc" )
63 # ByteStreamCnvSvc.InitCnvs += [ "TBTDC",
64 # "TBBPCRawCont",
65 # "TBTriggPatternUnit"
66 # ] ;
67 # theApp.ExtSvc += [ "ByteStreamCnvSvc" ]
68 
python.Include.include
include
Definition: Include.py:318