4 from AthenaMonitoringKernel.GenericMonitoringTool
import GenericMonitoringTool
10 tool.HistPath=
"HLTFramework/HLTSeeding"
11 tool.defineHistogram(
'TAVItems', path=
'EXPERT', type=
'TH1F', title=
'Number of active L1 TAV items;N Items;N Events',
12 xbins=maxItems, xmin=0, xmax=maxItems)
13 tool.defineHistogram(
'Chains', path=
'EXPERT', type=
'TH1F', title=
'Number of activated Chains;N Chains;N Events',
14 xbins=(maxChains//4
if maxChains>100
else maxChains), xmin=0, xmax=maxChains)
20 tool.HistPath = f
'HLTFramework/HLTSeeding/RoIs_{prefix}'
21 tool.defineHistogram(
'count', path=
'EXPERT', type=
'TH1F', title=f
'Number of {prefix} RoIs;N RoIs;N Events',
22 xbins=maxCount, xmin=0, xmax=maxCount)
23 tool.defineHistogram(
'eta', path=
'EXPERT', type=
'TH1F', title=f
'{prefix} RoIs eta;eta;N RoIs',
24 xbins=
int(20*maxEta), xmin=-(maxEta-etaOffset), xmax=(maxEta+etaOffset))
25 tool.defineHistogram(
'phi', path=
'EXPERT', type=
'TH1F', title=f
'{prefix} RoIs phi;phi;N RoIs',
26 xbins=64, xmin=-(math.pi-phiOffset), xmax=(math.pi+phiOffset))
27 tool.defineHistogram(
'eta,phi', path=
'EXPERT', type=
'TH2F', title=f
'{prefix} RoIs eta-phi;eta;phi;N RoIs',
28 xbins=
int(20*maxEta), xmin=-(maxEta-etaOffset), xmax=(maxEta+etaOffset),
29 ybins=64, ymin=-(math.pi-phiOffset), ymax=(math.pi+phiOffset))
36 tool.HistPath=
"HLTFramework/HLTSeeding"
37 tool.defineHistogram(
'LB,HLTPSK', path=
'EXPERT', type=
'TH2I', opt=
'kAddBinsDynamically',
38 title=
'HLT prescale key used in LB;Lumiblock;HLTPSK',
39 xbins=100, xmin=0, xmax=100, ybins=5, ymin=0, ymax=5)
40 tool.defineHistogram(
'Random', path=
'EXPERT', type=
'TH1F',
41 title=
'Random number distribution;random number',
42 xbins=100, xmin=0, xmax=1)
48 tool.HistPath=
"HLTFramework/HLTSeeding/L1DataConsistencyChecker"
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)