ATLAS Offline Software
Loading...
Searching...
No Matches
TBReadH8BS_EventStorage_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
15from LArCabling.LArCablingAccess import LArCalibIdMapping
16LArCablibIdMapping()
17
18theApp.Dlls +=["TBCnv", "DBDataModelAthenaPoolPoolCnv"]
19#StreamBS = Algorithm( "StreamBS" )
20#StreamBS.ItemList +=["TBTDC#*"];
21#StreamBS.ItemList +=["TBBPCRawCont#*"];
22#StreamBS.ItemList +=["TBTriggerPatternUnit#*"];
23from TBCnv.TBCnvConf import TBByteStreamCnvTool
24ToolSvc += TBByteStreamCnvTool()
25ToolSvc.TBByteStreamCnvTool.ForceHchoice = TRUE
26ToolSvc.TBByteStreamCnvTool.isH6Run = FALSE
27ToolSvc.TBByteStreamCnvTool.isH8Run = TRUE
28#ToolSvc.TBByteStreamCnvTool.SubDetID = 118 # = 0x76
29#ToolSvc.TBByteStreamCnvTool.SubDetID = 129 # = 0x81
30ToolSvc.TBByteStreamCnvTool.SubDetID = 80
31ToolSvc.TBByteStreamCnvTool.Keys += ["TBTDC/TBTDC"]
32ToolSvc.TBByteStreamCnvTool.Keys += ["TBTDCRawCont/TDCRawCont"]
33ToolSvc.TBByteStreamCnvTool.Keys += ["TBADCRawCont/ADCRawCont"]
34ToolSvc.TBByteStreamCnvTool.Keys += ["TBScintillatorRawCont/ScintillatorRawCont"]
35ToolSvc.TBByteStreamCnvTool.Keys += ["TBBPCRawCont/BPCRawCont"]
36ToolSvc.TBByteStreamCnvTool.Keys += ["TBTriggerPatternUnit/TBTrigPat"]
37ToolSvc.TBByteStreamCnvTool.Keys += ["TBTailCatcherRaw/TailCatcherRaw"]
38
39
40#ByteStreamAddressProviderSvc = Service( "ByteStreamAddressProviderSvc" )
41svcMgr.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
An AlgTool class to provide conversion ByteStream <-> TestBeam Instrumentation Data created Feb 2004 ...