37def getTrigByteStreamCnvSvc(flags, name='ByteStreamCnvSvc'):
38 svc = CompFactory.TrigByteStreamCnvSvc(name)
40 svc.MonTool.defineHistogram('TIME_eventDone', path='EXPERT', type='TH1F',
41 title='Time of DataCollector::eventDone() calls;Time [ms];Calls',
42 xbins=400, xmin=0, xmax=2)
43 svc.MonTool.defineHistogram('TIME_eventDone;TIME_eventDone_extRange', path='EXPERT', type='TH1F',
44 title='Time of DataCollector::eventDone() calls;Time [ms];Calls',
45 xbins=400, xmin=0, xmax=200, opt='kCanRebin')
46 svc.MonTool.defineHistogram('StreamTags', path='EXPERT', type='TH1F',
47 title='Stream Tags produced by HLT;;Events',
48 xbins=10, xmin=0, xmax=10)
49 svc.MonTool.defineHistogram('StreamTagCorrA,StreamTagCorrB;StreamTagsCorr', path='EXPERT', type='TH2F',
50 title='Stream Tags (produced by HLT) correlation',
51 xbins=10, xmin=0, xmax=10, ybins=10, ymin=0, ymax=10)
52 svc.MonTool.defineHistogram('StreamTagsNum', path='EXPERT', type='TH1F',
53 title='Number of Stream Tags produced by HLT;Number of Stream Tags;Events',
54 xbins=20, xmin=0, xmax=20)
55 svc.MonTool.defineHistogram('StreamTagsType', path='EXPERT', type='TH1F',
56 title='Type of Stream Tags produced by HLT;;Events',
57 xbins=7, xmin=0, xmax=7,
58 xlabels=["physics", "calibration", "express", "monitoring", "debug", "reserved", "unknown"])
59 svc.MonTool.defineHistogram('StreamTagsPebRobsNum', path='EXPERT', type='TH1F',
60 title='Number of ROBs in PEB stream tags;Number of ROBs;Entries',
61 xbins=200, xmin=0, xmax=200,
62 cutmask="StreamTagIsPeb")
63 svc.MonTool.defineHistogram('StreamTagsPebSubDetsNum', path='EXPERT', type='TH1F',
64 title='Number of SubDetectors in PEB stream tags;Number of SubDetectors;Entries',
65 xbins=100, xmin=0, xmax=100,
66 cutmask="StreamTagIsPeb")
67 svc.MonTool.defineHistogram('StreamTagsPebSubDetsFromRobList', path='EXPERT', type='TH1F',
68 title='SubDetectors in PEB stream tags ROB list;;Entries',
69 xbins=20, xmin=0, xmax=20)
70 svc.MonTool.defineHistogram('StreamTagsPebSubDetsFromSubDetList', path='EXPERT', type='TH1F',
71 title='SubDetectors in PEB stream tags SubDetector list;;Entries',
72 xbins=20, xmin=0, xmax=20)
73 svc.MonTool.defineHistogram('ResultSizeTotal', path='EXPERT', type='TH1F',
74 title='HLT result total size (sum of all modules);Size [kB];Events',
75 xbins=200, xmin=0, xmax=2000, opt='kCanRebin')
76 svc.MonTool.defineHistogram('ResultSizeFullEvFrag', path='EXPERT', type='TH1F',
77 title='HLT output FullEventFragment size;Size [kB];Events',
78 xbins=200, xmin=0, xmax=2000, opt='kCanRebin')
79 svc.MonTool.defineHistogram('ResultModuleID,ResultModuleSize;ResultSizeByModule', path='EXPERT', type='TH2F',
80 title='HLT result size by module;Module ID;Size [kB]',
81 xbins=10, xmin=0, xmax=10, ybins=400, ymin=0, ymax=4000)
82 svc.MonTool.defineHistogram('StreamTags,ResultSizeStream;ResultSizeByStream', path='EXPERT', type='TH2F',
83 title='HLT result size by stream;;Size [kB]',
84 xbins=10, xmin=0, xmax=10, ybins=400, ymin=0, ymax=4000)
85 svc.MonTool.defineHistogram('OnlineErrorCode', path='EXPERT', type='TH1F',
86 title='Online error codes;;Events',
87 xbins=1, xmin=0, xmax=1)
88 svc.MonTool.defineHistogram('TIME_monitorRawEvent', path='EXPERT', type='TH1F',
89 title='Time of monitorRawEvent() calls;Time [us];Calls',
90 xbins=1000, xmin=0, xmax=1000)
91 return svc
92