46def L1DataConsistencyMonitoring(flags):
48 tool.HistPath="HLTFramework/HLTSeeding/L1DataConsistencyChecker"
49
50 tool.defineHistogram('TIME_consistencyCheck', path='EXPERT', type='TH1F',
51 title='Time of consistencyCheck() calls;Time [ms];N calls',
52 xbins=100, xmin=0, xmax=50)
53 tool.defineHistogram('MissingTOBs', path='EXPERT', type='TH1F',
54 title='L1 thresholds with missing TOBs;Threshold name;Events with missing TOBs',
55 xbins=10, xmin=0, xmax=10)
56 tool.defineHistogram('MissingTOBsIncludingOverflow', path='EXPERT', type='TH1F',
57 title='L1 thresholds with missing TOBs (incl. overflow);Threshold name;Events with missing TOBs',
58 xbins=10, xmin=0, xmax=10)
59 tool.defineHistogram('ThrName,CtpCount', path='EXPERT', type='TH2F',
60 title='Max threshold multiplicity accepted by CTP;Threshold name;Multiplicity',
61 xbins=50, xmin=0, xmax=50, ybins=20, ymin=0, ymax=20)
62 tool.defineHistogram('ThrName,TobCount', path='EXPERT', type='TH2F',
63 title='Number of TOBs passing thresholds;Threshold name;Number of TOBs',
64 xbins=50, xmin=0, xmax=50, ybins=200, ymin=0, ymax=200)
65 tool.defineHistogram('ThrName,TobMinusCtpCount', path='EXPERT', type='TH2F',
66 title='Diff. between N TOBs and CTP multiplicity;Threshold name;N TOBs - CTP multiplicity',
67 xbins=50, xmin=0, xmax=50, ybins=250, ymin=-50, ymax=200)
68 return tool