ATLAS Offline Software
TBReadH6BS_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 # H6:
10 include( "ByteStreamCnvSvc/ByteStreamSelector_jobOptions.py")
11 
12 include( "ByteStreamCnvSvcBase/BSAddProvSvc_RDO_jobOptions.py" )
13 
14 
15 
16 theApp.Dlls +=["TBCnv"]
17 StreamBS = Algorithm( "StreamBS" )
18 StreamBS.ItemList +=["TBTDC#*"];
19 StreamBS.ItemList +=["TBBPCRawCont#*"];
20 StreamBS.ItemList +=["TBTriggerPatternUnit#*"];
21 
22 ToolSvc.TBByteStreamCnvTool.ForceHchoice = TRUE
23 ToolSvc.TBByteStreamCnvTool.isH6Run = TRUE
24 ToolSvc.TBByteStreamCnvTool.isH8Run = FALSE
25 #ToolSvc.TBByteStreamCnvTool.SubDetID = 118 # = 0x76
26 #ToolSvc.TBByteStreamCnvTool.SubDetID = 112 # = 0x70
27 #ToolSvc.TBByteStreamCnvTool.SubDetID = 129 # = 0x81
28 ToolSvc.TBByteStreamCnvTool.SubDetID = 112
29 ToolSvc.TBByteStreamCnvTool.Keys += ["TBTDC/TBTDC"]
30 ToolSvc.TBByteStreamCnvTool.Keys += ["TBTDCRawCont/TDCRawCont"]
31 ToolSvc.TBByteStreamCnvTool.Keys += ["TBADCRawCont/ADCRawCont"]
32 ToolSvc.TBByteStreamCnvTool.Keys += ["TBScintillatorRawCont/ScintillatorRawCont"]
33 ToolSvc.TBByteStreamCnvTool.Keys += ["TBBPCRawCont/BPCRawCont"]
34 ToolSvc.TBByteStreamCnvTool.Keys += ["TBMWPCRawCont/MWPCRawCont"]
35 ToolSvc.TBByteStreamCnvTool.Keys += ["TBTriggerPatternUnit/TBTrigPat"]
36 ToolSvc.TBByteStreamCnvTool.Keys += ["TBTailCatcherRaw/TailCatcherRaw"]
37 ToolSvc.TBByteStreamCnvTool.Keys += ["TBEventInfo/TBEventInfo"]
38 ToolSvc.TBByteStreamCnvTool.Keys += ["TBLArDigitContainer/FREE"]
39 ToolSvc.TBByteStreamCnvTool.Keys += ["TBLArDigitContainer/LOW"]
40 ToolSvc.TBByteStreamCnvTool.Keys += ["TBLArDigitContainer/HIGH"]
41 ToolSvc.TBByteStreamCnvTool.Keys += ["TBLArDigitContainer/MEDIUM"]
42 
43 ByteStreamAddressProviderSvc = Service( "ByteStreamAddressProviderSvc" )
44 ByteStreamAddressProviderSvc.TypeNames += ToolSvc.TBByteStreamCnvTool.Keys
45 
46 # ByteStreamAddressProviderSvc.TypeNames += ["TBTDC/TBTDC"]
47 # ByteStreamAddressProviderSvc.TypeNames += ["TBTDCRawCont/TDCRawCont"]
48 # ByteStreamAddressProviderSvc.TypeNames += ["TBADCRawCont/ADCRawCont"]
49 # ByteStreamAddressProviderSvc.TypeNames += ["TBScintillatorRawCont/ScintillatorRawCont"]
50 # ByteStreamAddressProviderSvc.TypeNames += ["TBBPCRawCont/BPCRawCont"]
51 # ByteStreamAddressProviderSvc.TypeNames += ["TBTriggPatternUnit/TBTrigPat"]
52 # ByteStreamAddressProviderSvc.TypeNames += ["TBTailCatcherRaw/TailCatcherRaw"]
53 
54 #force creation of Converter in init
55 # ByteStreamCnvSvc = Service( "ByteStreamCnvSvc" )
56 # ByteStreamCnvSvc.InitCnvs += [ "TBTDC",
57 # "TBBPCRawCont",
58 # "TBTriggPatternUnit"
59 # ] ;
60 # theApp.ExtSvc += [ "ByteStreamCnvSvc" ]
61 
python.FakeAthena.Algorithm
def Algorithm(name)
Definition: FakeAthena.py:41
python.FakeAthena.Service
def Service(name)
Definition: FakeAthena.py:38
python.Include.include
include
Definition: Include.py:319