ATLAS Offline Software
TBReadH8BS_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 
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 = FALSE
24 ToolSvc.TBByteStreamCnvTool.isH8Run = TRUE
25 #ToolSvc.TBByteStreamCnvTool.SubDetID = 118 # = 0x76
26 #ToolSvc.TBByteStreamCnvTool.SubDetID = 129 # = 0x81
27 ToolSvc.TBByteStreamCnvTool.SubDetID = 80
28 ToolSvc.TBByteStreamCnvTool.Keys += ["TBTDC/TBTDC"]
29 ToolSvc.TBByteStreamCnvTool.Keys += ["TBTDCRawCont/TDCRawCont"]
30 ToolSvc.TBByteStreamCnvTool.Keys += ["TBADCRawCont/ADCRawCont"]
31 ToolSvc.TBByteStreamCnvTool.Keys += ["TBScintillatorRawCont/ScintillatorRawCont"]
32 ToolSvc.TBByteStreamCnvTool.Keys += ["TBBPCRawCont/BPCRawCont"]
33 ToolSvc.TBByteStreamCnvTool.Keys += ["TBTriggerPatternUnit/TBTrigPat"]
34 ToolSvc.TBByteStreamCnvTool.Keys += ["TBTailCatcherRaw/TailCatcherRaw"]
35 
36 
37 ByteStreamAddressProviderSvc = Service( "ByteStreamAddressProviderSvc" )
38 ByteStreamAddressProviderSvc.TypeNames += ToolSvc.TBByteStreamCnvTool.Keys
39 
40 # ByteStreamAddressProviderSvc.TypeNames += ["TBTDC/TBTDC"]
41 # ByteStreamAddressProviderSvc.TypeNames += ["TBTDCRawCont/TDCRawCont"]
42 # ByteStreamAddressProviderSvc.TypeNames += ["TBADCRawCont/ADCRawCont"]
43 # ByteStreamAddressProviderSvc.TypeNames += ["TBScintillatorRawCont/ScintillatorRawCont"]
44 # ByteStreamAddressProviderSvc.TypeNames += ["TBBPCRawCont/BPCRawCont"]
45 # ByteStreamAddressProviderSvc.TypeNames += ["TBTriggPatternUnit/TBTrigPat"]
46 # ByteStreamAddressProviderSvc.TypeNames += ["TBTailCatcherRaw/TailCatcherRaw"]
47 
48 #force creation of Converter in init
49 # ByteStreamCnvSvc = Service( "ByteStreamCnvSvc" )
50 # ByteStreamCnvSvc.InitCnvs += [ "TBTDC",
51 # "TBBPCRawCont",
52 # "TBTriggPatternUnit"
53 # ] ;
54 # theApp.ExtSvc += [ "ByteStreamCnvSvc" ]
55 
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