ATLAS Offline Software
Loading...
Searching...
No Matches
TBReadH6BS_EventStorage_jobOptions.py
Go to the documentation of this file.
1#**************************************************************
2#
3# jopOptions file for reading EventStorage
4#
5#==============================================================
6# Input
7ToolSvc = Service( "ToolSvc" )
8#from AthenaCommon.AppMgr import ToolSvc
9
10# H6:
11#include( "ByteStreamCnvSvc/ByteStreamSelector_jobOptions.py")
12include( "ByteStreamCnvSvc/TBEventSelector_jobOptions.py" )
13
14include( "ByteStreamCnvSvcBase/BSAddProvSvc_RDO_jobOptions.py" )
15
16
17from LArCabling.LArCablingAccess import LArCalibIdMapping
18LArCablibIdMapping()
19
20theApp.Dlls +=["TBCnv", "DBDataModelAthenaPoolPoolCnv" ]
21#StreamBS.ItemList +=["TBTDC#*"];
22#StreamBS.ItemList +=["TBBPCRawCont#*"];
23#StreamBS.ItemList +=["TBTriggerPatternUnit#*"];
24from TBCnv.TBCnvConf import TBByteStreamCnvTool
25ToolSvc += TBByteStreamCnvTool()
26ToolSvc.TBByteStreamCnvTool.ForceHchoice = TRUE
27ToolSvc.TBByteStreamCnvTool.isH6Run = TRUE
28ToolSvc.TBByteStreamCnvTool.isH8Run = FALSE
29#ToolSvc.TBByteStreamCnvTool.SubDetID = 118 # = 0x76
30#ToolSvc.TBByteStreamCnvTool.SubDetID = 112 # = 0x70
31#ToolSvc.TBByteStreamCnvTool.SubDetID = 129 # = 0x81
32ToolSvc.TBByteStreamCnvTool.SubDetID = 112
33ToolSvc.TBByteStreamCnvTool.Keys += ["TBTDC/TBTDC"]
34ToolSvc.TBByteStreamCnvTool.Keys += ["TBTDCRawCont/TDCRawCont"]
35ToolSvc.TBByteStreamCnvTool.Keys += ["TBADCRawCont/ADCRawCont"]
36ToolSvc.TBByteStreamCnvTool.Keys += ["TBScintillatorRawCont/ScintillatorRawCont"]
37ToolSvc.TBByteStreamCnvTool.Keys += ["TBBPCRawCont/BPCRawCont"]
38ToolSvc.TBByteStreamCnvTool.Keys += ["TBMWPCRawCont/MWPCRawCont"]
39ToolSvc.TBByteStreamCnvTool.Keys += ["TBTriggerPatternUnit/TBTrigPat"]
40ToolSvc.TBByteStreamCnvTool.Keys += ["TBTailCatcherRaw/TailCatcherRaw"]
41ToolSvc.TBByteStreamCnvTool.Keys += ["TBEventInfo/TBEventInfo"]
42ToolSvc.TBByteStreamCnvTool.Keys += ["TBLArDigitContainer/FREE"]
43ToolSvc.TBByteStreamCnvTool.Keys += ["TBLArDigitContainer/LOW"]
44ToolSvc.TBByteStreamCnvTool.Keys += ["TBLArDigitContainer/HIGH"]
45ToolSvc.TBByteStreamCnvTool.Keys += ["TBLArDigitContainer/MEDIUM"]
46
47svcMgr.ByteStreamAddressProviderSvc.TypeNames += ToolSvc.TBByteStreamCnvTool.Keys
48
49# ByteStreamAddressProviderSvc.TypeNames += ["TBTDC/TBTDC"]
50# ByteStreamAddressProviderSvc.TypeNames += ["TBTDCRawCont/TDCRawCont"]
51# ByteStreamAddressProviderSvc.TypeNames += ["TBADCRawCont/ADCRawCont"]
52# ByteStreamAddressProviderSvc.TypeNames += ["TBScintillatorRawCont/ScintillatorRawCont"]
53# ByteStreamAddressProviderSvc.TypeNames += ["TBBPCRawCont/BPCRawCont"]
54# ByteStreamAddressProviderSvc.TypeNames += ["TBTriggPatternUnit/TBTrigPat"]
55# ByteStreamAddressProviderSvc.TypeNames += ["TBTailCatcherRaw/TailCatcherRaw"]
56
57#force creation of Converter in init
58# ByteStreamCnvSvc = Service( "ByteStreamCnvSvc" )
59# ByteStreamCnvSvc.InitCnvs += [ "TBTDC",
60# "TBBPCRawCont",
61# "TBTriggPatternUnit"
62# ] ;
63# theApp.ExtSvc += [ "ByteStreamCnvSvc" ]
64
An AlgTool class to provide conversion ByteStream <-> TestBeam Instrumentation Data created Feb 2004 ...