Skip to content
Snippets Groups Projects
Commit baea16e0 authored by Rafal Bielski's avatar Rafal Bielski :wave:
Browse files

HLT framework timing histograms with extended range and kCanRebin option

parent e2330b1a
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ class TrigByteStreamInputSvc(_TrigByteStreamInputSvc): ...@@ -24,7 +24,7 @@ class TrigByteStreamInputSvc(_TrigByteStreamInputSvc):
xbins=400, xmin=0, xmax=200) xbins=400, xmin=0, xmax=200)
self.MonTool.defineHistogram('TIME_getNext;TIME_getNext_extRange', path='EXPERT', type='TH1F', self.MonTool.defineHistogram('TIME_getNext;TIME_getNext_extRange', path='EXPERT', type='TH1F',
title='Time of DataCollector::getNext() calls;Time [ms];Calls', title='Time of DataCollector::getNext() calls;Time [ms];Calls',
xbins=400, xmin=0, xmax=2000) xbins=400, xmin=0, xmax=2000, opt='kCanRebin')
self.MonTool.defineHistogram('getNext_LBN,getNext_noEvent;NoEventFraction', path='EXPERT', type='TProfile', self.MonTool.defineHistogram('getNext_LBN,getNext_noEvent;NoEventFraction', path='EXPERT', type='TProfile',
title='Fraction of getNext calls returning NO_EVENT;Lumi Block;Event fraction', title='Fraction of getNext calls returning NO_EVENT;Lumi Block;Event fraction',
xbins=100, xmin=0, xmax=100, opt='kCanRebin') xbins=100, xmin=0, xmax=100, opt='kCanRebin')
...@@ -38,7 +38,7 @@ class TrigByteStreamCnvSvc(_TrigByteStreamCnvSvc): ...@@ -38,7 +38,7 @@ class TrigByteStreamCnvSvc(_TrigByteStreamCnvSvc):
xbins=400, xmin=0, xmax=2) xbins=400, xmin=0, xmax=2)
self.MonTool.defineHistogram('TIME_eventDone;TIME_eventDone_extRange', path='EXPERT', type='TH1F', self.MonTool.defineHistogram('TIME_eventDone;TIME_eventDone_extRange', path='EXPERT', type='TH1F',
title='Time of DataCollector::eventDone() calls;Time [ms];Calls', title='Time of DataCollector::eventDone() calls;Time [ms];Calls',
xbins=400, xmin=0, xmax=200) xbins=400, xmin=0, xmax=200, opt='kCanRebin')
self.MonTool.defineHistogram('StreamTags', path='EXPERT', type='TH1F', self.MonTool.defineHistogram('StreamTags', path='EXPERT', type='TH1F',
title='Stream Tags produced by HLT;;Events', title='Stream Tags produced by HLT;;Events',
xbins=1, xmin=0, xmax=1) xbins=1, xmin=0, xmax=1)
......
...@@ -127,18 +127,34 @@ class HltEventLoopMgr(_HltEventLoopMgr): ...@@ -127,18 +127,34 @@ class HltEventLoopMgr(_HltEventLoopMgr):
super(HltEventLoopMgr, self).__init__(name) super(HltEventLoopMgr, self).__init__(name)
from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
self.MonTool = GenericMonitoringTool('MonTool', HistPath='HLTFramework/'+name) self.MonTool = GenericMonitoringTool('MonTool', HistPath='HLTFramework/'+name)
self.MonTool.defineHistogram('TotalTime', path='EXPERT', type='TH1F', self.MonTool.defineHistogram('TotalTime', path='EXPERT', type='TH1F',
title='Total event processing time (all events);Time [ms];Events', title='Total event processing time (all events);Time [ms];Events',
xbins=200, xmin=0, xmax=10000) xbins=200, xmin=0, xmax=10000)
self.MonTool.defineHistogram('TotalTime;TotalTime_extRange', path='EXPERT', type='TH1F',
title='Total event processing time (all events);Time [ms];Events',
xbins=200, xmin=0, xmax=20000, opt='kCanRebin')
self.MonTool.defineHistogram('TotalTimeAccepted', path='EXPERT', type='TH1F', self.MonTool.defineHistogram('TotalTimeAccepted', path='EXPERT', type='TH1F',
title='Total event processing time (accepted events);Time [ms];Events', title='Total event processing time (accepted events);Time [ms];Events',
xbins=200, xmin=0, xmax=10000) xbins=200, xmin=0, xmax=10000)
self.MonTool.defineHistogram('TotalTimeAccepted;TotalTimeAccepted_extRange', path='EXPERT', type='TH1F',
title='Total event processing time (accepted events);Time [ms];Events',
xbins=200, xmin=0, xmax=20000, opt='kCanRebin')
self.MonTool.defineHistogram('TotalTimeRejected', path='EXPERT', type='TH1F', self.MonTool.defineHistogram('TotalTimeRejected', path='EXPERT', type='TH1F',
title='Total event processing time (rejected events);Time [ms];Events', title='Total event processing time (rejected events);Time [ms];Events',
xbins=200, xmin=0, xmax=10000) xbins=200, xmin=0, xmax=10000)
self.MonTool.defineHistogram('TotalTimeRejected;TotalTimeRejected_extRange', path='EXPERT', type='TH1F',
title='Total event processing time (rejected events);Time [ms];Events',
xbins=200, xmin=0, xmax=20000, opt='kCanRebin')
self.MonTool.defineHistogram('SlotIdleTime', path='EXPERT', type='TH1F', self.MonTool.defineHistogram('SlotIdleTime', path='EXPERT', type='TH1F',
title='Time between freeing and assigning a scheduler slot;Time [ms];Events', title='Time between freeing and assigning a scheduler slot;Time [ms];Events',
xbins=400, xmin=0, xmax=400) xbins=400, xmin=0, xmax=400)
self.MonTool.defineHistogram('SlotIdleTime;SlotIdleTime_extRange', path='EXPERT', type='TH1F',
title='Time between freeing and assigning a scheduler slot;Time [ms];Events',
xbins=400, xmin=0, xmax=800, opt='kCanRebin')
from TrigSteerMonitor.TrigSteerMonitorConfig import getTrigErrorMonTool from TrigSteerMonitor.TrigSteerMonitorConfig import getTrigErrorMonTool
self.TrigErrorMonTool = getTrigErrorMonTool() self.TrigErrorMonTool = getTrigErrorMonTool()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment