8 m = CompFactory.HLTResultMTMaker(name)
11 from libpyeformat_helper
import SourceIdentifier,SubDetector
13 SubDetector.TDAQ_CALO_CLUSTER_PROC_ROI,
14 SubDetector.TDAQ_CALO_JET_PROC_ROI,
17 SubDetector.TDAQ_CALO_TOPO_PROC,
18 SubDetector.TDAQ_CALO_DIGITAL_PROC,
19 SubDetector.TDAQ_CALO_FEAT_EXTRACT_ROI,
22 for subdetId
in subdets:
23 m.ExtraSubDets.append(
int(subdetId) )
25 def addROBs(dest,subdet,modules):
26 for moduleId
in modules:
27 dest.append(SourceIdentifier(subdet,moduleId).
code())
30 addROBs(m.ExtraROBs, SubDetector.TDAQ_CALO_CLUSTER_PROC_ROI, [0xa8, 0xa9, 0xaa, 0xab])
31 addROBs(m.ExtraROBs, SubDetector.TDAQ_CALO_JET_PROC_ROI, [0xac, 0xad])
32 addROBs(m.ExtraROBs, SubDetector.TDAQ_MUON_CTP_INTERFACE, [0x01])
33 addROBs(m.ExtraROBs, SubDetector.TDAQ_CTP, [0x01])
34 addROBs(m.ExtraROBs, SubDetector.TDAQ_CALO_TOPO_PROC, [0x81, 0x91, 0x82, 0x92])
38 m.MonTool.defineHistogram(
'TIME_makeResult', path=
'EXPERT', type=
'TH1F', title=
'makeResult() call time;Time [ms];Events',
39 xbins=200, xmin=0, xmax=50 )
40 m.MonTool.defineHistogram(
'TIME_makeResult_extRange', path=
'EXPERT', type=
'TH1F', title=
'makeResult() call time;Time [ms];Events',
41 xbins=200, xmin=0, xmax=50, opt=
'kCanRebin' )
42 m.MonTool.defineHistogram(
'PEB_RemovedROBs_SubDet', path=
'EXPERT', type=
'TH1F',
43 title=
'SubDet ID of ROBs removed from PEB streams because disabled in DetMask;;Entries',
44 xbins=80, xmin=0, xmax=80)
45 m.MonTool.defineHistogram(
'PEB_RemovedSubDets', path=
'EXPERT', type=
'TH1F',
46 title=
'SubDetectors removed from PEB streams because disabled in DetMask;;Entries',
47 xbins=80, xmin=0, xmax=80)