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