15 msgLimit = -100
if flags.Exec.OutputLevel>DEBUG
else 0
17 msgsvc = CompFactory.getComp(msgSvcType)(
19 OutputLevel = flags.Exec.OutputLevel,
20 Format =
"%t % F%40W%C%6W%R%e%4W%s%8W%R%T %0W%M",
22 printEventIDLevel = WARNING,
25 enableSuppression =
False,
26 suppressRunningOnly =
True,
29 defaultLimit = msgLimit,
30 verboseLimit = msgLimit,
31 debugLimit = msgLimit,
33 warningLimit = msgLimit,
50 '''Enable COOL folder updates'''
52 acc = ComponentAccumulator()
55 montool.defineHistogram(
'TIME_CoolFolderUpdate', path=
'EXPERT', type=
'TH1F',
56 title=
'Time for conditions update;time [ms]',
57 xbins=100, xmin=0, xmax=200)
59 cool_helper = CompFactory.TrigCOOLUpdateHelper(
62 CoolFolderMap =
'/TRIGGER/HLT/COOLUPDATE',
64 Folders = [
'/Indet/Onl/Beampos',
65 '/TRIGGER/LUMI/HLTPrefLumi',
66 '/TRIGGER/HLT/PrescaleKey'] )
68 from IOVDbSvc.IOVDbSvcConfig
import addFolders
69 acc.merge( addFolders(flags, cool_helper.CoolFolderMap,
'TRIGGER_ONL',
70 className=
'CondAttrListCollection') )
72 acc.setPrivateTools( cool_helper )
77 '''online ROB data provider service'''
78 svc = CompFactory.HltROBDataProviderSvc(name,
79 doCostMonitoring = (flags.Trigger.CostMonitoring.doCostMonitoring
and
80 flags.Trigger.CostMonitoring.monitorROBs) )
83 svc.MonTool.defineHistogram(
'TIME_ROBReserveData', path=
'EXPERT', type=
'TH1F',
84 title=
'Time to reserve ROBs for later retrieval;time [mu s]',
85 xbins=100, xmin=0, xmax=1000)
86 svc.MonTool.defineHistogram(
'NUMBER_ROBReserveData', path=
'EXPERT', type=
'TH1F',
87 title=
'Number of reserved ROBs for later retrieval;number',
88 xbins=100, xmin=0, xmax=500)
89 svc.MonTool.defineHistogram(
'TIME_ROBRequest', path=
'EXPERT', type=
'TH1F',
90 title=
'Time for ROB retrievals;time [mu s]',
91 xbins=400, xmin=0, xmax=200000)
92 svc.MonTool.defineHistogram(
'NUMBER_ROBRequest', path=
'EXPERT', type=
'TH1F',
93 title=
'Number of retrieved ROBs;number',
94 xbins=100, xmin=0, xmax=1000)
95 svc.MonTool.defineHistogram(
'TIME_CollectAllROBs', path=
'EXPERT', type=
'TH1F',
96 title=
'Time for retrieving complete event data;time [mu s]',
97 xbins=400, xmin=0, xmax=200000)
98 svc.MonTool.defineHistogram(
'NUMBER_CollectAllROBs', path=
'EXPERT', type=
'TH1F',
99 title=
'Number of received ROBs for collect call;number',
100 xbins=100, xmin=0, xmax=2500)