ATLAS Offline Software
Loading...
Searching...
No Matches
TBReadH8BS_jobOptions.py
Go to the documentation of this file.
1#**************************************************************
2#
3# jopOptions file for reading ByteStream
4#
5#==============================================================
6# Input
7ToolSvc = Service( "ToolSvc" )
8
9# H8 :
10include( "ByteStreamCnvSvc/TBEventSelector_jobOptions.py" )
11
12include( "ByteStreamCnvSvcBase/BSAddProvSvc_RDO_jobOptions.py" )
13
14
15
16theApp.Dlls +=["TBCnv"]
17StreamBS = Algorithm( "StreamBS" )
18StreamBS.ItemList +=["TBTDC#*"];
19StreamBS.ItemList +=["TBBPCRawCont#*"];
20StreamBS.ItemList +=["TBTriggerPatternUnit#*"];
21
22ToolSvc.TBByteStreamCnvTool.ForceHchoice = TRUE
23ToolSvc.TBByteStreamCnvTool.isH6Run = FALSE
24ToolSvc.TBByteStreamCnvTool.isH8Run = TRUE
25#ToolSvc.TBByteStreamCnvTool.SubDetID = 118 # = 0x76
26#ToolSvc.TBByteStreamCnvTool.SubDetID = 129 # = 0x81
27ToolSvc.TBByteStreamCnvTool.SubDetID = 80
28ToolSvc.TBByteStreamCnvTool.Keys += ["TBTDC/TBTDC"]
29ToolSvc.TBByteStreamCnvTool.Keys += ["TBTDCRawCont/TDCRawCont"]
30ToolSvc.TBByteStreamCnvTool.Keys += ["TBADCRawCont/ADCRawCont"]
31ToolSvc.TBByteStreamCnvTool.Keys += ["TBScintillatorRawCont/ScintillatorRawCont"]
32ToolSvc.TBByteStreamCnvTool.Keys += ["TBBPCRawCont/BPCRawCont"]
33ToolSvc.TBByteStreamCnvTool.Keys += ["TBTriggerPatternUnit/TBTrigPat"]
34ToolSvc.TBByteStreamCnvTool.Keys += ["TBTailCatcherRaw/TailCatcherRaw"]
35
36
37ByteStreamAddressProviderSvc = Service( "ByteStreamAddressProviderSvc" )
38ByteStreamAddressProviderSvc.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