9def setupFilterMonitoring( flags, filterAlg ):
10 if not hasattr(filterAlg, "Input"):
11 return
12
14 HistPath="HLTFramework/Filters")
15
16 inputKeys = [str(i) for i in filterAlg.Input]
17 monTool.defineHistogram( 'name,stat;'+filterAlg.getName(), path='EXPERT', type='TH2I',
18 title='Input activity fraction;;presence',
19 xbins=len(inputKeys), xmin=0, xmax=len(inputKeys)+2, xlabels=['exec', 'anyvalid']+inputKeys,
20 ybins=2, ymin=-0.5, ymax=1.5, ylabels=['no', 'yes'] )
21
22 filterAlg.MonTool = monTool
23
24