Belle II Software development
DQMHistAnalysisHLTMonObj.cc
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9// Own header.
10#include <dqm/analysis/modules/DQMHistAnalysisHLTMonObj.h>
11
12// Basf2 headers.
13#include <hlt/utilities/Units.h>
14
15// Roofit headers
16#include <RooAddPdf.h>
17#include <RooArgList.h>
18#include <RooArgSet.h>
19#include <RooChebychev.h>
20#include <RooDataHist.h>
21#include <RooFit.h>
22#include <RooFitResult.h>
23#include <RooGaussian.h>
24#include <RooMsgService.h>
25#include <RooRealVar.h>
26#include <RooPlot.h>
27
28// C++ headers
29#include <regex>
30
31using namespace std;
32using namespace Belle2;
33
34//-----------------------------------------------------------------
35// Register module
36//-----------------------------------------------------------------
37
38REG_MODULE(DQMHistAnalysisHLTMonObj);
39
42{
43 setDescription("Produces MonitoringObject for the HLT from the available DQM histograms");
45}
46
50
52{
53 // make monitoring object related to this module
54 // if monitoring object already exists this will return pointer to it
56
57 // make canvases to be added to MonitoringObject
58 m_c_filter = new TCanvas("Filter", "filter", 750, 400);
59 m_c_skim = new TCanvas("Skim", "skim", 400, 400);
60 m_c_hardware = new TCanvas("Hardware", "hardware", 1000, 1000);
61 m_c_l1 = new TCanvas("L1", "l1", 750, 400);
62 m_c_ana_eff_shifter = new TCanvas("ana_eff_shifter", "ana_eff_shifter", 1000, 1000);
63 m_c_nks = new TCanvas("Ks", "Ks_histograms", 1000, 1000);
64
65 // add canvases to MonitoringObject
66 m_monObj->addCanvas(m_c_filter);
67 m_monObj->addCanvas(m_c_skim);
68 m_monObj->addCanvas(m_c_hardware);
69 m_monObj->addCanvas(m_c_l1);
70 m_monObj->addCanvas(m_c_ana_eff_shifter);
71 m_monObj->addCanvas(m_c_nks);
72
73
74 //--- HLTPrefilter monitoring ---//
75 //--- Fit variables ---//
76 m_KsInvMass = new RooRealVar("m_KsInvMass", "M", 0.45, 0.55);
77
78 //--- Signal double gaussian ---//
79 m_mean1 = new RooRealVar("#mu_{1}", "MEAN of 1st gaussian", 0.498, 0.49, 0.51);
80 m_sigma1 = new RooRealVar("#sigma_{1}", "Sigma of 1st gaussian", 0.002, 0.0001, 0.05);
81 m_gauss1 = new RooGaussian("gauss1", "1st gaussian PDF", *m_KsInvMass, *m_mean1, *m_sigma1);
82
83 m_sigma2 = new RooRealVar("#sigma_{2}", "Sigma of 1st gaussian", 0.02, 0.0001, 0.05);
84 m_gauss2 = new RooGaussian("gauss2", "2nd gaussian PDF", *m_KsInvMass, *m_mean1, *m_sigma2);
85
86 m_frac = new RooRealVar("frac", "fraction", 0.6, 0.4, 0.8);
87 m_double_gauss = new RooAddPdf("double_gauss", "add two gaussian", RooArgList(*m_gauss1, *m_gauss2), RooArgSet(*m_frac));
88
89 //--- Chebychev background first order ---//
90 m_slope = new RooRealVar("s", "Slope of Polynomial", 0.5, -2.0, 2.0);
91 m_chebpol = new RooChebychev("chebpol", "Chebshev Polynomial ", *m_KsInvMass, RooArgList(*m_slope));
92
93 //--- Signal and Background yields ---//
94 m_sig = new RooRealVar("N_{sig}", "SIGNAL EVENTS", 1000, 10, 5000000);
95 m_bkg = new RooRealVar("N_{bkg}", "BACKGROUND EVENTS", 2000, 100, 20000000);
96
97 //--- Total fit pdf ---//
98 m_KsPdf = new RooAddPdf("m_KsPdf", "Two Gaussian + Pol1 background", RooArgList(*m_double_gauss, *m_chebpol), RooArgList(*m_sig,
99 *m_bkg));
100
101}
102
103
105{
106
107 // get existing histograms produced by DQM modules
108 TH1* h_hlt = findHist("softwaretrigger/total_result");
109 TH1* h_skim = findHist("softwaretrigger/skim");
110 TH1* h_budget = findHist("timing_statistics/fullTimeHistogram");
111 TH1* h_processing = findHist("timing_statistics/processingTimeHistogram");
112 TH1* h_proc_passive = findHist("timing_statistics/processingTimePassiveVeto");
113 TH1* h_proc_active = findHist("timing_statistics/processingTimeNotPassiveVeto");
114 TH1* h_proc_prefilter_time = findHist("timing_statistics/processingTimeNotPassiveVetoTimingCut");
115 TH1* h_proc_prefilter_cdcecl = findHist("timing_statistics/processingTimeNotPassiveVetoCDCECLCut");
116 TH1* h_meantime = findHist("timing_statistics/meanTimeHistogram");
117 TH1* h_budg_unit = findHist("timing_statistics/fullTimeMeanPerUnitHistogram");
118 TH1* h_proc_unit = findHist("timing_statistics/processingTimeMeanPerUnitHistogram");
119 TH1* h_procs = findHist("timing_statistics/processesPerUnitHistogram");
120 TH1* h_l1 = findHist("softwaretrigger_before_filter/hlt_unit_number");
121 TH1* h_err_flag = findHist("softwaretrigger_before_filter/error_flag");
122 TH1* h_hlt_triggers = findHist("softwaretrigger/filter");
123 TH1* h_l1_triggers = findHist("TRGGDL/hGDL_psn_all");
124 TH1* h_l1_triggers_filt = findHist("softwaretrigger/l1_total_result");
125 TH1* h_l1_cat_w_overlap = findHist("TRGGDL/hGDL_psn_raw_rate_all");
126 TH1* h_l1_cat_wo_overlap = findHist("TRGGDL/hGDL_psn_effect_to_l1_all");
127 TH1* h_full_mem = findHist("timing_statistics/fullMemoryHistogram");
128 TCanvas* c_GDL_ana_eff_shifter = findCanvas("TRGGDL/hGDL_ana_eff_shifter");
129 TH1* h_GDL_ana_eff_shifter = nullptr;
130
131 if (c_GDL_ana_eff_shifter) {
132 c_GDL_ana_eff_shifter->cd();
133 h_GDL_ana_eff_shifter = dynamic_cast<TH1*>(gPad->GetPrimitive("hGDL_ana_eff_shifter"));
134 }
135
136 // set the content of filter canvas
137 m_c_filter->Clear(); // clear existing content
138 m_c_filter->Divide(2, 2);
139 m_c_filter->cd(1);
140 if (h_hlt) h_hlt->Draw();
141 m_c_filter->cd(2);
142 if (h_hlt_triggers) h_hlt_triggers->Draw();
143 m_c_filter->cd(3);
144 if (h_err_flag) h_err_flag->Draw();
145
146 // set the content of skim canvas
147 m_c_skim->Clear(); // clear existing content
148 m_c_skim->cd();
149 if (h_skim) h_skim->Draw();
150
151 // set the content of hardware canvas
152 m_c_hardware->Clear(); // clear existing content
153 m_c_hardware->Divide(3, 3);
154 m_c_hardware->cd(1);
155 if (h_l1) h_l1->Draw();
156 m_c_hardware->cd(2);
157 if (h_budget) h_budget->Draw();
158 m_c_hardware->cd(3);
159 if (h_processing) h_processing->Draw();
160 m_c_hardware->cd(4);
161 if (h_budg_unit) h_budg_unit->Draw();
162 m_c_hardware->cd(5);
163 if (h_proc_unit) h_proc_unit->Draw();
164 m_c_hardware->cd(6);
165 if (h_meantime) h_meantime->Draw();
166 m_c_hardware->cd(7);
167 if (h_procs) h_procs->Draw();
168 m_c_hardware->cd(8);
169 if (h_full_mem) h_full_mem->Draw();
170
171 // set the content of L1 canvas
172 m_c_l1->Clear(); // clear existing content
173 m_c_l1->Divide(2, 2);
174 m_c_l1->cd(1);
175 if (h_l1_triggers) h_l1_triggers->Draw();
176 m_c_l1->cd(2);
177 if (h_l1_triggers_filt) h_l1_triggers_filt->Draw();
178 m_c_l1->cd(3);
179 if (h_l1_cat_w_overlap) h_l1_cat_w_overlap->Draw();
180 m_c_l1->cd(4);
181 if (h_l1_cat_wo_overlap) h_l1_cat_wo_overlap->Draw();
182
183// set the content of ana_eff_shifter canvas
184 m_c_ana_eff_shifter->Clear();
186 if (h_GDL_ana_eff_shifter) h_GDL_ana_eff_shifter->Draw();
187
188 double n_hlt = 0.;
189 if (h_hlt) n_hlt = (double)h_hlt->GetBinContent((h_hlt->GetXaxis())->FindFixBin("total_result"));
190 m_monObj->setVariable("n_hlt", n_hlt);
191 double n_l1 = 0.;
192 if (h_l1) n_l1 = h_l1->GetEntries();
193 m_monObj->setVariable("n_l1", n_l1);
194 double n_procs = 0.;
195 if (h_procs) n_procs = h_procs->GetEntries();
196 m_monObj->setVariable("n_procs", n_procs);
197
198 if (h_skim) {
199 // loop bins, add variable to monObj named as "effCS_" + bin label w/o "accept"
200 for (int ibin = 1; ibin < h_skim->GetXaxis()->GetNbins() + 1; ibin++) {
201 double nentr = (double)h_skim->GetBinContent(ibin);
202 std::string bin_name(h_skim->GetXaxis()->GetBinLabel(ibin));
203 m_monObj->setVariable(bin_name.replace(0, 6, "effCS"), nentr);
204 }
205 }
206
207 if (h_l1_triggers) {
208 // loop bins, add variable to monObj named as "effCS_l1_" + bin label
209 for (int ibin = 1; ibin < h_l1_triggers->GetXaxis()->GetNbins() + 1; ibin++) {
210 double nentr = (double)h_l1_triggers->GetBinContent(ibin);
211 std::string bin_name(h_l1_triggers->GetXaxis()->GetBinLabel(ibin));
212 if (bin_name == "") continue;
213 m_monObj->setVariable(bin_name.insert(0, "effCS_l1_"), nentr);
214 }
215 }
216
217 if (h_l1_triggers_filt) {
218 // loop bins, add variable to monObj named as "effCS_l1_fON_" + bin label
219 for (int ibin = 1; ibin < h_l1_triggers_filt->GetXaxis()->GetNbins() + 1; ibin++) {
220 double nentr = (double)h_l1_triggers_filt->GetBinContent(ibin);
221 std::string bin_name(h_l1_triggers_filt->GetXaxis()->GetBinLabel(ibin));
222 if (bin_name == "") continue;
223 m_monObj->setVariable(bin_name.insert(0, "effCS_l1_fON_"), nentr);
224 }
225 }
226
227 if (h_hlt_triggers) {
228 // loop bins, add variable to monObj named as "effCS_hlt_" + bin label
229 for (int ibin = 1; ibin < h_hlt_triggers->GetXaxis()->GetNbins() + 1; ibin++) {
230 double nentr = (double)h_hlt_triggers->GetBinContent(ibin);
231 std::string bin_name(h_hlt_triggers->GetXaxis()->GetBinLabel(ibin));
232 bin_name = std::regex_replace(bin_name, std::regex("=="), "_eq_");
233 bin_name = std::regex_replace(bin_name, std::regex("\\."), "_");
234 m_monObj->setVariable(bin_name.insert(0, "effCS_hlt_"), nentr);
235 }
236 }
237
238 if (h_meantime) {
239 // loop bins, add variable to monObj named as "secTime_" + bin label
240 for (int ibin = 1; ibin < h_meantime->GetXaxis()->GetNbins() + 1; ibin++) {
241 double nentr = (double)h_meantime->GetBinContent(ibin);
242 std::string bin_name(h_meantime->GetXaxis()->GetBinLabel(ibin));
243 m_monObj->setVariable(bin_name.insert(0, "secTime_"), nentr);
244 }
245 }
246
247 if (h_err_flag) {
248 // loop bins, add variable to monObj named as "errFlag_" + bin label
249 for (int ibin = 1; ibin < h_err_flag->GetXaxis()->GetNbins() + 1; ibin++) {
250 double nentr = (double)h_err_flag->GetBinContent(ibin);
251 std::string bin_name(h_err_flag->GetXaxis()->GetBinLabel(ibin));
252 m_monObj->setVariable(bin_name.insert(0, "errFlag_"), nentr);
253 }
254 }
255
256 if (h_l1_cat_w_overlap) {
257 // loop bins, add variable to monObj named as "l1_Ov_" + bin label
258 for (int ibin = 1; ibin < h_l1_cat_w_overlap->GetXaxis()->GetNbins() + 1; ibin++) {
259 double nentr = (double)h_l1_cat_w_overlap->GetBinContent(ibin);
260 std::string bin_name(h_l1_cat_w_overlap->GetXaxis()->GetBinLabel(ibin));
261 m_monObj->setVariable(bin_name.insert(0, "l1_Ov_"), nentr);
262 }
263 }
264
265 if (h_l1_cat_wo_overlap) {
266 // loop bins, add variable to monObj named as "l1_noOv_" + bin label
267 for (int ibin = 1; ibin < h_l1_cat_wo_overlap->GetXaxis()->GetNbins() + 1; ibin++) {
268 double nentr = (double)h_l1_cat_wo_overlap->GetBinContent(ibin);
269 std::string bin_name(h_l1_cat_wo_overlap->GetXaxis()->GetBinLabel(ibin));
270 m_monObj->setVariable(bin_name.insert(0, "l1_noOv_"), nentr);
271 }
272 }
273
274 if (h_GDL_ana_eff_shifter) {
275 // loop bins, add variable to monObj named as "GDLanaEffShifter_" + bin label
276 for (int ibin = 1; ibin < h_GDL_ana_eff_shifter->GetXaxis()->GetNbins() + 1; ibin++) {
277 double nentr = (double)h_GDL_ana_eff_shifter->GetBinContent(ibin);
278 std::string bin_name(h_GDL_ana_eff_shifter->GetXaxis()->GetBinLabel(ibin));
279 m_monObj->setVariable(bin_name.insert(0, "GDLanaEffShifter_"), nentr);
280 }
281 }
282
283 double bgt = 0.;
284 if (h_budget) bgt = h_budget->GetMean();
285 m_monObj->setVariable("budget_time", bgt);
286
287 m_monObj->setVariable("n_l1_x_budget_time", n_l1 * bgt);
288
289 double procTime = 0.;
290 if (h_processing) procTime = h_processing->GetMean();
291 m_monObj->setVariable("processing_time", procTime);
292
293 double procTimePassive = 0.;
294 if (h_proc_passive) procTimePassive = h_proc_passive->GetMean();
295 m_monObj->setVariable("processing_time_passive", procTimePassive);
296
297 double procTimeActive = 0.;
298 if (h_proc_active) procTimeActive = h_proc_active->GetMean();
299 m_monObj->setVariable("processing_time_active", procTimeActive);
300
301 double procTimePrefilterTiming = 0.;
302 if (h_proc_prefilter_time) procTimePrefilterTiming = h_proc_prefilter_time->GetMean();
303 m_monObj->setVariable("processing_time_prefilter_time", procTimePrefilterTiming);
304
305 double procTimePrefilterCDCECL = 0.;
306 if (h_proc_prefilter_cdcecl) procTimePrefilterCDCECL = h_proc_prefilter_cdcecl->GetMean();
307 m_monObj->setVariable("processing_time_prefilter_CDCECL", procTimePrefilterCDCECL);
308
309 double nEventsPassive = 0.;
310 if (h_proc_passive) nEventsPassive = h_proc_passive->GetEntries();
311 m_monObj->setVariable("N_events_passive", nEventsPassive);
312
313 double nEventsActive = 0.;
314 if (h_proc_active) nEventsActive = h_proc_active->GetEntries();
315 m_monObj->setVariable("N_events_active", nEventsActive);
316
317 double nEventsPrefilterTiming = 0.;
318 if (h_proc_prefilter_time) nEventsPrefilterTiming = h_proc_prefilter_time->GetEntries();
319 m_monObj->setVariable("N_events_prefilter_time", nEventsPrefilterTiming);
320
321 double nEventsPrefilterCDCECL = 0.;
322 if (h_proc_prefilter_cdcecl) nEventsPrefilterCDCECL = h_proc_prefilter_cdcecl->GetEntries();
323 m_monObj->setVariable("N_events_prefilter_CDCECL", nEventsPrefilterCDCECL);
324
325
326 double fullMemory = 0.;
327 if (h_full_mem) fullMemory = h_full_mem->GetBinLowEdge(h_full_mem->FindLastBinAbove(0) + 1);
328 m_monObj->setVariable("full_memory", fullMemory);
329
330 TH1* h_budgetUnit = nullptr;
331 TH1* h_memoryUnit = nullptr;
332
333 for (unsigned int index = 1; index <= HLTUnits::max_hlt_units; index++) {
334 // add budget time per unit
335 h_budgetUnit = findHist(("timing_statistics/fullTimePerUnitHistogram_HLT" + std::to_string(index)).c_str());
336 double bgunit = 0.;
337 if (h_budgetUnit) bgunit = h_budgetUnit->GetMean();
338 m_monObj->setVariable(("budget_time_HLT" + std::to_string(index)).c_str(), bgunit);
339 // add processing time per unit
340 h_budgetUnit = findHist(("timing_statistics/processingTimePerUnitHistogram_HLT" + std::to_string(index)).c_str());
341 if (h_budgetUnit) bgunit = h_budgetUnit->GetMean();
342 else bgunit = 0.;
343 m_monObj->setVariable(("processing_time_HLT" + std::to_string(index)).c_str(), bgunit);
344 // add memory per unit
345 h_memoryUnit = findHist(("timing_statistics/fullMemoryPerUnitHistogram_HLT" + std::to_string(index)).c_str());
346 double memunit = 0.;
347 if (h_memoryUnit && bgunit > 0) memunit = h_memoryUnit->GetBinLowEdge(h_memoryUnit->FindLastBinAbove(0.) + 1);
348 m_monObj->setVariable(("memory_HLT" + std::to_string(index)).c_str(), memunit);
349 }
350
351 //--- HLTprefilter monitoring ---//
352
353 // Silence uneccesary warnings //
354 RooMsgService::instance().setSilentMode(true);
355 RooMsgService::instance().setGlobalKillBelow(RooFit::WARNING);
356
357 double nKs_all = 0;
358 double nKs_active = 0;
359 double nKs_activeNotTime = 0;
360 double nKs_activeNotCDCECL = 0;
361
362 auto m_hKshortAllH = findHist("PhysicsObjects/hist_nKshortAllH");
363 auto m_hKshortActiveH = findHist("PhysicsObjects/hist_nKshortActiveH");
364 auto m_hKshortActiveNotTimeH = findHist("PhysicsObjects/hist_nKshortActiveNotTimeH");
365 auto m_hKshortActiveNotCDCECLH = findHist("PhysicsObjects/hist_nKshortActiveNotCDCECLH");
366
367 // Create RooPlot objects
368 RooPlot* m_KshortAll_frame = m_KsInvMass->frame() ;
369 RooPlot* m_KshortActive_frame = m_KsInvMass->frame() ;
370 RooPlot* m_KshortActiveNotTime_frame = m_KsInvMass->frame() ;
371 RooPlot* m_KshortActiveNotCDCECL_frame = m_KsInvMass->frame() ;
372
373 if (m_hKshortAllH) {
374 RooDataHist* KsHist_all = new RooDataHist("KsHist_all", "Histogram data", RooArgList(*m_KsInvMass), m_hKshortAllH);
375 m_KsPdf->fitTo(*KsHist_all, RooFit::Minos(true));
376 nKs_all = m_sig->getValV();
377 KsHist_all->plotOn(m_KshortAll_frame) ;
378 m_KsPdf->plotOn(m_KshortAll_frame);
379 m_KsPdf->paramOn(m_KshortAll_frame, RooFit::Layout(0.6, 0.9, 0.9));
380 delete KsHist_all;
381 }
382 m_monObj->setVariable("nKs_all_hlt", nKs_all);
383
384 if (m_hKshortActiveH) {
385 RooDataHist* KsHist_active = new RooDataHist("KsHist_active", "Histogram data", RooArgList(*m_KsInvMass), m_hKshortActiveH);
386 m_KsPdf->fitTo(*KsHist_active, RooFit::Minos(true));
387 nKs_active = m_sig->getValV();
388 KsHist_active->plotOn(m_KshortActive_frame) ;
389 m_KsPdf->plotOn(m_KshortActive_frame);
390 m_KsPdf->paramOn(m_KshortActive_frame, RooFit::Layout(0.6, 0.9, 0.9));
391 delete KsHist_active;
392 }
393 m_monObj->setVariable("nKs_activeVeto_hlt", nKs_active);
394
395 if (m_hKshortActiveNotTimeH) {
396 RooDataHist* KsHist_activeNotTime = new RooDataHist("KsHist_activeNotTime", "Histogram data", RooArgList(*m_KsInvMass),
397 m_hKshortActiveNotTimeH);
398 m_KsPdf->fitTo(*KsHist_activeNotTime, RooFit::Minos(true));
399 nKs_activeNotTime = m_sig->getValV();
400 KsHist_activeNotTime->plotOn(m_KshortActiveNotTime_frame) ;
401 m_KsPdf->plotOn(m_KshortActiveNotTime_frame);
402 m_KsPdf->paramOn(m_KshortActiveNotTime_frame, RooFit::Layout(0.6, 0.9, 0.9));
403 delete KsHist_activeNotTime;
404 }
405 m_monObj->setVariable("nKs_activeVetoPrefilterTime_hlt", nKs_activeNotTime);
406
407 if (m_hKshortActiveNotCDCECLH) {
408 RooDataHist* KsHist_activeNotCDCECL = new RooDataHist("KsHist_activeNotCDCECL", "Histogram data", RooArgList(*m_KsInvMass),
409 m_hKshortActiveNotCDCECLH);
410 m_KsPdf->fitTo(*KsHist_activeNotCDCECL, RooFit::Minos(true));
411 nKs_activeNotCDCECL = m_sig->getValV();
412 KsHist_activeNotCDCECL->plotOn(m_KshortActiveNotCDCECL_frame) ;
413 m_KsPdf->plotOn(m_KshortActiveNotCDCECL_frame);
414 m_KsPdf->paramOn(m_KshortActiveNotCDCECL_frame, RooFit::Layout(0.6, 0.9, 0.9));
415 delete KsHist_activeNotCDCECL;
416 }
417 m_monObj->setVariable("nKs_activeVetoPrefilterCDCECL_hlt", nKs_activeNotCDCECL);
418
419 // set the contents of Ks canvas
420 m_c_nks->Clear(); // clear existing content
421 m_c_nks->cd();
422 m_c_nks->Divide(2, 2);
423
424 m_c_nks->cd(1);
425 m_KshortAll_frame->Draw();
426 m_c_nks->cd(2);
427 m_KshortActive_frame->Draw();
428 m_c_nks->cd(3);
429 m_KshortActiveNotTime_frame->Draw();
430 m_c_nks->cd(4);
431 m_KshortActiveNotCDCECL_frame->Draw();
432
433 B2DEBUG(20, "DQMHistAnalysisHLTMonObj : endRun called");
434}
435
437{
438 delete m_KsInvMass;
439 delete m_mean1;
440 delete m_sigma1;
441 delete m_gauss1;
442 delete m_mean2;
443 delete m_sigma2;
444 delete m_gauss2;
445 delete m_double_gauss;
446 delete m_slope;
447 delete m_chebpol;
448 delete m_sig;
449 delete m_bkg;
450 delete m_KsPdf;
451
452 B2DEBUG(20, "terminate called");
453}
RooRealVar * m_bkg
Number of background from fit.
TCanvas * m_c_ana_eff_shifter
Canvas with histogram related to ana_eff_shifter.
TCanvas * m_c_skim
Canvas with histograms related to HLT skims.
RooRealVar * m_frac
*Fraction of first gaussian in double gaussian
RooRealVar * m_mean2
Mean of first gaussian.
void initialize() override final
Initialize the Module.
RooRealVar * m_sigma1
*Sigma of second gaussian
RooRealVar * m_KsInvMass
Invariant mass of KS for HLTPrefilter monitoring.
TCanvas * m_c_l1
Canvas with histograms related to L1.
RooChebychev * m_chebpol
First order polynomial.
RooRealVar * m_sig
Number of Ks events from fit.
RooRealVar * m_mean1
*Mean of first gaussian
MonitoringObject * m_monObj
MonitoringObject to be produced by this module.
void terminate() override final
Termination action.
RooRealVar * m_slope
Slope for first order polynomial.
TCanvas * m_c_filter
Canvas with histograms related to HLT filter.
void endRun() override final
End-of-run action.
RooAddPdf * m_KsPdf
Fit PDF for Ks invariant mass.
RooRealVar * m_sigma2
*Sigma of second gaussian
RooAddPdf * m_double_gauss
Sum of two gaussian.
TCanvas * m_c_hardware
Canvas with histograms related to HLT hardware.
TCanvas * m_c_nks
Canvas to plot Ks histograms.
TCanvas * findCanvas(TString cname)
Find canvas by name.
static MonitoringObject * getMonitoringObject(const std::string &name)
Get MonitoringObject with given name (new object is created if non-existing)
static TH1 * findHist(const std::string &histname, bool onlyIfUpdated=false)
Get histogram from list (no other search).
DQMHistAnalysisModule()
Constructor / Destructor.
void setDescription(const std::string &description)
Sets the description of the module.
Definition Module.cc:214
void setPropertyFlags(unsigned int propertyFlags)
Sets the flags for the module properties.
Definition Module.cc:208
@ c_ParallelProcessingCertified
This module can be run in parallel processing mode safely (All I/O must be done through the data stor...
Definition Module.h:80
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
Definition Module.h:649
Abstract base class for different kinds of events.
STL namespace.