10 if not hasattr(filterAlg,
"Input"):
14 HistPath=
"HLTFramework/Filters")
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'] )
22 filterAlg.MonTool = monTool