106 '''online event loop manager'''
108 svc = CompFactory.HltEventLoopMgr(
110 setMagFieldFromPtree = flags.Trigger.Online.BFieldAutoConfig
114 if flags.Trigger.doLVL1
and flags.Trigger.writeBS:
115 svc.RewriteLVL1 =
True
116 if flags.Trigger.enableL1MuonPhase1
or flags.Trigger.enableL1CaloPhase1:
117 svc.L1TriggerResultRHKey =
'L1TriggerResult'
118 if flags.Trigger.enableL1CaloLegacy
or not flags.Trigger.enableL1MuonPhase1:
119 svc.RoIBResultRHKey =
'RoIBResult'
124 svc.MonTool.defineHistogram(
'TotalTime', path=
'EXPERT', type=
'TH1F',
125 title=
'Total event processing time (all events);Time [ms];Events',
126 xbins=200, xmin=0, xmax=10000)
127 svc.MonTool.defineHistogram(
'TotalTime;TotalTime_extRange', path=
'EXPERT', type=
'TH1F',
128 title=
'Total event processing time (all events);Time [ms];Events',
129 xbins=200, xmin=0, xmax=20000, opt=
'kCanRebin')
131 svc.MonTool.defineHistogram(
'TotalTimeAccepted', path=
'EXPERT', type=
'TH1F',
132 title=
'Total event processing time (accepted events);Time [ms];Events',
133 xbins=200, xmin=0, xmax=10000)
134 svc.MonTool.defineHistogram(
'TotalTimeAccepted;TotalTimeAccepted_extRange', path=
'EXPERT', type=
'TH1F',
135 title=
'Total event processing time (accepted events);Time [ms];Events',
136 xbins=200, xmin=0, xmax=20000, opt=
'kCanRebin')
138 svc.MonTool.defineHistogram(
'TotalTimeRejected', path=
'EXPERT', type=
'TH1F',
139 title=
'Total event processing time (rejected events);Time [ms];Events',
140 xbins=200, xmin=0, xmax=10000)
141 svc.MonTool.defineHistogram(
'TotalTimeRejected;TotalTimeRejected_extRange', path=
'EXPERT', type=
'TH1F',
142 title=
'Total event processing time (rejected events);Time [ms];Events',
143 xbins=200, xmin=0, xmax=20000, opt=
'kCanRebin')
145 svc.MonTool.defineHistogram(
'SlotIdleTime', path=
'EXPERT', type=
'TH1F',
146 title=
'Time between freeing and assigning a scheduler slot;Time [ms];Events',
147 xbins=400, xmin=0, xmax=400)
148 svc.MonTool.defineHistogram(
'SlotIdleTime;SlotIdleTime_extRange', path=
'EXPERT', type=
'TH1F',
149 title=
'Time between freeing and assigning a scheduler slot;Time [ms];Events',
150 xbins=400, xmin=0, xmax=800, opt=
'kCanRebin')
152 svc.MonTool.defineHistogram(
'TIME_clearStore', path=
'EXPERT', type=
'TH1F',
153 title=
'Time of clearStore() calls;Time [ms];Calls',
154 xbins=200, xmin=0, xmax=50)
155 svc.MonTool.defineHistogram(
'TIME_clearStore;TIME_clearStore_extRange', path=
'EXPERT', type=
'TH1F',
156 title=
'Time of clearStore() calls;Time [ms];Calls',
157 xbins=200, xmin=0, xmax=200, opt=
'kCanRebin')
159 svc.MonTool.defineHistogram(
'PopSchedulerTime', path=
'EXPERT', type=
'TH1F',
160 title=
'Time spent waiting for a finished event from the Scheduler;Time [ms];drainScheduler() calls',
161 xbins=250, xmin=0, xmax=250)
162 svc.MonTool.defineHistogram(
'PopSchedulerNumEvt', path=
'EXPERT', type=
'TH1F',
163 title=
'Number of events popped out of scheduler at the same time;Time [ms];drainScheduler() calls',
164 xbins=50, xmin=0, xmax=50)
166 from TrigSteerMonitor.TrigSteerMonitorConfig
import getTrigErrorMonTool
169 if flags.Trigger.CostMonitoring.doCostMonitoring:
170 svc.TrigErrorMonTool.TrigCostSvc = CompFactory.TrigCostSvc()