CMS 3D CMS Logo

MtdEleIsoHarvester.cc
Go to the documentation of this file.
1 #include <string>
2 
7 
10 
12 
14 public:
15  explicit MtdEleIsoHarvester(const edm::ParameterSet& iConfig);
16  ~MtdEleIsoHarvester() override;
17 
18  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
19 
20 protected:
22 
23 private:
25 
27  const bool optionalPlots_;
28 
29  // --- Histograms
36 
40 
44 
48 
52 
56 
60 
68 
70 
74 
78 
82 
86 
90 
94 
98 
102 
106 
110 
114 
118 
126 
128 
132 
136 
140 
144 
151 
155 
159 
163 
167 
171 
175 
183 
185 
189 
193 
197 
201 
208 
212 
216 
220 
224 
228 
232 
240 
242 
246 
250 
254 
258 };
259 
260 // ------------ constructor and destructor --------------
262  : folder_(iConfig.getParameter<std::string>("folder")),
263  optionalPlots_(iConfig.getParameter<bool>("option_plots")) {}
264 
266 
267 // auxiliary method to compute efficiency from the ratio of two 1D MonitorElement
269  for (int ibin = 1; ibin <= den->getNbinsX(); ibin++) {
270  double eff = num->getBinContent(ibin) / den->getBinContent(ibin);
271  double bin_err = sqrt((num->getBinContent(ibin) * (den->getBinContent(ibin) - num->getBinContent(ibin))) /
272  pow(den->getBinContent(ibin), 3));
273  if (den->getBinContent(ibin) == 0) {
274  eff = 0;
275  bin_err = 0;
276  }
277  result->setBinContent(ibin, eff);
278  result->setBinError(ibin, bin_err);
279  }
280 }
281 
282 // ------------ endjob tasks ----------------------------
284  // --- Get the monitoring histograms
285  // For promt (signal)
286  MonitorElement* meEle_pt_tot_Sig_EB_ = igetter.get(folder_ + "Ele_pT_tot_Sig_EB");
287  MonitorElement* meEle_pt_sim_tot_Sig_EB_ = igetter.get(folder_ + "Ele_pT_sim_tot_Sig_EB");
288  MonitorElement* meEle_pt_noMTD_Sig_EB_ = igetter.get(folder_ + "Ele_pT_noMTD_Sig_EB");
289  MonitorElement* meEle_pt_gen_Sig_EB_ = igetter.get(folder_ + "Ele_pT_gen_Sig_EB");
290 
291  MonitorElement* meEle_eta_tot_Sig_EB_ = igetter.get(folder_ + "Ele_eta_tot_Sig_EB");
292  MonitorElement* meEle_eta_noMTD_Sig_EB_ = igetter.get(folder_ + "Ele_eta_noMTD_Sig_EB");
293 
294  MonitorElement* meEle_phi_tot_Sig_EB_ = igetter.get(folder_ + "Ele_phi_tot_Sig_EB");
295  MonitorElement* meEle_phi_noMTD_Sig_EB_ = igetter.get(folder_ + "Ele_phi_noMTD_Sig_EB");
296  MonitorElement* meEle_pt_MTD_1_Sig_EB_ = igetter.get(folder_ + "Ele_pT_MTD_1_Sig_EB");
297  MonitorElement* meEle_eta_MTD_1_Sig_EB_ = igetter.get(folder_ + "Ele_eta_MTD_1_Sig_EB");
298  MonitorElement* meEle_phi_MTD_1_Sig_EB_ = igetter.get(folder_ + "Ele_phi_MTD_1_Sig_EB");
299 
300  MonitorElement* meEle_pt_MTD_2_Sig_EB_ = igetter.get(folder_ + "Ele_pT_MTD_2_Sig_EB");
301  MonitorElement* meEle_eta_MTD_2_Sig_EB_ = igetter.get(folder_ + "Ele_eta_MTD_2_Sig_EB");
302  MonitorElement* meEle_phi_MTD_2_Sig_EB_ = igetter.get(folder_ + "Ele_phi_MTD_2_Sig_EB");
303 
304  MonitorElement* meEle_pt_MTD_3_Sig_EB_ = igetter.get(folder_ + "Ele_pT_MTD_3_Sig_EB");
305  MonitorElement* meEle_eta_MTD_3_Sig_EB_ = igetter.get(folder_ + "Ele_eta_MTD_3_Sig_EB");
306  MonitorElement* meEle_phi_MTD_3_Sig_EB_ = igetter.get(folder_ + "Ele_phi_MTD_3_Sig_EB");
307 
308  MonitorElement* meEle_pt_MTD_4_Sig_EB_ = igetter.get(folder_ + "Ele_pT_MTD_4_Sig_EB");
309  MonitorElement* meEle_eta_MTD_4_Sig_EB_ = igetter.get(folder_ + "Ele_eta_MTD_4_Sig_EB");
310  MonitorElement* meEle_phi_MTD_4_Sig_EB_ = igetter.get(folder_ + "Ele_phi_MTD_4_Sig_EB");
311 
312  MonitorElement* meEle_pt_MTD_5_Sig_EB_ = igetter.get(folder_ + "Ele_pT_MTD_5_Sig_EB");
313  MonitorElement* meEle_eta_MTD_5_Sig_EB_ = igetter.get(folder_ + "Ele_eta_MTD_5_Sig_EB");
314  MonitorElement* meEle_phi_MTD_5_Sig_EB_ = igetter.get(folder_ + "Ele_phi_MTD_5_Sig_EB");
315 
316  MonitorElement* meEle_pt_MTD_6_Sig_EB_ = igetter.get(folder_ + "Ele_pT_MTD_6_Sig_EB");
317  MonitorElement* meEle_eta_MTD_6_Sig_EB_ = igetter.get(folder_ + "Ele_eta_MTD_6_Sig_EB");
318  MonitorElement* meEle_phi_MTD_6_Sig_EB_ = igetter.get(folder_ + "Ele_phi_MTD_6_Sig_EB");
319 
320  MonitorElement* meEle_pt_MTD_7_Sig_EB_ = igetter.get(folder_ + "Ele_pT_MTD_7_Sig_EB");
321  MonitorElement* meEle_eta_MTD_7_Sig_EB_ = igetter.get(folder_ + "Ele_eta_MTD_7_Sig_EB");
322  MonitorElement* meEle_phi_MTD_7_Sig_EB_ = igetter.get(folder_ + "Ele_phi_MTD_7_Sig_EB");
323 
324  MonitorElement* meEle_pt_sim_MTD_1_Sig_EB_ = igetter.get(folder_ + "Ele_pT_sim_MTD_1_Sig_EB");
325  MonitorElement* meEle_pt_sim_MTD_2_Sig_EB_ = igetter.get(folder_ + "Ele_pT_sim_MTD_2_Sig_EB");
326  MonitorElement* meEle_pt_sim_MTD_3_Sig_EB_ = igetter.get(folder_ + "Ele_pT_sim_MTD_3_Sig_EB");
327  MonitorElement* meEle_pt_sim_MTD_4_Sig_EB_ = igetter.get(folder_ + "Ele_pT_sim_MTD_4_Sig_EB");
328  MonitorElement* meEle_pt_sim_MTD_5_Sig_EB_ = igetter.get(folder_ + "Ele_pT_sim_MTD_5_Sig_EB");
329  MonitorElement* meEle_pt_sim_MTD_6_Sig_EB_ = igetter.get(folder_ + "Ele_pT_sim_MTD_6_Sig_EB");
330  MonitorElement* meEle_pt_sim_MTD_7_Sig_EB_ = igetter.get(folder_ + "Ele_pT_sim_MTD_7_Sig_EB");
331 
332  MonitorElement* meEle_pt_sim_MTD_2sigma_Sig_EB_ = igetter.get(folder_ + "Ele_pT_sim_MTD_2sigma_Sig_EB");
333  MonitorElement* meEle_pt_sim_MTD_3sigma_Sig_EB_ = igetter.get(folder_ + "Ele_pT_sim_MTD_3sigma_Sig_EB");
334  MonitorElement* meEle_pt_sim_MTD_4sigma_Sig_EB_ = igetter.get(folder_ + "Ele_pT_sim_MTD_4sigma_Sig_EB");
335 
336  MonitorElement* meEle_pt_MTD_2sigma_Sig_EB_ = igetter.get(folder_ + "Ele_pT_MTD_2sigma_Sig_EB");
337  MonitorElement* meEle_eta_MTD_2sigma_Sig_EB_ = igetter.get(folder_ + "Ele_eta_MTD_2sigma_Sig_EB");
338  MonitorElement* meEle_phi_MTD_2sigma_Sig_EB_ = igetter.get(folder_ + "Ele_phi_MTD_2sigma_Sig_EB");
339 
340  MonitorElement* meEle_pt_MTD_3sigma_Sig_EB_ = igetter.get(folder_ + "Ele_pT_MTD_3sigma_Sig_EB");
341  MonitorElement* meEle_eta_MTD_3sigma_Sig_EB_ = igetter.get(folder_ + "Ele_eta_MTD_3sigma_Sig_EB");
342  MonitorElement* meEle_phi_MTD_3sigma_Sig_EB_ = igetter.get(folder_ + "Ele_phi_MTD_3sigma_Sig_EB");
343 
344  MonitorElement* meEle_pt_MTD_4sigma_Sig_EB_ = igetter.get(folder_ + "Ele_pT_MTD_4sigma_Sig_EB");
345  MonitorElement* meEle_eta_MTD_4sigma_Sig_EB_ = igetter.get(folder_ + "Ele_eta_MTD_4sigma_Sig_EB");
346  MonitorElement* meEle_phi_MTD_4sigma_Sig_EB_ = igetter.get(folder_ + "Ele_phi_MTD_4sigma_Sig_EB");
347 
348  MonitorElement* meEle_pt_tot_Sig_EE_ = igetter.get(folder_ + "Ele_pT_tot_Sig_EE");
349  MonitorElement* meEle_pt_sim_tot_Sig_EE_ = igetter.get(folder_ + "Ele_pT_sim_tot_Sig_EE");
350  MonitorElement* meEle_pt_noMTD_Sig_EE_ = igetter.get(folder_ + "Ele_pT_noMTD_Sig_EE");
351  MonitorElement* meEle_pt_gen_Sig_EE_ = igetter.get(folder_ + "Ele_pT_gen_Sig_EE");
352 
353  MonitorElement* meEle_eta_tot_Sig_EE_ = igetter.get(folder_ + "Ele_eta_tot_Sig_EE");
354  MonitorElement* meEle_eta_noMTD_Sig_EE_ = igetter.get(folder_ + "Ele_eta_noMTD_Sig_EE");
355 
356  MonitorElement* meEle_phi_tot_Sig_EE_ = igetter.get(folder_ + "Ele_phi_tot_Sig_EE");
357  MonitorElement* meEle_phi_noMTD_Sig_EE_ = igetter.get(folder_ + "Ele_phi_noMTD_Sig_EE");
358  MonitorElement* meEle_pt_MTD_1_Sig_EE_ = igetter.get(folder_ + "Ele_pT_MTD_1_Sig_EE");
359  MonitorElement* meEle_eta_MTD_1_Sig_EE_ = igetter.get(folder_ + "Ele_eta_MTD_1_Sig_EE");
360  MonitorElement* meEle_phi_MTD_1_Sig_EE_ = igetter.get(folder_ + "Ele_phi_MTD_1_Sig_EE");
361 
362  MonitorElement* meEle_pt_MTD_2_Sig_EE_ = igetter.get(folder_ + "Ele_pT_MTD_2_Sig_EE");
363  MonitorElement* meEle_eta_MTD_2_Sig_EE_ = igetter.get(folder_ + "Ele_eta_MTD_2_Sig_EE");
364  MonitorElement* meEle_phi_MTD_2_Sig_EE_ = igetter.get(folder_ + "Ele_phi_MTD_2_Sig_EE");
365 
366  MonitorElement* meEle_pt_MTD_3_Sig_EE_ = igetter.get(folder_ + "Ele_pT_MTD_3_Sig_EE");
367  MonitorElement* meEle_eta_MTD_3_Sig_EE_ = igetter.get(folder_ + "Ele_eta_MTD_3_Sig_EE");
368  MonitorElement* meEle_phi_MTD_3_Sig_EE_ = igetter.get(folder_ + "Ele_phi_MTD_3_Sig_EE");
369 
370  MonitorElement* meEle_pt_MTD_4_Sig_EE_ = igetter.get(folder_ + "Ele_pT_MTD_4_Sig_EE");
371  MonitorElement* meEle_eta_MTD_4_Sig_EE_ = igetter.get(folder_ + "Ele_eta_MTD_4_Sig_EE");
372  MonitorElement* meEle_phi_MTD_4_Sig_EE_ = igetter.get(folder_ + "Ele_phi_MTD_4_Sig_EE");
373 
374  MonitorElement* meEle_pt_MTD_5_Sig_EE_ = igetter.get(folder_ + "Ele_pT_MTD_5_Sig_EE");
375  MonitorElement* meEle_eta_MTD_5_Sig_EE_ = igetter.get(folder_ + "Ele_eta_MTD_5_Sig_EE");
376  MonitorElement* meEle_phi_MTD_5_Sig_EE_ = igetter.get(folder_ + "Ele_phi_MTD_5_Sig_EE");
377 
378  MonitorElement* meEle_pt_MTD_6_Sig_EE_ = igetter.get(folder_ + "Ele_pT_MTD_6_Sig_EE");
379  MonitorElement* meEle_eta_MTD_6_Sig_EE_ = igetter.get(folder_ + "Ele_eta_MTD_6_Sig_EE");
380  MonitorElement* meEle_phi_MTD_6_Sig_EE_ = igetter.get(folder_ + "Ele_phi_MTD_6_Sig_EE");
381 
382  MonitorElement* meEle_pt_MTD_7_Sig_EE_ = igetter.get(folder_ + "Ele_pT_MTD_7_Sig_EE");
383  MonitorElement* meEle_eta_MTD_7_Sig_EE_ = igetter.get(folder_ + "Ele_eta_MTD_7_Sig_EE");
384  MonitorElement* meEle_phi_MTD_7_Sig_EE_ = igetter.get(folder_ + "Ele_phi_MTD_7_Sig_EE");
385 
386  MonitorElement* meEle_pt_sim_MTD_1_Sig_EE_ = igetter.get(folder_ + "Ele_pT_sim_MTD_1_Sig_EE");
387  MonitorElement* meEle_pt_sim_MTD_2_Sig_EE_ = igetter.get(folder_ + "Ele_pT_sim_MTD_2_Sig_EE");
388  MonitorElement* meEle_pt_sim_MTD_3_Sig_EE_ = igetter.get(folder_ + "Ele_pT_sim_MTD_3_Sig_EE");
389  MonitorElement* meEle_pt_sim_MTD_4_Sig_EE_ = igetter.get(folder_ + "Ele_pT_sim_MTD_4_Sig_EE");
390  MonitorElement* meEle_pt_sim_MTD_5_Sig_EE_ = igetter.get(folder_ + "Ele_pT_sim_MTD_5_Sig_EE");
391  MonitorElement* meEle_pt_sim_MTD_6_Sig_EE_ = igetter.get(folder_ + "Ele_pT_sim_MTD_6_Sig_EE");
392  MonitorElement* meEle_pt_sim_MTD_7_Sig_EE_ = igetter.get(folder_ + "Ele_pT_sim_MTD_7_Sig_EE");
393 
394  MonitorElement* meEle_pt_sim_MTD_2sigma_Sig_EE_ = igetter.get(folder_ + "Ele_pT_sim_MTD_2sigma_Sig_EE");
395  MonitorElement* meEle_pt_sim_MTD_3sigma_Sig_EE_ = igetter.get(folder_ + "Ele_pT_sim_MTD_3sigma_Sig_EE");
396  MonitorElement* meEle_pt_sim_MTD_4sigma_Sig_EE_ = igetter.get(folder_ + "Ele_pT_sim_MTD_4sigma_Sig_EE");
397 
398  MonitorElement* meEle_pt_MTD_2sigma_Sig_EE_ = igetter.get(folder_ + "Ele_pT_MTD_2sigma_Sig_EE");
399  MonitorElement* meEle_eta_MTD_2sigma_Sig_EE_ = igetter.get(folder_ + "Ele_eta_MTD_2sigma_Sig_EE");
400  MonitorElement* meEle_phi_MTD_2sigma_Sig_EE_ = igetter.get(folder_ + "Ele_phi_MTD_2sigma_Sig_EE");
401 
402  MonitorElement* meEle_pt_MTD_3sigma_Sig_EE_ = igetter.get(folder_ + "Ele_pT_MTD_3sigma_Sig_EE");
403  MonitorElement* meEle_eta_MTD_3sigma_Sig_EE_ = igetter.get(folder_ + "Ele_eta_MTD_3sigma_Sig_EE");
404  MonitorElement* meEle_phi_MTD_3sigma_Sig_EE_ = igetter.get(folder_ + "Ele_phi_MTD_3sigma_Sig_EE");
405 
406  MonitorElement* meEle_pt_MTD_4sigma_Sig_EE_ = igetter.get(folder_ + "Ele_pT_MTD_4sigma_Sig_EE");
407  MonitorElement* meEle_eta_MTD_4sigma_Sig_EE_ = igetter.get(folder_ + "Ele_eta_MTD_4sigma_Sig_EE");
408  MonitorElement* meEle_phi_MTD_4sigma_Sig_EE_ = igetter.get(folder_ + "Ele_phi_MTD_4sigma_Sig_EE");
409 
410  // for non-promt (background)
411  MonitorElement* meEle_pt_tot_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_tot_Bkg_EB");
412  MonitorElement* meEle_pt_sim_tot_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_sim_tot_Bkg_EB");
413  MonitorElement* meEle_pt_noMTD_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_noMTD_Bkg_EB");
414  MonitorElement* meEle_pt_gen_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_gen_Bkg_EB");
415 
416  MonitorElement* meEle_eta_tot_Bkg_EB_ = igetter.get(folder_ + "Ele_eta_tot_Bkg_EB");
417  MonitorElement* meEle_eta_noMTD_Bkg_EB_ = igetter.get(folder_ + "Ele_eta_noMTD_Bkg_EB");
418 
419  MonitorElement* meEle_phi_tot_Bkg_EB_ = igetter.get(folder_ + "Ele_phi_tot_Bkg_EB");
420  MonitorElement* meEle_phi_noMTD_Bkg_EB_ = igetter.get(folder_ + "Ele_phi_noMTD_Bkg_EB");
421  MonitorElement* meEle_pt_MTD_1_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_MTD_1_Bkg_EB");
422  MonitorElement* meEle_eta_MTD_1_Bkg_EB_ = igetter.get(folder_ + "Ele_eta_MTD_1_Bkg_EB");
423  MonitorElement* meEle_phi_MTD_1_Bkg_EB_ = igetter.get(folder_ + "Ele_phi_MTD_1_Bkg_EB");
424 
425  MonitorElement* meEle_pt_MTD_2_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_MTD_2_Bkg_EB");
426  MonitorElement* meEle_eta_MTD_2_Bkg_EB_ = igetter.get(folder_ + "Ele_eta_MTD_2_Bkg_EB");
427  MonitorElement* meEle_phi_MTD_2_Bkg_EB_ = igetter.get(folder_ + "Ele_phi_MTD_2_Bkg_EB");
428 
429  MonitorElement* meEle_pt_MTD_3_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_MTD_3_Bkg_EB");
430  MonitorElement* meEle_eta_MTD_3_Bkg_EB_ = igetter.get(folder_ + "Ele_eta_MTD_3_Bkg_EB");
431  MonitorElement* meEle_phi_MTD_3_Bkg_EB_ = igetter.get(folder_ + "Ele_phi_MTD_3_Bkg_EB");
432 
433  MonitorElement* meEle_pt_MTD_4_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_MTD_4_Bkg_EB");
434  MonitorElement* meEle_eta_MTD_4_Bkg_EB_ = igetter.get(folder_ + "Ele_eta_MTD_4_Bkg_EB");
435  MonitorElement* meEle_phi_MTD_4_Bkg_EB_ = igetter.get(folder_ + "Ele_phi_MTD_4_Bkg_EB");
436 
437  MonitorElement* meEle_pt_MTD_5_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_MTD_5_Bkg_EB");
438  MonitorElement* meEle_eta_MTD_5_Bkg_EB_ = igetter.get(folder_ + "Ele_eta_MTD_5_Bkg_EB");
439  MonitorElement* meEle_phi_MTD_5_Bkg_EB_ = igetter.get(folder_ + "Ele_phi_MTD_5_Bkg_EB");
440 
441  MonitorElement* meEle_pt_MTD_6_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_MTD_6_Bkg_EB");
442  MonitorElement* meEle_eta_MTD_6_Bkg_EB_ = igetter.get(folder_ + "Ele_eta_MTD_6_Bkg_EB");
443  MonitorElement* meEle_phi_MTD_6_Bkg_EB_ = igetter.get(folder_ + "Ele_phi_MTD_6_Bkg_EB");
444 
445  MonitorElement* meEle_pt_MTD_7_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_MTD_7_Bkg_EB");
446  MonitorElement* meEle_eta_MTD_7_Bkg_EB_ = igetter.get(folder_ + "Ele_eta_MTD_7_Bkg_EB");
447  MonitorElement* meEle_phi_MTD_7_Bkg_EB_ = igetter.get(folder_ + "Ele_phi_MTD_7_Bkg_EB");
448 
449  MonitorElement* meEle_pt_sim_MTD_1_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_sim_MTD_1_Bkg_EB");
450  MonitorElement* meEle_pt_sim_MTD_2_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_sim_MTD_2_Bkg_EB");
451  MonitorElement* meEle_pt_sim_MTD_3_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_sim_MTD_3_Bkg_EB");
452  MonitorElement* meEle_pt_sim_MTD_4_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_sim_MTD_4_Bkg_EB");
453  MonitorElement* meEle_pt_sim_MTD_5_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_sim_MTD_5_Bkg_EB");
454  MonitorElement* meEle_pt_sim_MTD_6_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_sim_MTD_6_Bkg_EB");
455  MonitorElement* meEle_pt_sim_MTD_7_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_sim_MTD_7_Bkg_EB");
456 
457  MonitorElement* meEle_pt_sim_MTD_2sigma_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_sim_MTD_2sigma_Bkg_EB");
458  MonitorElement* meEle_pt_sim_MTD_3sigma_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_sim_MTD_3sigma_Bkg_EB");
459  MonitorElement* meEle_pt_sim_MTD_4sigma_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_sim_MTD_4sigma_Bkg_EB");
460 
461  MonitorElement* meEle_pt_MTD_2sigma_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_MTD_2sigma_Bkg_EB");
462  MonitorElement* meEle_eta_MTD_2sigma_Bkg_EB_ = igetter.get(folder_ + "Ele_eta_MTD_2sigma_Bkg_EB");
463  MonitorElement* meEle_phi_MTD_2sigma_Bkg_EB_ = igetter.get(folder_ + "Ele_phi_MTD_2sigma_Bkg_EB");
464 
465  MonitorElement* meEle_pt_MTD_3sigma_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_MTD_3sigma_Bkg_EB");
466  MonitorElement* meEle_eta_MTD_3sigma_Bkg_EB_ = igetter.get(folder_ + "Ele_eta_MTD_3sigma_Bkg_EB");
467  MonitorElement* meEle_phi_MTD_3sigma_Bkg_EB_ = igetter.get(folder_ + "Ele_phi_MTD_3sigma_Bkg_EB");
468 
469  MonitorElement* meEle_pt_MTD_4sigma_Bkg_EB_ = igetter.get(folder_ + "Ele_pT_MTD_4sigma_Bkg_EB");
470  MonitorElement* meEle_eta_MTD_4sigma_Bkg_EB_ = igetter.get(folder_ + "Ele_eta_MTD_4sigma_Bkg_EB");
471  MonitorElement* meEle_phi_MTD_4sigma_Bkg_EB_ = igetter.get(folder_ + "Ele_phi_MTD_4sigma_Bkg_EB");
472 
473  MonitorElement* meEle_pt_tot_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_tot_Bkg_EE");
474  MonitorElement* meEle_pt_sim_tot_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_sim_tot_Bkg_EE");
475  MonitorElement* meEle_pt_noMTD_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_noMTD_Bkg_EE");
476  MonitorElement* meEle_pt_gen_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_gen_Bkg_EE");
477 
478  MonitorElement* meEle_eta_tot_Bkg_EE_ = igetter.get(folder_ + "Ele_eta_tot_Bkg_EE");
479  MonitorElement* meEle_eta_noMTD_Bkg_EE_ = igetter.get(folder_ + "Ele_eta_noMTD_Bkg_EE");
480 
481  MonitorElement* meEle_phi_tot_Bkg_EE_ = igetter.get(folder_ + "Ele_phi_tot_Bkg_EE");
482  MonitorElement* meEle_phi_noMTD_Bkg_EE_ = igetter.get(folder_ + "Ele_phi_noMTD_Bkg_EE");
483  MonitorElement* meEle_pt_MTD_1_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_MTD_1_Bkg_EE");
484  MonitorElement* meEle_eta_MTD_1_Bkg_EE_ = igetter.get(folder_ + "Ele_eta_MTD_1_Bkg_EE");
485  MonitorElement* meEle_phi_MTD_1_Bkg_EE_ = igetter.get(folder_ + "Ele_phi_MTD_1_Bkg_EE");
486 
487  MonitorElement* meEle_pt_MTD_2_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_MTD_2_Bkg_EE");
488  MonitorElement* meEle_eta_MTD_2_Bkg_EE_ = igetter.get(folder_ + "Ele_eta_MTD_2_Bkg_EE");
489  MonitorElement* meEle_phi_MTD_2_Bkg_EE_ = igetter.get(folder_ + "Ele_phi_MTD_2_Bkg_EE");
490 
491  MonitorElement* meEle_pt_MTD_3_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_MTD_3_Bkg_EE");
492  MonitorElement* meEle_eta_MTD_3_Bkg_EE_ = igetter.get(folder_ + "Ele_eta_MTD_3_Bkg_EE");
493  MonitorElement* meEle_phi_MTD_3_Bkg_EE_ = igetter.get(folder_ + "Ele_phi_MTD_3_Bkg_EE");
494 
495  MonitorElement* meEle_pt_MTD_4_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_MTD_4_Bkg_EE");
496  MonitorElement* meEle_eta_MTD_4_Bkg_EE_ = igetter.get(folder_ + "Ele_eta_MTD_4_Bkg_EE");
497  MonitorElement* meEle_phi_MTD_4_Bkg_EE_ = igetter.get(folder_ + "Ele_phi_MTD_4_Bkg_EE");
498 
499  MonitorElement* meEle_pt_MTD_5_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_MTD_5_Bkg_EE");
500  MonitorElement* meEle_eta_MTD_5_Bkg_EE_ = igetter.get(folder_ + "Ele_eta_MTD_5_Bkg_EE");
501  MonitorElement* meEle_phi_MTD_5_Bkg_EE_ = igetter.get(folder_ + "Ele_phi_MTD_5_Bkg_EE");
502 
503  MonitorElement* meEle_pt_MTD_6_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_MTD_6_Bkg_EE");
504  MonitorElement* meEle_eta_MTD_6_Bkg_EE_ = igetter.get(folder_ + "Ele_eta_MTD_6_Bkg_EE");
505  MonitorElement* meEle_phi_MTD_6_Bkg_EE_ = igetter.get(folder_ + "Ele_phi_MTD_6_Bkg_EE");
506 
507  MonitorElement* meEle_pt_MTD_7_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_MTD_7_Bkg_EE");
508  MonitorElement* meEle_eta_MTD_7_Bkg_EE_ = igetter.get(folder_ + "Ele_eta_MTD_7_Bkg_EE");
509  MonitorElement* meEle_phi_MTD_7_Bkg_EE_ = igetter.get(folder_ + "Ele_phi_MTD_7_Bkg_EE");
510 
511  MonitorElement* meEle_pt_sim_MTD_1_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_sim_MTD_1_Bkg_EE");
512  MonitorElement* meEle_pt_sim_MTD_2_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_sim_MTD_2_Bkg_EE");
513  MonitorElement* meEle_pt_sim_MTD_3_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_sim_MTD_3_Bkg_EE");
514  MonitorElement* meEle_pt_sim_MTD_4_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_sim_MTD_4_Bkg_EE");
515  MonitorElement* meEle_pt_sim_MTD_5_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_sim_MTD_5_Bkg_EE");
516  MonitorElement* meEle_pt_sim_MTD_6_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_sim_MTD_6_Bkg_EE");
517  MonitorElement* meEle_pt_sim_MTD_7_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_sim_MTD_7_Bkg_EE");
518 
519  MonitorElement* meEle_pt_sim_MTD_2sigma_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_sim_MTD_2sigma_Bkg_EE");
520  MonitorElement* meEle_pt_sim_MTD_3sigma_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_sim_MTD_3sigma_Bkg_EE");
521  MonitorElement* meEle_pt_sim_MTD_4sigma_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_sim_MTD_4sigma_Bkg_EE");
522 
523  MonitorElement* meEle_pt_MTD_2sigma_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_MTD_2sigma_Bkg_EE");
524  MonitorElement* meEle_eta_MTD_2sigma_Bkg_EE_ = igetter.get(folder_ + "Ele_eta_MTD_2sigma_Bkg_EE");
525  MonitorElement* meEle_phi_MTD_2sigma_Bkg_EE_ = igetter.get(folder_ + "Ele_phi_MTD_2sigma_Bkg_EE");
526 
527  MonitorElement* meEle_pt_MTD_3sigma_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_MTD_3sigma_Bkg_EE");
528  MonitorElement* meEle_eta_MTD_3sigma_Bkg_EE_ = igetter.get(folder_ + "Ele_eta_MTD_3sigma_Bkg_EE");
529  MonitorElement* meEle_phi_MTD_3sigma_Bkg_EE_ = igetter.get(folder_ + "Ele_phi_MTD_3sigma_Bkg_EE");
530 
531  MonitorElement* meEle_pt_MTD_4sigma_Bkg_EE_ = igetter.get(folder_ + "Ele_pT_MTD_4sigma_Bkg_EE");
532  MonitorElement* meEle_eta_MTD_4sigma_Bkg_EE_ = igetter.get(folder_ + "Ele_eta_MTD_4sigma_Bkg_EE");
533  MonitorElement* meEle_phi_MTD_4sigma_Bkg_EE_ = igetter.get(folder_ + "Ele_phi_MTD_4sigma_Bkg_EE");
534  if (optionalPlots_) {
535  if (!meEle_pt_tot_Sig_EB_ || !meEle_pt_MTD_1_Sig_EB_ || !meEle_pt_MTD_2_Sig_EB_ || !meEle_pt_MTD_3_Sig_EB_ ||
536  !meEle_pt_MTD_4_Sig_EB_ || !meEle_pt_MTD_5_Sig_EB_ || !meEle_pt_MTD_6_Sig_EB_ || !meEle_pt_MTD_7_Sig_EB_ ||
537  !meEle_pt_noMTD_Sig_EB_ || !meEle_eta_tot_Sig_EB_ || !meEle_eta_MTD_1_Sig_EB_ || !meEle_eta_MTD_2_Sig_EB_ ||
538  !meEle_eta_MTD_3_Sig_EB_ || !meEle_eta_MTD_4_Sig_EB_ || !meEle_eta_MTD_5_Sig_EB_ || !meEle_eta_MTD_6_Sig_EB_ ||
539  !meEle_eta_MTD_7_Sig_EB_ || !meEle_eta_noMTD_Sig_EB_ || !meEle_phi_tot_Sig_EB_ || !meEle_phi_MTD_1_Sig_EB_ ||
540  !meEle_phi_MTD_2_Sig_EB_ || !meEle_phi_MTD_3_Sig_EB_ || !meEle_phi_MTD_4_Sig_EB_ || !meEle_phi_MTD_5_Sig_EB_ ||
541  !meEle_phi_MTD_6_Sig_EB_ || !meEle_phi_MTD_7_Sig_EB_ || !meEle_phi_noMTD_Sig_EB_ || !meEle_pt_tot_Sig_EE_ ||
542  !meEle_pt_MTD_1_Sig_EE_ || !meEle_pt_MTD_2_Sig_EE_ || !meEle_pt_MTD_3_Sig_EE_ || !meEle_pt_MTD_4_Sig_EE_ ||
543  !meEle_pt_MTD_5_Sig_EE_ || !meEle_pt_MTD_6_Sig_EE_ || !meEle_pt_MTD_7_Sig_EE_ || !meEle_pt_noMTD_Sig_EE_ ||
544  !meEle_eta_tot_Sig_EE_ || !meEle_eta_MTD_1_Sig_EE_ || !meEle_eta_MTD_2_Sig_EE_ || !meEle_eta_MTD_3_Sig_EE_ ||
545  !meEle_eta_MTD_4_Sig_EE_ || !meEle_eta_MTD_5_Sig_EE_ || !meEle_eta_MTD_6_Sig_EE_ || !meEle_eta_MTD_7_Sig_EE_ ||
546  !meEle_eta_noMTD_Sig_EE_ || !meEle_phi_tot_Sig_EE_ || !meEle_phi_MTD_1_Sig_EE_ || !meEle_phi_MTD_2_Sig_EE_ ||
547  !meEle_phi_MTD_3_Sig_EE_ || !meEle_phi_MTD_4_Sig_EE_ || !meEle_phi_MTD_5_Sig_EE_ || !meEle_phi_MTD_6_Sig_EE_ ||
548  !meEle_phi_MTD_7_Sig_EE_ || !meEle_phi_noMTD_Sig_EE_ || !meEle_pt_tot_Bkg_EB_ || !meEle_pt_MTD_1_Bkg_EB_ ||
549  !meEle_pt_MTD_2_Bkg_EB_ || !meEle_pt_MTD_3_Bkg_EB_ || !meEle_pt_MTD_4_Bkg_EB_ || !meEle_pt_MTD_5_Bkg_EB_ ||
550  !meEle_pt_MTD_6_Bkg_EB_ || !meEle_pt_MTD_7_Bkg_EB_ || !meEle_pt_noMTD_Bkg_EB_ || !meEle_eta_tot_Bkg_EB_ ||
551  !meEle_eta_MTD_1_Bkg_EB_ || !meEle_eta_MTD_2_Bkg_EB_ || !meEle_eta_MTD_3_Bkg_EB_ || !meEle_eta_MTD_4_Bkg_EB_ ||
552  !meEle_eta_MTD_5_Bkg_EB_ || !meEle_eta_MTD_6_Bkg_EB_ || !meEle_eta_MTD_7_Bkg_EB_ || !meEle_eta_noMTD_Bkg_EB_ ||
553  !meEle_phi_tot_Bkg_EB_ || !meEle_phi_MTD_1_Bkg_EB_ || !meEle_phi_MTD_2_Bkg_EB_ || !meEle_phi_MTD_3_Bkg_EB_ ||
554  !meEle_phi_MTD_4_Bkg_EB_ || !meEle_phi_MTD_5_Bkg_EB_ || !meEle_phi_MTD_6_Bkg_EB_ || !meEle_phi_MTD_7_Bkg_EB_ ||
555  !meEle_phi_noMTD_Bkg_EB_ || !meEle_pt_tot_Bkg_EE_ || !meEle_pt_MTD_1_Bkg_EE_ || !meEle_pt_MTD_2_Bkg_EE_ ||
556  !meEle_pt_MTD_3_Bkg_EE_ || !meEle_pt_MTD_4_Bkg_EE_ || !meEle_pt_MTD_5_Bkg_EE_ || !meEle_pt_MTD_6_Bkg_EE_ ||
557  !meEle_pt_MTD_7_Bkg_EE_ || !meEle_pt_noMTD_Bkg_EE_ || !meEle_eta_tot_Bkg_EE_ || !meEle_eta_MTD_1_Bkg_EE_ ||
558  !meEle_eta_MTD_2_Bkg_EE_ || !meEle_eta_MTD_3_Bkg_EE_ || !meEle_eta_MTD_4_Bkg_EE_ || !meEle_eta_MTD_5_Bkg_EE_ ||
559  !meEle_eta_MTD_6_Bkg_EE_ || !meEle_eta_MTD_7_Bkg_EE_ || !meEle_eta_noMTD_Bkg_EE_ || !meEle_phi_tot_Bkg_EE_ ||
560  !meEle_phi_MTD_1_Bkg_EE_ || !meEle_phi_MTD_2_Bkg_EE_ || !meEle_phi_MTD_3_Bkg_EE_ || !meEle_phi_MTD_4_Bkg_EE_ ||
561  !meEle_phi_MTD_5_Bkg_EE_ || !meEle_phi_MTD_6_Bkg_EE_ || !meEle_phi_MTD_7_Bkg_EE_ || !meEle_phi_noMTD_Bkg_EE_ ||
562  !meEle_pt_sim_MTD_1_Sig_EB_ || !meEle_pt_sim_MTD_2_Sig_EB_ || !meEle_pt_sim_MTD_3_Sig_EB_ ||
563  !meEle_pt_sim_MTD_4_Sig_EB_ || !meEle_pt_sim_MTD_5_Sig_EB_ || !meEle_pt_sim_MTD_6_Sig_EB_ ||
564  !meEle_pt_sim_MTD_7_Sig_EB_ || !meEle_pt_sim_MTD_1_Sig_EE_ || !meEle_pt_sim_MTD_2_Sig_EE_ ||
565  !meEle_pt_sim_MTD_3_Sig_EE_ || !meEle_pt_sim_MTD_4_Sig_EE_ || !meEle_pt_sim_MTD_5_Sig_EE_ ||
566  !meEle_pt_sim_MTD_6_Sig_EE_ || !meEle_pt_sim_MTD_7_Sig_EE_ || !meEle_pt_sim_MTD_1_Bkg_EB_ ||
567  !meEle_pt_sim_MTD_2_Bkg_EB_ || !meEle_pt_sim_MTD_3_Bkg_EB_ || !meEle_pt_sim_MTD_4_Bkg_EB_ ||
568  !meEle_pt_sim_MTD_5_Bkg_EB_ || !meEle_pt_sim_MTD_6_Bkg_EB_ || !meEle_pt_sim_MTD_7_Bkg_EB_ ||
569  !meEle_pt_sim_MTD_1_Bkg_EE_ || !meEle_pt_sim_MTD_2_Bkg_EE_ || !meEle_pt_sim_MTD_3_Bkg_EE_ ||
570  !meEle_pt_sim_MTD_4_Bkg_EE_ || !meEle_pt_sim_MTD_5_Bkg_EE_ || !meEle_pt_sim_MTD_6_Bkg_EE_ ||
571  !meEle_pt_sim_MTD_7_Bkg_EE_ || !meEle_pt_MTD_4sigma_Sig_EB_ || !meEle_pt_MTD_3sigma_Sig_EB_ ||
572  !meEle_pt_MTD_2sigma_Sig_EB_ || !meEle_pt_MTD_4sigma_Sig_EE_ || !meEle_pt_MTD_3sigma_Sig_EE_ ||
573  !meEle_pt_MTD_2sigma_Sig_EE_ || !meEle_pt_MTD_4sigma_Bkg_EB_ || !meEle_pt_MTD_3sigma_Bkg_EB_ ||
574  !meEle_pt_MTD_2sigma_Bkg_EB_ || !meEle_pt_MTD_4sigma_Bkg_EE_ || !meEle_pt_MTD_3sigma_Bkg_EE_ ||
575  !meEle_pt_MTD_2sigma_Bkg_EE_ || !meEle_pt_sim_MTD_4sigma_Sig_EB_ || !meEle_pt_sim_MTD_3sigma_Sig_EB_ ||
576  !meEle_pt_sim_MTD_2sigma_Sig_EB_ || !meEle_pt_sim_MTD_4sigma_Sig_EE_ || !meEle_pt_sim_MTD_3sigma_Sig_EE_ ||
577  !meEle_pt_sim_MTD_2sigma_Sig_EE_ || !meEle_pt_sim_MTD_4sigma_Bkg_EB_ || !meEle_pt_sim_MTD_3sigma_Bkg_EB_ ||
578  !meEle_pt_sim_MTD_2sigma_Bkg_EB_ || !meEle_pt_sim_MTD_4sigma_Bkg_EE_ || !meEle_pt_sim_MTD_3sigma_Bkg_EE_ ||
579  !meEle_pt_sim_MTD_2sigma_Bkg_EE_ || !meEle_pt_gen_Sig_EB_ || !meEle_pt_gen_Sig_EE_ || !meEle_pt_gen_Bkg_EB_ ||
580  !meEle_pt_gen_Bkg_EE_ || !meEle_eta_MTD_4sigma_Sig_EB_ || !meEle_eta_MTD_3sigma_Sig_EB_ ||
581  !meEle_eta_MTD_2sigma_Sig_EB_ || !meEle_phi_MTD_4sigma_Sig_EB_ || !meEle_phi_MTD_3sigma_Sig_EB_ ||
582  !meEle_phi_MTD_2sigma_Sig_EB_ || !meEle_eta_MTD_4sigma_Sig_EE_ || !meEle_eta_MTD_3sigma_Sig_EE_ ||
583  !meEle_eta_MTD_2sigma_Sig_EE_ || !meEle_phi_MTD_4sigma_Sig_EE_ || !meEle_phi_MTD_3sigma_Sig_EE_ ||
584  !meEle_phi_MTD_2sigma_Sig_EE_ || !meEle_eta_MTD_4sigma_Bkg_EB_ || !meEle_eta_MTD_3sigma_Bkg_EB_ ||
585  !meEle_eta_MTD_2sigma_Bkg_EB_ || !meEle_phi_MTD_4sigma_Bkg_EB_ || !meEle_phi_MTD_3sigma_Bkg_EB_ ||
586  !meEle_phi_MTD_2sigma_Bkg_EB_ || !meEle_eta_MTD_4sigma_Bkg_EE_ || !meEle_eta_MTD_3sigma_Bkg_EE_ ||
587  !meEle_eta_MTD_2sigma_Bkg_EE_ || !meEle_phi_MTD_4sigma_Bkg_EE_ || !meEle_phi_MTD_3sigma_Bkg_EE_ ||
588  !meEle_phi_MTD_2sigma_Bkg_EE_) {
589  edm::LogError("MtdEleIsoHarvester") << "Monitoring histograms not found!" << std::endl;
590  return;
591  }
592  } else {
593  if (!meEle_pt_tot_Sig_EB_ || !meEle_pt_noMTD_Sig_EB_ || !meEle_eta_tot_Sig_EB_ || !meEle_eta_noMTD_Sig_EB_ ||
594  !meEle_phi_tot_Sig_EB_ || !meEle_phi_noMTD_Sig_EB_ || !meEle_pt_tot_Sig_EE_ || !meEle_pt_noMTD_Sig_EE_ ||
595  !meEle_eta_tot_Sig_EE_ || !meEle_eta_noMTD_Sig_EE_ || !meEle_phi_tot_Sig_EE_ || !meEle_phi_noMTD_Sig_EE_ ||
596  !meEle_pt_tot_Bkg_EB_ || !meEle_pt_noMTD_Bkg_EB_ || !meEle_eta_tot_Bkg_EB_ || !meEle_eta_noMTD_Bkg_EB_ ||
597  !meEle_phi_tot_Bkg_EB_ || !meEle_phi_noMTD_Bkg_EB_ || !meEle_pt_tot_Bkg_EE_ || !meEle_pt_noMTD_Bkg_EE_ ||
598  !meEle_eta_tot_Bkg_EE_ || !meEle_eta_noMTD_Bkg_EE_ || !meEle_phi_tot_Bkg_EE_ || !meEle_phi_noMTD_Bkg_EE_ ||
599  !meEle_pt_MTD_4sigma_Sig_EB_ || !meEle_pt_MTD_3sigma_Sig_EB_ || !meEle_pt_MTD_2sigma_Sig_EB_ ||
600  !meEle_pt_MTD_4sigma_Sig_EE_ || !meEle_pt_MTD_3sigma_Sig_EE_ || !meEle_pt_MTD_2sigma_Sig_EE_ ||
601  !meEle_pt_MTD_4sigma_Bkg_EB_ || !meEle_pt_MTD_3sigma_Bkg_EB_ || !meEle_pt_MTD_2sigma_Bkg_EB_ ||
602  !meEle_pt_MTD_4sigma_Bkg_EE_ || !meEle_pt_MTD_3sigma_Bkg_EE_ || !meEle_pt_MTD_2sigma_Bkg_EE_ ||
603  !meEle_eta_MTD_4sigma_Sig_EB_ || !meEle_eta_MTD_3sigma_Sig_EB_ || !meEle_eta_MTD_2sigma_Sig_EB_ ||
604  !meEle_phi_MTD_4sigma_Sig_EB_ || !meEle_phi_MTD_3sigma_Sig_EB_ || !meEle_phi_MTD_2sigma_Sig_EB_ ||
605  !meEle_eta_MTD_4sigma_Sig_EE_ || !meEle_eta_MTD_3sigma_Sig_EE_ || !meEle_eta_MTD_2sigma_Sig_EE_ ||
606  !meEle_phi_MTD_4sigma_Sig_EE_ || !meEle_phi_MTD_3sigma_Sig_EE_ || !meEle_phi_MTD_2sigma_Sig_EE_ ||
607  !meEle_eta_MTD_4sigma_Bkg_EB_ || !meEle_eta_MTD_3sigma_Bkg_EB_ || !meEle_eta_MTD_2sigma_Bkg_EB_ ||
608  !meEle_phi_MTD_4sigma_Bkg_EB_ || !meEle_phi_MTD_3sigma_Bkg_EB_ || !meEle_phi_MTD_2sigma_Bkg_EB_ ||
609  !meEle_eta_MTD_4sigma_Bkg_EE_ || !meEle_eta_MTD_3sigma_Bkg_EE_ || !meEle_eta_MTD_2sigma_Bkg_EE_ ||
610  !meEle_phi_MTD_4sigma_Bkg_EE_ || !meEle_phi_MTD_3sigma_Bkg_EE_ || !meEle_phi_MTD_2sigma_Bkg_EE_) {
611  edm::LogError("MtdEleIsoHarvester") << "Monitoring histograms not found!" << std::endl;
612  return;
613  }
614  }
615  // --- Book histograms
616  ibook.cd(folder_);
617  // ele iso addition starts; MTD vs noMTD case
619  if (optionalPlots_) {
620  mePtEffMTD_1_Sig_EB_ = ibook.book1D("pTeffMTD_1_Sig_EB",
621  " MTD isolation Efficiency 1 Signal Barrel VS pT;p_{T};Efficiency",
622  meEle_pt_tot_Sig_EB_->getNbinsX(),
623  meEle_pt_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
624  meEle_pt_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
625  mePtEffMTD_1_Sig_EB_->getTH1()->SetMinimum(0.);
626  computeEfficiency1D(meEle_pt_MTD_1_Sig_EB_, meEle_pt_tot_Sig_EB_, mePtEffMTD_1_Sig_EB_);
627 
628  mePtEffMTD_2_Sig_EB_ = ibook.book1D("pTeffMTD_2_Sig_EB",
629  " MTD isolation Efficiency 2 Signal Barrel VS pT;p_{T};Efficiency",
630  meEle_pt_tot_Sig_EB_->getNbinsX(),
631  meEle_pt_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
632  meEle_pt_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
633  mePtEffMTD_2_Sig_EB_->getTH1()->SetMinimum(0.);
634  computeEfficiency1D(meEle_pt_MTD_2_Sig_EB_, meEle_pt_tot_Sig_EB_, mePtEffMTD_2_Sig_EB_);
635 
636  mePtEffMTD_3_Sig_EB_ = ibook.book1D("pTeffMTD_3_Sig_EB",
637  " MTD isolation Efficiency 3 Signal Barrel VS pT;p_{T};Efficiency",
638  meEle_pt_tot_Sig_EB_->getNbinsX(),
639  meEle_pt_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
640  meEle_pt_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
641  mePtEffMTD_3_Sig_EB_->getTH1()->SetMinimum(0.);
642  computeEfficiency1D(meEle_pt_MTD_3_Sig_EB_, meEle_pt_tot_Sig_EB_, mePtEffMTD_3_Sig_EB_);
643 
644  mePtEffMTD_4_Sig_EB_ = ibook.book1D("pTeffMTD_4_Sig_EB",
645  " MTD isolation Efficiency 4 Signal Barrel VS pT;p_{T};Efficiency",
646  meEle_pt_tot_Sig_EB_->getNbinsX(),
647  meEle_pt_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
648  meEle_pt_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
649  mePtEffMTD_4_Sig_EB_->getTH1()->SetMinimum(0.);
650  computeEfficiency1D(meEle_pt_MTD_4_Sig_EB_, meEle_pt_tot_Sig_EB_, mePtEffMTD_4_Sig_EB_);
651 
652  mePtEffMTD_5_Sig_EB_ = ibook.book1D("pTeffMTD_5_Sig_EB",
653  " MTD isolation Efficiency 5 Signal Barrel VS pT;p_{T};Efficiency",
654  meEle_pt_tot_Sig_EB_->getNbinsX(),
655  meEle_pt_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
656  meEle_pt_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
657  mePtEffMTD_5_Sig_EB_->getTH1()->SetMinimum(0.);
658  computeEfficiency1D(meEle_pt_MTD_5_Sig_EB_, meEle_pt_tot_Sig_EB_, mePtEffMTD_5_Sig_EB_);
659 
660  mePtEffMTD_6_Sig_EB_ = ibook.book1D("pTeffMTD_6_Sig_EB",
661  " MTD isolation Efficiency 6 Signal Barrel VS pT;p_{T};Efficiency",
662  meEle_pt_tot_Sig_EB_->getNbinsX(),
663  meEle_pt_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
664  meEle_pt_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
665  mePtEffMTD_6_Sig_EB_->getTH1()->SetMinimum(0.);
666  computeEfficiency1D(meEle_pt_MTD_6_Sig_EB_, meEle_pt_tot_Sig_EB_, mePtEffMTD_6_Sig_EB_);
667 
668  mePtEffMTD_7_Sig_EB_ = ibook.book1D("pTeffMTD_7_Sig_EB",
669  " MTD isolation Efficiency 7 Signal Barrel VS pT;p_{T};Efficiency",
670  meEle_pt_tot_Sig_EB_->getNbinsX(),
671  meEle_pt_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
672  meEle_pt_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
673  mePtEffMTD_7_Sig_EB_->getTH1()->SetMinimum(0.);
674  computeEfficiency1D(meEle_pt_MTD_7_Sig_EB_, meEle_pt_tot_Sig_EB_, mePtEffMTD_7_Sig_EB_);
675 
676  mePtEffMTD_sim_1_Sig_EB_ = ibook.book1D("mePtEffMTD_sim_1_Sig_EB",
677  " MTD isolation Efficiency 1 SIM Signal barrel VS pT;p_{T};Efficiency",
678  meEle_pt_sim_tot_Sig_EB_->getNbinsX(),
679  meEle_pt_sim_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
680  meEle_pt_sim_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
681  mePtEffMTD_sim_1_Sig_EB_->getTH1()->SetMinimum(0.);
682  computeEfficiency1D(meEle_pt_sim_MTD_1_Sig_EB_, meEle_pt_tot_Sig_EB_, mePtEffMTD_sim_1_Sig_EB_);
683 
684  mePtEffMTD_sim_2_Sig_EB_ = ibook.book1D("mePtEffMTD_sim_2_Sig_EB",
685  " MTD isolation Efficiency 2 SIM Signal barrel VS pT;p_{T};Efficiency",
686  meEle_pt_sim_tot_Sig_EB_->getNbinsX(),
687  meEle_pt_sim_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
688  meEle_pt_sim_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
689  mePtEffMTD_sim_2_Sig_EB_->getTH1()->SetMinimum(0.);
690  computeEfficiency1D(meEle_pt_sim_MTD_2_Sig_EB_, meEle_pt_tot_Sig_EB_, mePtEffMTD_sim_2_Sig_EB_);
691 
692  mePtEffMTD_sim_3_Sig_EB_ = ibook.book1D("mePtEffMTD_sim_3_Sig_EB",
693  " MTD isolation Efficiency 3 SIM Signal barrel VS pT;p_{T};Efficiency",
694  meEle_pt_sim_tot_Sig_EB_->getNbinsX(),
695  meEle_pt_sim_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
696  meEle_pt_sim_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
697  mePtEffMTD_sim_3_Sig_EB_->getTH1()->SetMinimum(0.);
698  computeEfficiency1D(meEle_pt_sim_MTD_3_Sig_EB_, meEle_pt_tot_Sig_EB_, mePtEffMTD_sim_3_Sig_EB_);
699 
700  mePtEffMTD_sim_4_Sig_EB_ = ibook.book1D("mePtEffMTD_sim_4_Sig_EB",
701  " MTD isolation Efficiency 4 SIM Signal barrel VS pT;p_{T};Efficiency",
702  meEle_pt_sim_tot_Sig_EB_->getNbinsX(),
703  meEle_pt_sim_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
704  meEle_pt_sim_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
705  mePtEffMTD_sim_4_Sig_EB_->getTH1()->SetMinimum(0.);
706  computeEfficiency1D(meEle_pt_sim_MTD_4_Sig_EB_, meEle_pt_tot_Sig_EB_, mePtEffMTD_sim_4_Sig_EB_);
707 
708  mePtEffMTD_sim_5_Sig_EB_ = ibook.book1D("mePtEffMTD_sim_5_Sig_EB",
709  " MTD isolation Efficiency 5 SIM Signal barrel VS pT;p_{T};Efficiency",
710  meEle_pt_sim_tot_Sig_EB_->getNbinsX(),
711  meEle_pt_sim_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
712  meEle_pt_sim_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
713  mePtEffMTD_sim_5_Sig_EB_->getTH1()->SetMinimum(0.);
714  computeEfficiency1D(meEle_pt_sim_MTD_5_Sig_EB_, meEle_pt_tot_Sig_EB_, mePtEffMTD_sim_5_Sig_EB_);
715 
716  mePtEffMTD_sim_6_Sig_EB_ = ibook.book1D("mePtEffMTD_sim_6_Sig_EB",
717  " MTD isolation Efficiency 6 SIM Signal barrel VS pT;p_{T};Efficiency",
718  meEle_pt_sim_tot_Sig_EB_->getNbinsX(),
719  meEle_pt_sim_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
720  meEle_pt_sim_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
721  mePtEffMTD_sim_6_Sig_EB_->getTH1()->SetMinimum(0.);
722  computeEfficiency1D(meEle_pt_sim_MTD_6_Sig_EB_, meEle_pt_tot_Sig_EB_, mePtEffMTD_sim_6_Sig_EB_);
723 
724  mePtEffMTD_sim_7_Sig_EB_ = ibook.book1D("mePtEffMTD_sim_7_Sig_EB",
725  " MTD isolation Efficiency 7 SIM Signal barrel VS pT;p_{T};Efficiency",
726  meEle_pt_sim_tot_Sig_EB_->getNbinsX(),
727  meEle_pt_sim_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
728  meEle_pt_sim_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
729  mePtEffMTD_sim_7_Sig_EB_->getTH1()->SetMinimum(0.);
730  computeEfficiency1D(meEle_pt_sim_MTD_7_Sig_EB_, meEle_pt_tot_Sig_EB_, mePtEffMTD_sim_7_Sig_EB_);
731 
733  ibook.book1D("pTeffMTD_sim_4sigma_Sig_EB",
734  " MTD isolation Efficiency SIM - 4 sigma compatibility - Signal Barrel VS pT;p_{T};Efficiency",
735  meEle_pt_sim_tot_Sig_EB_->getNbinsX(),
736  meEle_pt_sim_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
737  meEle_pt_sim_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
738  mePtEffMTD_sim_4sigma_Sig_EB_->getTH1()->SetMinimum(0.);
739  computeEfficiency1D(meEle_pt_sim_MTD_4sigma_Sig_EB_, meEle_pt_tot_Sig_EB_, mePtEffMTD_sim_4sigma_Sig_EB_);
740 
742  ibook.book1D("pTeffMTD_sim_3sigma_Sig_EB",
743  " MTD isolation Efficiency SIM - 3 sigma compatibility - Signal Barrel VS pT;p_{T};Efficiency",
744  meEle_pt_sim_tot_Sig_EB_->getNbinsX(),
745  meEle_pt_sim_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
746  meEle_pt_sim_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
747  mePtEffMTD_sim_3sigma_Sig_EB_->getTH1()->SetMinimum(0.);
748  computeEfficiency1D(meEle_pt_sim_MTD_3sigma_Sig_EB_, meEle_pt_tot_Sig_EB_, mePtEffMTD_sim_3sigma_Sig_EB_);
749 
751  ibook.book1D("pTeffMTD_sim_2sigma_Sig_EB",
752  " MTD isolation Efficiency SIM - 2 sigma compatibility - Signal Barrel VS pT;p_{T};Efficiency",
753  meEle_pt_sim_tot_Sig_EB_->getNbinsX(),
754  meEle_pt_sim_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
755  meEle_pt_sim_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
756  mePtEffMTD_sim_2sigma_Sig_EB_->getTH1()->SetMinimum(0.);
757  computeEfficiency1D(meEle_pt_sim_MTD_2sigma_Sig_EB_, meEle_pt_tot_Sig_EB_, mePtEffMTD_sim_2sigma_Sig_EB_);
758 
759  meEtaEffMTD_1_Sig_EB_ = ibook.book1D("EtaEffMTD_1_Sig_EB",
760  " MTD isolation Efficiency 1 Signal Barrel VS Eta;#eta;Efficiency",
761  meEle_eta_tot_Sig_EB_->getNbinsX(),
762  meEle_eta_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
763  meEle_eta_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
764  meEtaEffMTD_1_Sig_EB_->getTH1()->SetMinimum(0.);
765  computeEfficiency1D(meEle_eta_MTD_1_Sig_EB_, meEle_eta_tot_Sig_EB_, meEtaEffMTD_1_Sig_EB_);
766 
767  meEtaEffMTD_2_Sig_EB_ = ibook.book1D("EtaEffMTD_2_Sig_EB",
768  " MTD isolation Efficiency 2 Signal Barrel VS Eta;#eta;Efficiency",
769  meEle_eta_tot_Sig_EB_->getNbinsX(),
770  meEle_eta_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
771  meEle_eta_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
772  meEtaEffMTD_2_Sig_EB_->getTH1()->SetMinimum(0.);
773  computeEfficiency1D(meEle_eta_MTD_2_Sig_EB_, meEle_eta_tot_Sig_EB_, meEtaEffMTD_2_Sig_EB_);
774 
775  meEtaEffMTD_3_Sig_EB_ = ibook.book1D("EtaEffMTD_3_Sig_EB",
776  " MTD isolation Efficiency 3 Signal Barrel VS Eta;#eta;Efficiency",
777  meEle_eta_tot_Sig_EB_->getNbinsX(),
778  meEle_eta_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
779  meEle_eta_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
780  meEtaEffMTD_3_Sig_EB_->getTH1()->SetMinimum(0.);
781  computeEfficiency1D(meEle_eta_MTD_3_Sig_EB_, meEle_eta_tot_Sig_EB_, meEtaEffMTD_3_Sig_EB_);
782 
783  meEtaEffMTD_4_Sig_EB_ = ibook.book1D("EtaEffMTD_4_Sig_EB",
784  " MTD isolation Efficiency 4 Signal Barrel VS Eta;#eta;Efficiency",
785  meEle_eta_tot_Sig_EB_->getNbinsX(),
786  meEle_eta_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
787  meEle_eta_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
788  meEtaEffMTD_4_Sig_EB_->getTH1()->SetMinimum(0.);
789  computeEfficiency1D(meEle_eta_MTD_4_Sig_EB_, meEle_eta_tot_Sig_EB_, meEtaEffMTD_4_Sig_EB_);
790 
791  meEtaEffMTD_5_Sig_EB_ = ibook.book1D("EtaEffMTD_5_Sig_EB",
792  " MTD isolation Efficiency 5 Signal Barrel VS Eta;#eta;Efficiency",
793  meEle_eta_tot_Sig_EB_->getNbinsX(),
794  meEle_eta_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
795  meEle_eta_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
796  meEtaEffMTD_5_Sig_EB_->getTH1()->SetMinimum(0.);
797  computeEfficiency1D(meEle_eta_MTD_5_Sig_EB_, meEle_eta_tot_Sig_EB_, meEtaEffMTD_5_Sig_EB_);
798 
799  meEtaEffMTD_6_Sig_EB_ = ibook.book1D("EtaEffMTD_6_Sig_EB",
800  " MTD isolation Efficiency 6 Signal Barrel VS Eta;#eta;Efficiency",
801  meEle_eta_tot_Sig_EB_->getNbinsX(),
802  meEle_eta_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
803  meEle_eta_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
804  meEtaEffMTD_6_Sig_EB_->getTH1()->SetMinimum(0.);
805  computeEfficiency1D(meEle_eta_MTD_6_Sig_EB_, meEle_eta_tot_Sig_EB_, meEtaEffMTD_6_Sig_EB_);
806 
807  meEtaEffMTD_7_Sig_EB_ = ibook.book1D("EtaEffMTD_7_Sig_EB",
808  " MTD isolation Efficiency 7 Signal Barrel VS Eta;#eta;Efficiency",
809  meEle_eta_tot_Sig_EB_->getNbinsX(),
810  meEle_eta_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
811  meEle_eta_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
812  meEtaEffMTD_7_Sig_EB_->getTH1()->SetMinimum(0.);
813  computeEfficiency1D(meEle_eta_MTD_7_Sig_EB_, meEle_eta_tot_Sig_EB_, meEtaEffMTD_7_Sig_EB_);
814 
815  mePhiEffMTD_1_Sig_EB_ = ibook.book1D("PhiEffMTD_1_Sig_EB",
816  " MTD isolation Efficiency 1 Signal Barrel VS Phi;#phi;Efficiency",
817  meEle_phi_tot_Sig_EB_->getNbinsX(),
818  meEle_phi_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
819  meEle_phi_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
820  mePhiEffMTD_1_Sig_EB_->getTH1()->SetMinimum(0.);
821  computeEfficiency1D(meEle_phi_MTD_1_Sig_EB_, meEle_phi_tot_Sig_EB_, mePhiEffMTD_1_Sig_EB_);
822 
823  mePhiEffMTD_2_Sig_EB_ = ibook.book1D("PhiEffMTD_2_Sig_EB",
824  " MTD isolation Efficiency 2 Signal Barrel VS Phi;#phi;Efficiency",
825  meEle_phi_tot_Sig_EB_->getNbinsX(),
826  meEle_phi_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
827  meEle_phi_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
828  mePhiEffMTD_2_Sig_EB_->getTH1()->SetMinimum(0.);
829  computeEfficiency1D(meEle_phi_MTD_2_Sig_EB_, meEle_phi_tot_Sig_EB_, mePhiEffMTD_2_Sig_EB_);
830 
831  mePhiEffMTD_3_Sig_EB_ = ibook.book1D("PhiEffMTD_3_Sig_EB",
832  " MTD isolation Efficiency 3 Signal Barrel VS Phi;#phi;Efficiency",
833  meEle_phi_tot_Sig_EB_->getNbinsX(),
834  meEle_phi_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
835  meEle_phi_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
836  mePhiEffMTD_3_Sig_EB_->getTH1()->SetMinimum(0.);
837  computeEfficiency1D(meEle_phi_MTD_3_Sig_EB_, meEle_phi_tot_Sig_EB_, mePhiEffMTD_3_Sig_EB_);
838 
839  mePhiEffMTD_4_Sig_EB_ = ibook.book1D("PhiEffMTD_4_Sig_EB",
840  " MTD isolation Efficiency 4 Signal Barrel VS Phi;#phi;Efficiency",
841  meEle_phi_tot_Sig_EB_->getNbinsX(),
842  meEle_phi_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
843  meEle_phi_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
844  mePhiEffMTD_4_Sig_EB_->getTH1()->SetMinimum(0.);
845  computeEfficiency1D(meEle_phi_MTD_4_Sig_EB_, meEle_phi_tot_Sig_EB_, mePhiEffMTD_4_Sig_EB_);
846 
847  mePhiEffMTD_5_Sig_EB_ = ibook.book1D("PhiEffMTD_5_Sig_EB",
848  " MTD isolation Efficiency 5 Signal Barrel VS Phi;#phi;Efficiency",
849  meEle_phi_tot_Sig_EB_->getNbinsX(),
850  meEle_phi_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
851  meEle_phi_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
852  mePhiEffMTD_5_Sig_EB_->getTH1()->SetMinimum(0.);
853  computeEfficiency1D(meEle_phi_MTD_5_Sig_EB_, meEle_phi_tot_Sig_EB_, mePhiEffMTD_5_Sig_EB_);
854 
855  mePhiEffMTD_6_Sig_EB_ = ibook.book1D("PhiEffMTD_6_Sig_EB",
856  " MTD isolation Efficiency 6 Signal Barrel VS Phi;#phi;Efficiency",
857  meEle_phi_tot_Sig_EB_->getNbinsX(),
858  meEle_phi_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
859  meEle_phi_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
860  mePhiEffMTD_6_Sig_EB_->getTH1()->SetMinimum(0.);
861  computeEfficiency1D(meEle_phi_MTD_6_Sig_EB_, meEle_phi_tot_Sig_EB_, mePhiEffMTD_6_Sig_EB_);
862 
863  mePhiEffMTD_7_Sig_EB_ = ibook.book1D("PhiEffMTD_7_Sig_EB",
864  " MTD isolation Efficiency 7 Signal Barrel VS Phi;#phi;Efficiency",
865  meEle_phi_tot_Sig_EB_->getNbinsX(),
866  meEle_phi_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
867  meEle_phi_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
868  mePhiEffMTD_7_Sig_EB_->getTH1()->SetMinimum(0.);
869  computeEfficiency1D(meEle_phi_MTD_7_Sig_EB_, meEle_phi_tot_Sig_EB_, mePhiEffMTD_7_Sig_EB_);
870  }
871 
873  ibook.book1D("pTeffMTD_4sigma_Sig_EB",
874  "MTD isolation Efficiency - 4 sigma compatibility - Signal Barrel VS pT;p_{T};Efficiency",
875  meEle_pt_tot_Sig_EB_->getNbinsX(),
876  meEle_pt_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
877  meEle_pt_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
878  mePtEffMTD_4sigma_Sig_EB_->getTH1()->SetMinimum(0.);
879  computeEfficiency1D(meEle_pt_MTD_4sigma_Sig_EB_, meEle_pt_tot_Sig_EB_, mePtEffMTD_4sigma_Sig_EB_);
880 
882  ibook.book1D("pTeffMTD_3sigma_Sig_EB",
883  " MTD isolation Efficiency - 3 sigma compatibility - Signal Barrel VS pT;p_{T};Efficiency",
884  meEle_pt_tot_Sig_EB_->getNbinsX(),
885  meEle_pt_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
886  meEle_pt_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
887  mePtEffMTD_3sigma_Sig_EB_->getTH1()->SetMinimum(0.);
888  computeEfficiency1D(meEle_pt_MTD_3sigma_Sig_EB_, meEle_pt_tot_Sig_EB_, mePtEffMTD_3sigma_Sig_EB_);
889 
891  ibook.book1D("pTeffMTD_2sigma_Sig_EB",
892  " MTD isolation Efficiency - 2 sigma compatibility - Signal Barrel VS pT;p_{T};Efficiency",
893  meEle_pt_tot_Sig_EB_->getNbinsX(),
894  meEle_pt_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
895  meEle_pt_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
896  mePtEffMTD_2sigma_Sig_EB_->getTH1()->SetMinimum(0.);
897  computeEfficiency1D(meEle_pt_MTD_2sigma_Sig_EB_, meEle_pt_tot_Sig_EB_, mePtEffMTD_2sigma_Sig_EB_);
898 
900  ibook.book1D("EtaEffMTD_4sigma_Sig_EB",
901  " MTD isolation Efficiency - 4 sigma compatibility - Signal Barrel VS Eta;#eta;Efficiency",
902  meEle_eta_tot_Sig_EB_->getNbinsX(),
903  meEle_eta_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
904  meEle_eta_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
905  meEtaEffMTD_4sigma_Sig_EB_->getTH1()->SetMinimum(0.);
906  computeEfficiency1D(meEle_eta_MTD_4sigma_Sig_EB_, meEle_eta_tot_Sig_EB_, meEtaEffMTD_4sigma_Sig_EB_);
907 
909  ibook.book1D("EtaEffMTD_3sigma_Sig_EB",
910  " MTD isolation Efficiency - 3 sigma compatibility - Signal Barrel VS Eta;#eta;Efficiency",
911  meEle_eta_tot_Sig_EB_->getNbinsX(),
912  meEle_eta_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
913  meEle_eta_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
914  meEtaEffMTD_3sigma_Sig_EB_->getTH1()->SetMinimum(0.);
915  computeEfficiency1D(meEle_eta_MTD_3sigma_Sig_EB_, meEle_eta_tot_Sig_EB_, meEtaEffMTD_3sigma_Sig_EB_);
916 
918  ibook.book1D("EtaEffMTD_2sigma_Sig_EB",
919  " MTD isolation Efficiency - 2 sigma compatibility - Signal Barrel VS Eta;#eta;Efficiency",
920  meEle_eta_tot_Sig_EB_->getNbinsX(),
921  meEle_eta_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
922  meEle_eta_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
923  meEtaEffMTD_2sigma_Sig_EB_->getTH1()->SetMinimum(0.);
924  computeEfficiency1D(meEle_eta_MTD_2sigma_Sig_EB_, meEle_eta_tot_Sig_EB_, meEtaEffMTD_2sigma_Sig_EB_);
926  ibook.book1D("PhiEffMTD_4sigma_Sig_EB",
927  " MTD isolation Efficiency - 4 sigma compatibility - Signal Barrel VS Phi;#phi;Efficiency",
928  meEle_phi_tot_Sig_EB_->getNbinsX(),
929  meEle_phi_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
930  meEle_phi_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
931  mePhiEffMTD_4sigma_Sig_EB_->getTH1()->SetMinimum(0.);
932  computeEfficiency1D(meEle_phi_MTD_4sigma_Sig_EB_, meEle_phi_tot_Sig_EB_, mePhiEffMTD_4sigma_Sig_EB_);
933 
935  ibook.book1D("PhiEffMTD_3sigma_Sig_EB",
936  " MTD isolation Efficiency - 3 sigma compatibility - Signal Barrel VS Phi;#phi;Efficiency",
937  meEle_phi_tot_Sig_EB_->getNbinsX(),
938  meEle_phi_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
939  meEle_phi_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
940  mePhiEffMTD_3sigma_Sig_EB_->getTH1()->SetMinimum(0.);
941  computeEfficiency1D(meEle_phi_MTD_3sigma_Sig_EB_, meEle_phi_tot_Sig_EB_, mePhiEffMTD_3sigma_Sig_EB_);
942 
944  ibook.book1D("PhiEffMTD_2sigma_Sig_EB",
945  " MTD isolation Efficiency - 2 sigma compatibility - Signal Barrel VS Phi;#phi;Efficiency",
946  meEle_phi_tot_Sig_EB_->getNbinsX(),
947  meEle_phi_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
948  meEle_phi_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
949  mePhiEffMTD_2sigma_Sig_EB_->getTH1()->SetMinimum(0.);
950  computeEfficiency1D(meEle_phi_MTD_2sigma_Sig_EB_, meEle_phi_tot_Sig_EB_, mePhiEffMTD_2sigma_Sig_EB_);
951 
952  mePtEffnoMTD_Sig_EB_ = ibook.book1D("pTeffnoMTD_Sig_EB",
953  " noMTD isolation Efficiency - Signal Barrel VS pT;p_{T};Efficiency",
954  meEle_pt_tot_Sig_EB_->getNbinsX(),
955  meEle_pt_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
956  meEle_pt_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
957  mePtEffnoMTD_Sig_EB_->getTH1()->SetMinimum(0.);
958  computeEfficiency1D(meEle_pt_noMTD_Sig_EB_, meEle_pt_tot_Sig_EB_, mePtEffnoMTD_Sig_EB_);
959 
960  meEtaEffnoMTD_Sig_EB_ = ibook.book1D("EtaEffnoMTD_Sig_EB",
961  " noMTD isolation Efficiency - Signal Barrel VS Eta;#eta;Efficiency",
962  meEle_eta_tot_Sig_EB_->getNbinsX(),
963  meEle_eta_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
964  meEle_eta_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
965  meEtaEffnoMTD_Sig_EB_->getTH1()->SetMinimum(0.);
966  computeEfficiency1D(meEle_eta_noMTD_Sig_EB_, meEle_eta_tot_Sig_EB_, meEtaEffnoMTD_Sig_EB_);
967 
968  mePhiEffnoMTD_Sig_EB_ = ibook.book1D("PhiEffnoMTD_Sig_EB",
969  " noMTD isolation Efficiency - Signal Barrel VS Phi;#phi;Efficiency",
970  meEle_phi_tot_Sig_EB_->getNbinsX(),
971  meEle_phi_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
972  meEle_phi_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
973  mePhiEffnoMTD_Sig_EB_->getTH1()->SetMinimum(0.);
974  computeEfficiency1D(meEle_phi_noMTD_Sig_EB_, meEle_phi_tot_Sig_EB_, mePhiEffnoMTD_Sig_EB_);
975 
976  if (optionalPlots_) {
977  mePtEffgen_Sig_EB_ = ibook.book1D("pTeffMTD_gen_Sig_EB",
978  " MTD isolation Efficiency - genInfo - Signal Barrel VS pT;p_{T};Efficiency",
979  meEle_pt_sim_tot_Sig_EB_->getNbinsX(),
980  meEle_pt_sim_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmin(),
981  meEle_pt_sim_tot_Sig_EB_->getTH1()->GetXaxis()->GetXmax());
982  mePtEffgen_Sig_EB_->getTH1()->SetMinimum(0.);
983  computeEfficiency1D(meEle_pt_gen_Sig_EB_, meEle_pt_sim_tot_Sig_EB_, mePtEffgen_Sig_EB_);
984 
985  // Ele iso addition ends
986  // For endcap now
987  mePtEffMTD_1_Sig_EE_ = ibook.book1D("pTeffMTD_1_Sig_EE",
988  " MTD isolation Efficiency - 1 Signal Endcap VS pT;p_{T};Efficiency",
989  meEle_pt_tot_Sig_EE_->getNbinsX(),
990  meEle_pt_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
991  meEle_pt_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
992  mePtEffMTD_1_Sig_EE_->getTH1()->SetMinimum(0.);
993  computeEfficiency1D(meEle_pt_MTD_1_Sig_EE_, meEle_pt_tot_Sig_EE_, mePtEffMTD_1_Sig_EE_);
994 
995  mePtEffMTD_2_Sig_EE_ = ibook.book1D("pTeffMTD_2_Sig_EE",
996  " MTD isolation Efficiency - 2 Signal Endcap VS pT;p_{T};Efficiency",
997  meEle_pt_tot_Sig_EE_->getNbinsX(),
998  meEle_pt_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
999  meEle_pt_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1000  mePtEffMTD_2_Sig_EE_->getTH1()->SetMinimum(0.);
1001  computeEfficiency1D(meEle_pt_MTD_2_Sig_EE_, meEle_pt_tot_Sig_EE_, mePtEffMTD_2_Sig_EE_);
1002 
1003  mePtEffMTD_3_Sig_EE_ = ibook.book1D("pTeffMTD_3_Sig_EE",
1004  " MTD isolation Efficiency - 3 Signal Endcap VS pT;p_{T};Efficiency",
1005  meEle_pt_tot_Sig_EE_->getNbinsX(),
1006  meEle_pt_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1007  meEle_pt_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1008  mePtEffMTD_3_Sig_EE_->getTH1()->SetMinimum(0.);
1009  computeEfficiency1D(meEle_pt_MTD_3_Sig_EE_, meEle_pt_tot_Sig_EE_, mePtEffMTD_3_Sig_EE_);
1010 
1011  mePtEffMTD_4_Sig_EE_ = ibook.book1D("pTeffMTD_4_Sig_EE",
1012  " MTD isolation Efficiency - 4 Signal Endcap VS pT;p_{T};Efficiency",
1013  meEle_pt_tot_Sig_EE_->getNbinsX(),
1014  meEle_pt_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1015  meEle_pt_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1016  mePtEffMTD_4_Sig_EE_->getTH1()->SetMinimum(0.);
1017  computeEfficiency1D(meEle_pt_MTD_4_Sig_EE_, meEle_pt_tot_Sig_EE_, mePtEffMTD_4_Sig_EE_);
1018 
1019  mePtEffMTD_5_Sig_EE_ = ibook.book1D("pTeffMTD_5_Sig_EE",
1020  " MTD isolation Efficiency - 5 Signal Endcap VS pT;p_{T};Efficiency",
1021  meEle_pt_tot_Sig_EE_->getNbinsX(),
1022  meEle_pt_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1023  meEle_pt_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1024  mePtEffMTD_5_Sig_EE_->getTH1()->SetMinimum(0.);
1025  computeEfficiency1D(meEle_pt_MTD_5_Sig_EE_, meEle_pt_tot_Sig_EE_, mePtEffMTD_5_Sig_EE_);
1026 
1027  mePtEffMTD_6_Sig_EE_ = ibook.book1D("pTeffMTD_6_Sig_EE",
1028  " MTD isolation Efficiency - 6 Signal Endcap VS pT;p_{T};Efficiency",
1029  meEle_pt_tot_Sig_EE_->getNbinsX(),
1030  meEle_pt_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1031  meEle_pt_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1032  mePtEffMTD_6_Sig_EE_->getTH1()->SetMinimum(0.);
1033  computeEfficiency1D(meEle_pt_MTD_6_Sig_EE_, meEle_pt_tot_Sig_EE_, mePtEffMTD_6_Sig_EE_);
1034 
1035  mePtEffMTD_7_Sig_EE_ = ibook.book1D("pTeffMTD_7_Sig_EE",
1036  " MTD isolation Efficiency - 7 Signal Endcap VS pT;p_{T};Efficiency",
1037  meEle_pt_tot_Sig_EE_->getNbinsX(),
1038  meEle_pt_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1039  meEle_pt_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1040  mePtEffMTD_7_Sig_EE_->getTH1()->SetMinimum(0.);
1041  computeEfficiency1D(meEle_pt_MTD_7_Sig_EE_, meEle_pt_tot_Sig_EE_, mePtEffMTD_7_Sig_EE_);
1042 
1043  mePtEffMTD_sim_1_Sig_EE_ = ibook.book1D("mePtEffMTD_sim_1_Sig_EE_",
1044  " MTD isolation Efficiency - 1 SIM Signal Endcap VS pT;p_{T};Efficiency",
1045  meEle_pt_sim_tot_Sig_EE_->getNbinsX(),
1046  meEle_pt_sim_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1047  meEle_pt_sim_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1048  mePtEffMTD_sim_1_Sig_EE_->getTH1()->SetMinimum(0.);
1049  computeEfficiency1D(meEle_pt_sim_MTD_1_Sig_EE_, meEle_pt_tot_Sig_EE_, mePtEffMTD_sim_1_Sig_EE_);
1050 
1051  mePtEffMTD_sim_2_Sig_EE_ = ibook.book1D("mePtEffMTD_sim_2_Sig_EE_",
1052  " MTD isolation Efficiency - 2 SIM Signal Endcap VS pT;p_{T};Efficiency",
1053  meEle_pt_sim_tot_Sig_EE_->getNbinsX(),
1054  meEle_pt_sim_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1055  meEle_pt_sim_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1056  mePtEffMTD_sim_2_Sig_EE_->getTH1()->SetMinimum(0.);
1057  computeEfficiency1D(meEle_pt_sim_MTD_2_Sig_EE_, meEle_pt_tot_Sig_EE_, mePtEffMTD_sim_2_Sig_EE_);
1058 
1059  mePtEffMTD_sim_3_Sig_EE_ = ibook.book1D("mePtEffMTD_sim_3_Sig_EE_",
1060  " MTD isolation Efficiency - 3 SIM Signal Endcap VS pT;p_{T};Efficiency",
1061  meEle_pt_sim_tot_Sig_EE_->getNbinsX(),
1062  meEle_pt_sim_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1063  meEle_pt_sim_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1064  mePtEffMTD_sim_3_Sig_EE_->getTH1()->SetMinimum(0.);
1065  computeEfficiency1D(meEle_pt_sim_MTD_3_Sig_EE_, meEle_pt_tot_Sig_EE_, mePtEffMTD_sim_3_Sig_EE_);
1066 
1067  mePtEffMTD_sim_4_Sig_EE_ = ibook.book1D("mePtEffMTD_sim_4_Sig_EE_",
1068  " MTD isolation Efficiency - 4 SIM Signal Endcap VS pT;p_{T};Efficiency",
1069  meEle_pt_sim_tot_Sig_EE_->getNbinsX(),
1070  meEle_pt_sim_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1071  meEle_pt_sim_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1072  mePtEffMTD_sim_4_Sig_EE_->getTH1()->SetMinimum(0.);
1073  computeEfficiency1D(meEle_pt_sim_MTD_4_Sig_EE_, meEle_pt_tot_Sig_EE_, mePtEffMTD_sim_4_Sig_EE_);
1074 
1075  mePtEffMTD_sim_5_Sig_EE_ = ibook.book1D("mePtEffMTD_sim_5_Sig_EE_",
1076  " MTD isolation Efficiency - 5 SIM Signal Endcap VS pT;p_{T};Efficiency",
1077  meEle_pt_sim_tot_Sig_EE_->getNbinsX(),
1078  meEle_pt_sim_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1079  meEle_pt_sim_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1080  mePtEffMTD_sim_5_Sig_EE_->getTH1()->SetMinimum(0.);
1081  computeEfficiency1D(meEle_pt_sim_MTD_5_Sig_EE_, meEle_pt_tot_Sig_EE_, mePtEffMTD_sim_5_Sig_EE_);
1082 
1083  mePtEffMTD_sim_6_Sig_EE_ = ibook.book1D("mePtEffMTD_sim_6_Sig_EE_",
1084  " MTD isolation Efficiency - 6 SIM Signal Endcap VS pT;p_{T};Efficiency",
1085  meEle_pt_sim_tot_Sig_EE_->getNbinsX(),
1086  meEle_pt_sim_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1087  meEle_pt_sim_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1088  mePtEffMTD_sim_6_Sig_EE_->getTH1()->SetMinimum(0.);
1089  computeEfficiency1D(meEle_pt_sim_MTD_6_Sig_EE_, meEle_pt_tot_Sig_EE_, mePtEffMTD_sim_6_Sig_EE_);
1090 
1091  mePtEffMTD_sim_7_Sig_EE_ = ibook.book1D("mePtEffMTD_sim_7_Sig_EE_",
1092  " MTD isolation Efficiency - 7 SIM Signal Endcap VS pT;p_{T};Efficiency",
1093  meEle_pt_sim_tot_Sig_EE_->getNbinsX(),
1094  meEle_pt_sim_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1095  meEle_pt_sim_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1096  mePtEffMTD_sim_7_Sig_EE_->getTH1()->SetMinimum(0.);
1097  computeEfficiency1D(meEle_pt_sim_MTD_7_Sig_EE_, meEle_pt_tot_Sig_EE_, mePtEffMTD_sim_7_Sig_EE_);
1098 
1100  ibook.book1D("pTeffMTD_sim_4sigma_Sig_EE",
1101  " MTD isolation Efficiency SIM - 4 sigma compatibility - Signal Endcap VS pT;p_{T};Efficiency",
1102  meEle_pt_sim_tot_Sig_EE_->getNbinsX(),
1103  meEle_pt_sim_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1104  meEle_pt_sim_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1105  mePtEffMTD_sim_4sigma_Sig_EE_->getTH1()->SetMinimum(0.);
1106  computeEfficiency1D(meEle_pt_sim_MTD_4sigma_Sig_EE_, meEle_pt_tot_Sig_EE_, mePtEffMTD_sim_4sigma_Sig_EE_);
1107 
1109  ibook.book1D("pTeffMTD_sim_3sigma_Sig_EE",
1110  " MTD isolation Efficiency SIM - 3 sigma compatibility - Signal Endcap VS pT;p_{T};Efficiency",
1111  meEle_pt_sim_tot_Sig_EE_->getNbinsX(),
1112  meEle_pt_sim_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1113  meEle_pt_sim_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1114  mePtEffMTD_sim_3sigma_Sig_EE_->getTH1()->SetMinimum(0.);
1115  computeEfficiency1D(meEle_pt_sim_MTD_3sigma_Sig_EE_, meEle_pt_tot_Sig_EE_, mePtEffMTD_sim_3sigma_Sig_EE_);
1116 
1118  ibook.book1D("pTeffMTD_sim_2sigma_Sig_EE",
1119  " MTD isolation Efficiency SIM - 2 sigma compatibility - Signal Endcap VS pT;p_{T};Efficiency",
1120  meEle_pt_sim_tot_Sig_EE_->getNbinsX(),
1121  meEle_pt_sim_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1122  meEle_pt_sim_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1123  mePtEffMTD_sim_2sigma_Sig_EE_->getTH1()->SetMinimum(0.);
1124  computeEfficiency1D(meEle_pt_sim_MTD_2sigma_Sig_EE_, meEle_pt_tot_Sig_EE_, mePtEffMTD_sim_2sigma_Sig_EE_);
1125 
1126  meEtaEffMTD_1_Sig_EE_ = ibook.book1D("EtaEffMTD_1_Sig_EE",
1127  " MTD isolation Efficiency 1 Signal Endcap VS Eta;#eta;Efficiency",
1128  meEle_eta_tot_Sig_EE_->getNbinsX(),
1129  meEle_eta_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1130  meEle_eta_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1131  meEtaEffMTD_1_Sig_EE_->getTH1()->SetMinimum(0.);
1132  computeEfficiency1D(meEle_eta_MTD_1_Sig_EE_, meEle_eta_tot_Sig_EE_, meEtaEffMTD_1_Sig_EE_);
1133 
1134  meEtaEffMTD_2_Sig_EE_ = ibook.book1D("EtaEffMTD_2_Sig_EE",
1135  " MTD isolation Efficiency 2 Signal Endcap VS Eta;#eta;Efficiency",
1136  meEle_eta_tot_Sig_EE_->getNbinsX(),
1137  meEle_eta_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1138  meEle_eta_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1139  meEtaEffMTD_2_Sig_EE_->getTH1()->SetMinimum(0.);
1140  computeEfficiency1D(meEle_eta_MTD_2_Sig_EE_, meEle_eta_tot_Sig_EE_, meEtaEffMTD_2_Sig_EE_);
1141 
1142  meEtaEffMTD_3_Sig_EE_ = ibook.book1D("EtaEffMTD_3_Sig_EE",
1143  " MTD isolation Efficiency 3 Signal Endcap VS Eta;#eta;Efficiency",
1144  meEle_eta_tot_Sig_EE_->getNbinsX(),
1145  meEle_eta_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1146  meEle_eta_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1147  meEtaEffMTD_3_Sig_EE_->getTH1()->SetMinimum(0.);
1148  computeEfficiency1D(meEle_eta_MTD_3_Sig_EE_, meEle_eta_tot_Sig_EE_, meEtaEffMTD_3_Sig_EE_);
1149 
1150  meEtaEffMTD_4_Sig_EE_ = ibook.book1D("EtaEffMTD_4_Sig_EE",
1151  " MTD isolation Efficiency 4 Signal Endcap VS Eta;#eta;Efficiency",
1152  meEle_eta_tot_Sig_EE_->getNbinsX(),
1153  meEle_eta_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1154  meEle_eta_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1155  meEtaEffMTD_4_Sig_EE_->getTH1()->SetMinimum(0.);
1156  computeEfficiency1D(meEle_eta_MTD_4_Sig_EE_, meEle_eta_tot_Sig_EE_, meEtaEffMTD_4_Sig_EE_);
1157 
1158  meEtaEffMTD_5_Sig_EE_ = ibook.book1D("EtaEffMTD_5_Sig_EE",
1159  " MTD isolation Efficiency 5 Signal Endcap VS Eta;#eta;Efficiency",
1160  meEle_eta_tot_Sig_EE_->getNbinsX(),
1161  meEle_eta_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1162  meEle_eta_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1163  meEtaEffMTD_5_Sig_EE_->getTH1()->SetMinimum(0.);
1164  computeEfficiency1D(meEle_eta_MTD_5_Sig_EE_, meEle_eta_tot_Sig_EE_, meEtaEffMTD_5_Sig_EE_);
1165 
1166  meEtaEffMTD_6_Sig_EE_ = ibook.book1D("EtaEffMTD_6_Sig_EE",
1167  " MTD isolation Efficiency 6 Signal Endcap VS Eta;#eta;Efficiency",
1168  meEle_eta_tot_Sig_EE_->getNbinsX(),
1169  meEle_eta_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1170  meEle_eta_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1171  meEtaEffMTD_6_Sig_EE_->getTH1()->SetMinimum(0.);
1172  computeEfficiency1D(meEle_eta_MTD_6_Sig_EE_, meEle_eta_tot_Sig_EE_, meEtaEffMTD_6_Sig_EE_);
1173 
1174  meEtaEffMTD_7_Sig_EE_ = ibook.book1D("EtaEffMTD_7_Sig_EE",
1175  " MTD isolation Efficiency 7 Signal Endcap VS Eta;#eta;Efficiency",
1176  meEle_eta_tot_Sig_EE_->getNbinsX(),
1177  meEle_eta_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1178  meEle_eta_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1179  meEtaEffMTD_7_Sig_EE_->getTH1()->SetMinimum(0.);
1180  computeEfficiency1D(meEle_eta_MTD_7_Sig_EE_, meEle_eta_tot_Sig_EE_, meEtaEffMTD_7_Sig_EE_);
1181 
1182  mePhiEffMTD_1_Sig_EE_ = ibook.book1D("PhiEffMTD_1_Sig_EE",
1183  " MTD isolation Efficiency - 1 Signal Endcap VS Phi;#phi;Efficiency",
1184  meEle_phi_tot_Sig_EE_->getNbinsX(),
1185  meEle_phi_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1186  meEle_phi_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1187  mePhiEffMTD_1_Sig_EE_->getTH1()->SetMinimum(0.);
1188  computeEfficiency1D(meEle_phi_MTD_1_Sig_EE_, meEle_phi_tot_Sig_EE_, mePhiEffMTD_1_Sig_EE_);
1189 
1190  mePhiEffMTD_2_Sig_EE_ = ibook.book1D("PhiEffMTD_2_Sig_EE",
1191  " MTD isolation Efficiency - 2 Signal Endcap VS Phi;#phi;Efficiency",
1192  meEle_phi_tot_Sig_EE_->getNbinsX(),
1193  meEle_phi_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1194  meEle_phi_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1195  mePhiEffMTD_2_Sig_EE_->getTH1()->SetMinimum(0.);
1196  computeEfficiency1D(meEle_phi_MTD_2_Sig_EE_, meEle_phi_tot_Sig_EE_, mePhiEffMTD_2_Sig_EE_);
1197 
1198  mePhiEffMTD_3_Sig_EE_ = ibook.book1D("PhiEffMTD_3_Sig_EE",
1199  " MTD isolation Efficiency - 3 Signal Endcap VS Phi;#phi;Efficiency",
1200  meEle_phi_tot_Sig_EE_->getNbinsX(),
1201  meEle_phi_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1202  meEle_phi_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1203  mePhiEffMTD_3_Sig_EE_->getTH1()->SetMinimum(0.);
1204  computeEfficiency1D(meEle_phi_MTD_3_Sig_EE_, meEle_phi_tot_Sig_EE_, mePhiEffMTD_3_Sig_EE_);
1205 
1206  mePhiEffMTD_4_Sig_EE_ = ibook.book1D("PhiEffMTD_4_Sig_EE",
1207  " MTD isolation Efficiency - 4 Signal Endcap VS Phi;#phi;Efficiency",
1208  meEle_phi_tot_Sig_EE_->getNbinsX(),
1209  meEle_phi_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1210  meEle_phi_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1211  mePhiEffMTD_4_Sig_EE_->getTH1()->SetMinimum(0.);
1212  computeEfficiency1D(meEle_phi_MTD_4_Sig_EE_, meEle_phi_tot_Sig_EE_, mePhiEffMTD_4_Sig_EE_);
1213 
1214  mePhiEffMTD_5_Sig_EE_ = ibook.book1D("PhiEffMTD_5_Sig_EE",
1215  " MTD isolation Efficiency - 5 Signal Endcap VS Phi;#phi;Efficiency",
1216  meEle_phi_tot_Sig_EE_->getNbinsX(),
1217  meEle_phi_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1218  meEle_phi_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1219  mePhiEffMTD_5_Sig_EE_->getTH1()->SetMinimum(0.);
1220  computeEfficiency1D(meEle_phi_MTD_5_Sig_EE_, meEle_phi_tot_Sig_EE_, mePhiEffMTD_5_Sig_EE_);
1221 
1222  mePhiEffMTD_6_Sig_EE_ = ibook.book1D("PhiEffMTD_6_Sig_EE",
1223  " MTD isolation Efficiency - 6 Signal Endcap VS Phi;#phi;Efficiency",
1224  meEle_phi_tot_Sig_EE_->getNbinsX(),
1225  meEle_phi_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1226  meEle_phi_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1227  mePhiEffMTD_6_Sig_EE_->getTH1()->SetMinimum(0.);
1228  computeEfficiency1D(meEle_phi_MTD_6_Sig_EE_, meEle_phi_tot_Sig_EE_, mePhiEffMTD_6_Sig_EE_);
1229 
1230  mePhiEffMTD_7_Sig_EE_ = ibook.book1D("PhiEffMTD_7_Sig_EE",
1231  " MTD isolation Efficiency - 7 Signal Endcap VS Phi;#phi;Efficiency",
1232  meEle_phi_tot_Sig_EE_->getNbinsX(),
1233  meEle_phi_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1234  meEle_phi_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1235  mePhiEffMTD_7_Sig_EE_->getTH1()->SetMinimum(0.);
1236  computeEfficiency1D(meEle_phi_MTD_7_Sig_EE_, meEle_phi_tot_Sig_EE_, mePhiEffMTD_7_Sig_EE_);
1237 
1238  mePtEffgen_Sig_EE_ = ibook.book1D("pTeffMTD_gen_Sig_EE",
1239  " MTD isolation Efficiency - genInfo - Signal Endcap VS pT;p_{T};Efficiency",
1240  meEle_pt_sim_tot_Sig_EE_->getNbinsX(),
1241  meEle_pt_sim_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1242  meEle_pt_sim_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1243  mePtEffgen_Sig_EE_->getTH1()->SetMinimum(0.);
1244  computeEfficiency1D(meEle_pt_gen_Sig_EE_, meEle_pt_sim_tot_Sig_EE_, mePtEffgen_Sig_EE_);
1245  }
1246 
1248  ibook.book1D("pTeffMTD_4sigma_Sig_EE",
1249  " MTD isolation Efficiency - 4 sigma compatibility - Signal Endcap VS pT;p_{T};Efficiency",
1250  meEle_pt_tot_Sig_EE_->getNbinsX(),
1251  meEle_pt_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1252  meEle_pt_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1253  mePtEffMTD_4sigma_Sig_EE_->getTH1()->SetMinimum(0.);
1254  computeEfficiency1D(meEle_pt_MTD_4sigma_Sig_EE_, meEle_pt_tot_Sig_EE_, mePtEffMTD_4sigma_Sig_EE_);
1255 
1257  ibook.book1D("pTeffMTD_3sigma_Sig_EE",
1258  " MTD isolation Efficiency - 3 sigma compatibility - Signal Endcap VS pT;p_{T};Efficiency",
1259  meEle_pt_tot_Sig_EE_->getNbinsX(),
1260  meEle_pt_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1261  meEle_pt_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1262  mePtEffMTD_3sigma_Sig_EE_->getTH1()->SetMinimum(0.);
1263  computeEfficiency1D(meEle_pt_MTD_3sigma_Sig_EE_, meEle_pt_tot_Sig_EE_, mePtEffMTD_3sigma_Sig_EE_);
1264 
1266  ibook.book1D("pTeffMTD_2sigma_Sig_EE",
1267  " MTD isolation Efficiency - 2 sigma compatibility - Signal Endcap VS pT;p_{T};Efficiency",
1268  meEle_pt_tot_Sig_EE_->getNbinsX(),
1269  meEle_pt_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1270  meEle_pt_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1271  mePtEffMTD_2sigma_Sig_EE_->getTH1()->SetMinimum(0.);
1272  computeEfficiency1D(meEle_pt_MTD_2sigma_Sig_EE_, meEle_pt_tot_Sig_EE_, mePtEffMTD_2sigma_Sig_EE_);
1273 
1275  ibook.book1D("EtaEffMTD_4sigma_Sig_EE",
1276  " MTD isolation Efficiency - 4 sigma compatibility - Signal Endcap VS Eta;#eta;Efficiency",
1277  meEle_eta_tot_Sig_EE_->getNbinsX(),
1278  meEle_eta_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1279  meEle_eta_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1280  meEtaEffMTD_4sigma_Sig_EE_->getTH1()->SetMinimum(0.);
1281  computeEfficiency1D(meEle_eta_MTD_4sigma_Sig_EE_, meEle_eta_tot_Sig_EE_, meEtaEffMTD_4sigma_Sig_EE_);
1282 
1284  ibook.book1D("EtaEffMTD_3sigma_Sig_EE",
1285  " MTD isolation Efficiency - 3 sigma compatibility - Signal Endcap VS Eta;#eta;Efficiency",
1286  meEle_eta_tot_Sig_EE_->getNbinsX(),
1287  meEle_eta_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1288  meEle_eta_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1289  meEtaEffMTD_3sigma_Sig_EE_->getTH1()->SetMinimum(0.);
1290  computeEfficiency1D(meEle_eta_MTD_3sigma_Sig_EE_, meEle_eta_tot_Sig_EE_, meEtaEffMTD_3sigma_Sig_EE_);
1291 
1293  ibook.book1D("EtaEffMTD_2sigma_Sig_EE",
1294  " MTD isolation Efficiency - 2 sigma compatibility - Signal Endcap VS Eta;#eta;Efficiency",
1295  meEle_eta_tot_Sig_EE_->getNbinsX(),
1296  meEle_eta_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1297  meEle_eta_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1298  meEtaEffMTD_2sigma_Sig_EE_->getTH1()->SetMinimum(0.);
1299  computeEfficiency1D(meEle_eta_MTD_2sigma_Sig_EE_, meEle_eta_tot_Sig_EE_, meEtaEffMTD_2sigma_Sig_EE_);
1300 
1302  ibook.book1D("PhiEffMTD_4sigma_Sig_EE",
1303  " MTD isolation Efficiency - 4 sigma compatibility - Signal Endcap VS Phi;#phi;Efficiency",
1304  meEle_phi_tot_Sig_EE_->getNbinsX(),
1305  meEle_phi_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1306  meEle_phi_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1307  mePhiEffMTD_4sigma_Sig_EE_->getTH1()->SetMinimum(0.);
1308  computeEfficiency1D(meEle_phi_MTD_4sigma_Sig_EE_, meEle_phi_tot_Sig_EE_, mePhiEffMTD_4sigma_Sig_EE_);
1309 
1311  ibook.book1D("PhiEffMTD_3sigma_Sig_EE",
1312  " MTD isolation Efficiency - 3 sigma compatibility - Signal Endcap VS Phi;#phi;Efficiency",
1313  meEle_phi_tot_Sig_EE_->getNbinsX(),
1314  meEle_phi_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1315  meEle_phi_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1316  mePhiEffMTD_3sigma_Sig_EE_->getTH1()->SetMinimum(0.);
1317  computeEfficiency1D(meEle_phi_MTD_3sigma_Sig_EE_, meEle_phi_tot_Sig_EE_, mePhiEffMTD_3sigma_Sig_EE_);
1318 
1320  ibook.book1D("PhiEffMTD_2sigma_Sig_EE",
1321  " MTD isolation Efficiency - 2 sigma compatibility - Signal Endcap VS Phi;#phi;Efficiency",
1322  meEle_phi_tot_Sig_EE_->getNbinsX(),
1323  meEle_phi_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1324  meEle_phi_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1325  mePhiEffMTD_2sigma_Sig_EE_->getTH1()->SetMinimum(0.);
1326  computeEfficiency1D(meEle_phi_MTD_2sigma_Sig_EE_, meEle_phi_tot_Sig_EE_, mePhiEffMTD_2sigma_Sig_EE_);
1327 
1328  mePtEffnoMTD_Sig_EE_ = ibook.book1D("pTeffnoMTD_Sig_EE",
1329  " noMTD isolation Efficiency - Signal Endcap VS pT;p_{T};Efficiency",
1330  meEle_pt_tot_Sig_EE_->getNbinsX(),
1331  meEle_pt_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1332  meEle_pt_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1333  mePtEffnoMTD_Sig_EE_->getTH1()->SetMinimum(0.);
1334  computeEfficiency1D(meEle_pt_noMTD_Sig_EE_, meEle_pt_tot_Sig_EE_, mePtEffnoMTD_Sig_EE_);
1335 
1336  meEtaEffnoMTD_Sig_EE_ = ibook.book1D("EtaEffnoMTD_Sig_EE",
1337  " noMTD isolation Efficiency - Signal Endcap VS Eta;#eta;Efficiency",
1338  meEle_eta_tot_Sig_EE_->getNbinsX(),
1339  meEle_eta_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1340  meEle_eta_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1341  meEtaEffnoMTD_Sig_EE_->getTH1()->SetMinimum(0.);
1342  computeEfficiency1D(meEle_eta_noMTD_Sig_EE_, meEle_eta_tot_Sig_EE_, meEtaEffnoMTD_Sig_EE_);
1343 
1344  mePhiEffnoMTD_Sig_EE_ = ibook.book1D("PhiEffnoMTD_Sig_EE",
1345  " noMTD isolation Efficiency - Signal Endcap VS Phi;#phi;Efficiency",
1346  meEle_phi_tot_Sig_EE_->getNbinsX(),
1347  meEle_phi_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmin(),
1348  meEle_phi_tot_Sig_EE_->getTH1()->GetXaxis()->GetXmax());
1349  mePhiEffnoMTD_Sig_EE_->getTH1()->SetMinimum(0.);
1350  computeEfficiency1D(meEle_phi_noMTD_Sig_EE_, meEle_phi_tot_Sig_EE_, mePhiEffnoMTD_Sig_EE_);
1351 
1353  if (optionalPlots_) {
1354  mePtEffMTD_1_Bkg_EB_ = ibook.book1D("pTeffMTD_1_Bkg_EB",
1355  " MTD isolation Efficiency - 1 Bkg Barrel VS pT;p_{T};Efficiency",
1356  meEle_pt_tot_Bkg_EB_->getNbinsX(),
1357  meEle_pt_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1358  meEle_pt_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1359  mePtEffMTD_1_Bkg_EB_->getTH1()->SetMinimum(0.);
1360  computeEfficiency1D(meEle_pt_MTD_1_Bkg_EB_, meEle_pt_tot_Bkg_EB_, mePtEffMTD_1_Bkg_EB_);
1361 
1362  mePtEffMTD_2_Bkg_EB_ = ibook.book1D("pTeffMTD_2_Bkg_EB",
1363  " MTD isolation Efficiency - 2 Bkg Barrel VS pT;p_{T};Efficiency",
1364  meEle_pt_tot_Bkg_EB_->getNbinsX(),
1365  meEle_pt_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1366  meEle_pt_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1367  mePtEffMTD_2_Bkg_EB_->getTH1()->SetMinimum(0.);
1368  computeEfficiency1D(meEle_pt_MTD_2_Bkg_EB_, meEle_pt_tot_Bkg_EB_, mePtEffMTD_2_Bkg_EB_);
1369 
1370  mePtEffMTD_3_Bkg_EB_ = ibook.book1D("pTeffMTD_3_Bkg_EB",
1371  " MTD isolation Efficiency - 3 Bkg Barrel VS pT;p_{T};Efficiency",
1372  meEle_pt_tot_Bkg_EB_->getNbinsX(),
1373  meEle_pt_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1374  meEle_pt_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1375  mePtEffMTD_3_Bkg_EB_->getTH1()->SetMinimum(0.);
1376  computeEfficiency1D(meEle_pt_MTD_3_Bkg_EB_, meEle_pt_tot_Bkg_EB_, mePtEffMTD_3_Bkg_EB_);
1377 
1378  mePtEffMTD_4_Bkg_EB_ = ibook.book1D("pTeffMTD_4_Bkg_EB",
1379  " MTD isolation Efficiency - 4 Bkg Barrel VS pT;p_{T};Efficiency",
1380  meEle_pt_tot_Bkg_EB_->getNbinsX(),
1381  meEle_pt_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1382  meEle_pt_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1383  mePtEffMTD_4_Bkg_EB_->getTH1()->SetMinimum(0.);
1384  computeEfficiency1D(meEle_pt_MTD_4_Bkg_EB_, meEle_pt_tot_Bkg_EB_, mePtEffMTD_4_Bkg_EB_);
1385 
1386  mePtEffMTD_5_Bkg_EB_ = ibook.book1D("pTeffMTD_5_Bkg_EB",
1387  " MTD isolation Efficiency - 5 Bkg Barrel VS pT;p_{T};Efficiency",
1388  meEle_pt_tot_Bkg_EB_->getNbinsX(),
1389  meEle_pt_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1390  meEle_pt_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1391  mePtEffMTD_5_Bkg_EB_->getTH1()->SetMinimum(0.);
1392  computeEfficiency1D(meEle_pt_MTD_5_Bkg_EB_, meEle_pt_tot_Bkg_EB_, mePtEffMTD_5_Bkg_EB_);
1393 
1394  mePtEffMTD_6_Bkg_EB_ = ibook.book1D("pTeffMTD_6_Bkg_EB",
1395  " MTD isolation Efficiency - 6 Bkg Barrel VS pT;p_{T};Efficiency",
1396  meEle_pt_tot_Bkg_EB_->getNbinsX(),
1397  meEle_pt_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1398  meEle_pt_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1399  mePtEffMTD_6_Bkg_EB_->getTH1()->SetMinimum(0.);
1400  computeEfficiency1D(meEle_pt_MTD_6_Bkg_EB_, meEle_pt_tot_Bkg_EB_, mePtEffMTD_6_Bkg_EB_);
1401 
1402  mePtEffMTD_7_Bkg_EB_ = ibook.book1D("pTeffMTD_7_Bkg_EB",
1403  " MTD isolation Efficiency - 7 Bkg Barrel VS pT;p_{T};Efficiency",
1404  meEle_pt_tot_Bkg_EB_->getNbinsX(),
1405  meEle_pt_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1406  meEle_pt_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1407  mePtEffMTD_7_Bkg_EB_->getTH1()->SetMinimum(0.);
1408  computeEfficiency1D(meEle_pt_MTD_7_Bkg_EB_, meEle_pt_tot_Bkg_EB_, mePtEffMTD_7_Bkg_EB_);
1409 
1410  mePtEffMTD_sim_1_Bkg_EB_ = ibook.book1D("mePtEffMTD_sim_1_Bkg_EB_",
1411  " MTD isolation Efficiency SIM - 1 Bkg Barrel VS pT;p_{T};Efficiency",
1412  meEle_pt_sim_tot_Bkg_EB_->getNbinsX(),
1413  meEle_pt_sim_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1414  meEle_pt_sim_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1415  mePtEffMTD_sim_1_Bkg_EB_->getTH1()->SetMinimum(0.);
1416  computeEfficiency1D(meEle_pt_sim_MTD_1_Bkg_EB_, meEle_pt_tot_Bkg_EB_, mePtEffMTD_sim_1_Bkg_EB_);
1417 
1418  mePtEffMTD_sim_2_Bkg_EB_ = ibook.book1D("mePtEffMTD_sim_2_Bkg_EB_",
1419  " MTD isolation Efficiency SIM - 2 Bkg Barrel VS pT;p_{T};Efficiency",
1420  meEle_pt_sim_tot_Bkg_EB_->getNbinsX(),
1421  meEle_pt_sim_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1422  meEle_pt_sim_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1423  mePtEffMTD_sim_2_Bkg_EB_->getTH1()->SetMinimum(0.);
1424  computeEfficiency1D(meEle_pt_sim_MTD_2_Bkg_EB_, meEle_pt_tot_Bkg_EB_, mePtEffMTD_sim_2_Bkg_EB_);
1425 
1426  mePtEffMTD_sim_3_Bkg_EB_ = ibook.book1D("mePtEffMTD_sim_3_Bkg_EB_",
1427  " MTD isolation Efficiency SIM - 3 Bkg Barrel VS pT;p_{T};Efficiency",
1428  meEle_pt_sim_tot_Bkg_EB_->getNbinsX(),
1429  meEle_pt_sim_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1430  meEle_pt_sim_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1431  mePtEffMTD_sim_3_Bkg_EB_->getTH1()->SetMinimum(0.);
1432  computeEfficiency1D(meEle_pt_sim_MTD_3_Bkg_EB_, meEle_pt_tot_Bkg_EB_, mePtEffMTD_sim_3_Bkg_EB_);
1433 
1434  mePtEffMTD_sim_4_Bkg_EB_ = ibook.book1D("mePtEffMTD_sim_4_Bkg_EB_",
1435  " MTD isolation Efficiency SIM - 4 Bkg Barrel VS pT;p_{T};Efficiency",
1436  meEle_pt_sim_tot_Bkg_EB_->getNbinsX(),
1437  meEle_pt_sim_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1438  meEle_pt_sim_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1439  mePtEffMTD_sim_4_Bkg_EB_->getTH1()->SetMinimum(0.);
1440  computeEfficiency1D(meEle_pt_sim_MTD_4_Bkg_EB_, meEle_pt_tot_Bkg_EB_, mePtEffMTD_sim_4_Bkg_EB_);
1441 
1442  mePtEffMTD_sim_5_Bkg_EB_ = ibook.book1D("mePtEffMTD_sim_5_Bkg_EB_",
1443  " MTD isolation Efficiency SIM - 5 Bkg Barrel VS pT;p_{T};Efficiency",
1444  meEle_pt_sim_tot_Bkg_EB_->getNbinsX(),
1445  meEle_pt_sim_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1446  meEle_pt_sim_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1447  mePtEffMTD_sim_5_Bkg_EB_->getTH1()->SetMinimum(0.);
1448  computeEfficiency1D(meEle_pt_sim_MTD_5_Bkg_EB_, meEle_pt_tot_Bkg_EB_, mePtEffMTD_sim_5_Bkg_EB_);
1449 
1450  mePtEffMTD_sim_6_Bkg_EB_ = ibook.book1D("mePtEffMTD_sim_6_Bkg_EB_",
1451  " MTD isolation Efficiency SIM - 6 Bkg Barrel VS pT;p_{T};Efficiency",
1452  meEle_pt_sim_tot_Bkg_EB_->getNbinsX(),
1453  meEle_pt_sim_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1454  meEle_pt_sim_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1455  mePtEffMTD_sim_6_Bkg_EB_->getTH1()->SetMinimum(0.);
1456  computeEfficiency1D(meEle_pt_sim_MTD_6_Bkg_EB_, meEle_pt_tot_Bkg_EB_, mePtEffMTD_sim_6_Bkg_EB_);
1457 
1458  mePtEffMTD_sim_7_Bkg_EB_ = ibook.book1D("mePtEffMTD_sim_7_Bkg_EB_",
1459  " MTD isolation Efficiency SIM - 7 Bkg Barrel VS pT;p_{T};Efficiency",
1460  meEle_pt_sim_tot_Bkg_EB_->getNbinsX(),
1461  meEle_pt_sim_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1462  meEle_pt_sim_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1463  mePtEffMTD_sim_7_Bkg_EB_->getTH1()->SetMinimum(0.);
1464  computeEfficiency1D(meEle_pt_sim_MTD_7_Bkg_EB_, meEle_pt_tot_Bkg_EB_, mePtEffMTD_sim_7_Bkg_EB_);
1465 
1467  ibook.book1D("pTeffMTD_sim_4sigma_Bkg_EB",
1468  " MTD isolation Efficiency SIM - 4 sigma compatibility - Bkg Barrel VS pT;p_{T};Efficiency",
1469  meEle_pt_sim_tot_Bkg_EB_->getNbinsX(),
1470  meEle_pt_sim_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1471  meEle_pt_sim_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1472  mePtEffMTD_sim_4sigma_Bkg_EB_->getTH1()->SetMinimum(0.);
1473  computeEfficiency1D(meEle_pt_sim_MTD_4sigma_Bkg_EB_, meEle_pt_tot_Bkg_EB_, mePtEffMTD_sim_4sigma_Bkg_EB_);
1474 
1476  ibook.book1D("pTeffMTD_sim_3sigma_Bkg_EB",
1477  " MTD isolation Efficiency SIM - 3 sigma compatibility - Bkg Barrel VS pT;p_{T};Efficiency",
1478  meEle_pt_sim_tot_Bkg_EB_->getNbinsX(),
1479  meEle_pt_sim_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1480  meEle_pt_sim_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1481  mePtEffMTD_sim_3sigma_Bkg_EB_->getTH1()->SetMinimum(0.);
1482  computeEfficiency1D(meEle_pt_sim_MTD_3sigma_Bkg_EB_, meEle_pt_tot_Bkg_EB_, mePtEffMTD_sim_3sigma_Bkg_EB_);
1483 
1485  ibook.book1D("pTeffMTD_sim_2sigma_Bkg_EB",
1486  " MTD isolation Efficiency SIM - 2 sigma compatibility - Bkg Barrel VS pT;p_{T};Efficiency",
1487  meEle_pt_sim_tot_Bkg_EB_->getNbinsX(),
1488  meEle_pt_sim_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1489  meEle_pt_sim_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1490  mePtEffMTD_sim_2sigma_Bkg_EB_->getTH1()->SetMinimum(0.);
1491  computeEfficiency1D(meEle_pt_sim_MTD_2sigma_Bkg_EB_, meEle_pt_tot_Bkg_EB_, mePtEffMTD_sim_2sigma_Bkg_EB_);
1492 
1493  meEtaEffMTD_1_Bkg_EB_ = ibook.book1D("EtaEffMTD_1_Bkg_EB",
1494  " MTD isolation Efficiency - 1 Bkg Barrel VS Eta;#eta;Efficiency",
1495  meEle_eta_tot_Bkg_EB_->getNbinsX(),
1496  meEle_eta_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1497  meEle_eta_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1498  meEtaEffMTD_1_Bkg_EB_->getTH1()->SetMinimum(0.);
1499  computeEfficiency1D(meEle_eta_MTD_1_Bkg_EB_, meEle_eta_tot_Bkg_EB_, meEtaEffMTD_1_Bkg_EB_);
1500 
1501  meEtaEffMTD_2_Bkg_EB_ = ibook.book1D("EtaEffMTD_2_Bkg_EB",
1502  " MTD isolation Efficiency - 2 Bkg Barrel VS Eta;#eta;Efficiency",
1503  meEle_eta_tot_Bkg_EB_->getNbinsX(),
1504  meEle_eta_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1505  meEle_eta_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1506  meEtaEffMTD_2_Bkg_EB_->getTH1()->SetMinimum(0.);
1507  computeEfficiency1D(meEle_eta_MTD_2_Bkg_EB_, meEle_eta_tot_Bkg_EB_, meEtaEffMTD_2_Bkg_EB_);
1508 
1509  meEtaEffMTD_3_Bkg_EB_ = ibook.book1D("EtaEffMTD_3_Bkg_EB",
1510  " MTD isolation Efficiency - 3 Bkg Barrel VS Eta;#eta;Efficiency",
1511  meEle_eta_tot_Bkg_EB_->getNbinsX(),
1512  meEle_eta_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1513  meEle_eta_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1514  meEtaEffMTD_3_Bkg_EB_->getTH1()->SetMinimum(0.);
1515  computeEfficiency1D(meEle_eta_MTD_3_Bkg_EB_, meEle_eta_tot_Bkg_EB_, meEtaEffMTD_3_Bkg_EB_);
1516 
1517  meEtaEffMTD_4_Bkg_EB_ = ibook.book1D("EtaEffMTD_4_Bkg_EB",
1518  " MTD isolation Efficiency - 4 Bkg Barrel VS Eta;#eta;Efficiency",
1519  meEle_eta_tot_Bkg_EB_->getNbinsX(),
1520  meEle_eta_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1521  meEle_eta_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1522  meEtaEffMTD_4_Bkg_EB_->getTH1()->SetMinimum(0.);
1523  computeEfficiency1D(meEle_eta_MTD_4_Bkg_EB_, meEle_eta_tot_Bkg_EB_, meEtaEffMTD_4_Bkg_EB_);
1524 
1525  meEtaEffMTD_5_Bkg_EB_ = ibook.book1D("EtaEffMTD_5_Bkg_EB",
1526  " MTD isolation Efficiency - 5 Bkg Barrel VS Eta;#eta;Efficiency",
1527  meEle_eta_tot_Bkg_EB_->getNbinsX(),
1528  meEle_eta_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1529  meEle_eta_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1530  meEtaEffMTD_5_Bkg_EB_->getTH1()->SetMinimum(0.);
1531  computeEfficiency1D(meEle_eta_MTD_5_Bkg_EB_, meEle_eta_tot_Bkg_EB_, meEtaEffMTD_5_Bkg_EB_);
1532 
1533  meEtaEffMTD_6_Bkg_EB_ = ibook.book1D("EtaEffMTD_6_Bkg_EB",
1534  " MTD isolation Efficiency - 6 Bkg Barrel VS Eta;#eta;Efficiency",
1535  meEle_eta_tot_Bkg_EB_->getNbinsX(),
1536  meEle_eta_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1537  meEle_eta_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1538  meEtaEffMTD_6_Bkg_EB_->getTH1()->SetMinimum(0.);
1539  computeEfficiency1D(meEle_eta_MTD_6_Bkg_EB_, meEle_eta_tot_Bkg_EB_, meEtaEffMTD_6_Bkg_EB_);
1540 
1541  meEtaEffMTD_7_Bkg_EB_ = ibook.book1D("EtaEffMTD_7_Bkg_EB",
1542  " MTD isolation Efficiency - 7 Bkg Barrel VS Eta;#eta;Efficiency",
1543  meEle_eta_tot_Bkg_EB_->getNbinsX(),
1544  meEle_eta_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1545  meEle_eta_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1546  meEtaEffMTD_7_Bkg_EB_->getTH1()->SetMinimum(0.);
1547  computeEfficiency1D(meEle_eta_MTD_7_Bkg_EB_, meEle_eta_tot_Bkg_EB_, meEtaEffMTD_7_Bkg_EB_);
1548 
1549  mePhiEffMTD_1_Bkg_EB_ = ibook.book1D("PhiEffMTD_1_Bkg_EB",
1550  " MTD isolation Efficiency - 1 Bkg Barrel VS Phi;#phi;Efficiency",
1551  meEle_phi_tot_Bkg_EB_->getNbinsX(),
1552  meEle_phi_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1553  meEle_phi_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1554  mePhiEffMTD_1_Bkg_EB_->getTH1()->SetMinimum(0.);
1555  computeEfficiency1D(meEle_phi_MTD_1_Bkg_EB_, meEle_phi_tot_Bkg_EB_, mePhiEffMTD_1_Bkg_EB_);
1556 
1557  mePhiEffMTD_2_Bkg_EB_ = ibook.book1D("PhiEffMTD_2_Bkg_EB",
1558  " MTD isolation Efficiency - 2 Bkg Barrel VS Phi;#phi;Efficiency",
1559  meEle_phi_tot_Bkg_EB_->getNbinsX(),
1560  meEle_phi_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1561  meEle_phi_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1562  mePhiEffMTD_2_Bkg_EB_->getTH1()->SetMinimum(0.);
1563  computeEfficiency1D(meEle_phi_MTD_2_Bkg_EB_, meEle_phi_tot_Bkg_EB_, mePhiEffMTD_2_Bkg_EB_);
1564 
1565  mePhiEffMTD_3_Bkg_EB_ = ibook.book1D("PhiEffMTD_3_Bkg_EB",
1566  " MTD isolation Efficiency - 3 Bkg Barrel VS Phi;#phi;Efficiency",
1567  meEle_phi_tot_Bkg_EB_->getNbinsX(),
1568  meEle_phi_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1569  meEle_phi_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1570  mePhiEffMTD_3_Bkg_EB_->getTH1()->SetMinimum(0.);
1571  computeEfficiency1D(meEle_phi_MTD_3_Bkg_EB_, meEle_phi_tot_Bkg_EB_, mePhiEffMTD_3_Bkg_EB_);
1572 
1573  mePhiEffMTD_4_Bkg_EB_ = ibook.book1D("PhiEffMTD_4_Bkg_EB",
1574  " MTD isolation Efficiency - 4 Bkg Barrel VS Phi;#phi;Efficiency",
1575  meEle_phi_tot_Bkg_EB_->getNbinsX(),
1576  meEle_phi_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1577  meEle_phi_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1578  mePhiEffMTD_4_Bkg_EB_->getTH1()->SetMinimum(0.);
1579  computeEfficiency1D(meEle_phi_MTD_4_Bkg_EB_, meEle_phi_tot_Bkg_EB_, mePhiEffMTD_4_Bkg_EB_);
1580 
1581  mePhiEffMTD_5_Bkg_EB_ = ibook.book1D("PhiEffMTD_5_Bkg_EB",
1582  " MTD isolation Efficiency - 5 Bkg Barrel VS Phi;#phi;Efficiency",
1583  meEle_phi_tot_Bkg_EB_->getNbinsX(),
1584  meEle_phi_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1585  meEle_phi_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1586  mePhiEffMTD_5_Bkg_EB_->getTH1()->SetMinimum(0.);
1587  computeEfficiency1D(meEle_phi_MTD_5_Bkg_EB_, meEle_phi_tot_Bkg_EB_, mePhiEffMTD_5_Bkg_EB_);
1588 
1589  mePhiEffMTD_6_Bkg_EB_ = ibook.book1D("PhiEffMTD_6_Bkg_EB",
1590  " MTD isolation Efficiency - 6 Bkg Barrel VS Phi;#phi;Efficiency",
1591  meEle_phi_tot_Bkg_EB_->getNbinsX(),
1592  meEle_phi_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1593  meEle_phi_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1594  mePhiEffMTD_6_Bkg_EB_->getTH1()->SetMinimum(0.);
1595  computeEfficiency1D(meEle_phi_MTD_6_Bkg_EB_, meEle_phi_tot_Bkg_EB_, mePhiEffMTD_6_Bkg_EB_);
1596 
1597  mePhiEffMTD_7_Bkg_EB_ = ibook.book1D("PhiEffMTD_7_Bkg_EB",
1598  " MTD isolation Efficiency - 7 Bkg Barrel VS Phi;#phi;Efficiency",
1599  meEle_phi_tot_Bkg_EB_->getNbinsX(),
1600  meEle_phi_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1601  meEle_phi_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1602  mePhiEffMTD_7_Bkg_EB_->getTH1()->SetMinimum(0.);
1603  computeEfficiency1D(meEle_phi_MTD_7_Bkg_EB_, meEle_phi_tot_Bkg_EB_, mePhiEffMTD_7_Bkg_EB_);
1604  }
1606  ibook.book1D("EtaEffMTD_4sigma_Bkg_EB",
1607  " MTD isolation Efficiency - 4 sigma compatibility - Bkg Endcap VS Eta;#eta;Efficiency",
1608  meEle_eta_tot_Bkg_EB_->getNbinsX(),
1609  meEle_eta_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1610  meEle_eta_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1611  meEtaEffMTD_4sigma_Bkg_EB_->getTH1()->SetMinimum(0.);
1612  computeEfficiency1D(meEle_eta_MTD_4sigma_Bkg_EB_, meEle_eta_tot_Bkg_EB_, meEtaEffMTD_4sigma_Bkg_EB_);
1613 
1615  ibook.book1D("EtaEffMTD_3sigma_Bkg_EB",
1616  " MTD isolation Efficiency - 3 sigma compatibility - Bkg Endcap VS Eta;#eta;Efficiency",
1617  meEle_eta_tot_Bkg_EB_->getNbinsX(),
1618  meEle_eta_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1619  meEle_eta_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1620  meEtaEffMTD_3sigma_Bkg_EB_->getTH1()->SetMinimum(0.);
1621  computeEfficiency1D(meEle_eta_MTD_3sigma_Bkg_EB_, meEle_eta_tot_Bkg_EB_, meEtaEffMTD_3sigma_Bkg_EB_);
1622 
1624  ibook.book1D("EtaEffMTD_2sigma_Bkg_EB",
1625  " MTD isolation Efficiency - 2 sigma compatibility - Bkg Endcap VS Eta;#eta;Efficiency",
1626  meEle_eta_tot_Bkg_EB_->getNbinsX(),
1627  meEle_eta_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1628  meEle_eta_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1629  meEtaEffMTD_2sigma_Bkg_EB_->getTH1()->SetMinimum(0.);
1630  computeEfficiency1D(meEle_eta_MTD_2sigma_Bkg_EB_, meEle_eta_tot_Bkg_EB_, meEtaEffMTD_2sigma_Bkg_EB_);
1631 
1633  ibook.book1D("PhiEffMTD_4sigma_Bkg_EB",
1634  " MTD isolation Efficiency - 4 sigma compatibility - Bkg Endcap VS Phi;#phi;Efficiency",
1635  meEle_phi_tot_Bkg_EB_->getNbinsX(),
1636  meEle_phi_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1637  meEle_phi_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1638  mePhiEffMTD_4sigma_Bkg_EB_->getTH1()->SetMinimum(0.);
1639  computeEfficiency1D(meEle_phi_MTD_4sigma_Bkg_EB_, meEle_phi_tot_Bkg_EB_, mePhiEffMTD_4sigma_Bkg_EB_);
1640 
1642  ibook.book1D("PhiEffMTD_3sigma_Bkg_EB",
1643  " MTD isolation Efficiency - 3 sigma compatibility - Bkg Endcap VS Phi;#phi;Efficiency",
1644  meEle_phi_tot_Bkg_EB_->getNbinsX(),
1645  meEle_phi_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1646  meEle_phi_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1647  mePhiEffMTD_3sigma_Bkg_EB_->getTH1()->SetMinimum(0.);
1648  computeEfficiency1D(meEle_phi_MTD_3sigma_Bkg_EB_, meEle_phi_tot_Bkg_EB_, mePhiEffMTD_3sigma_Bkg_EB_);
1649 
1651  ibook.book1D("PhiEffMTD_2sigma_Bkg_EB",
1652  " MTD isolation Efficiency - 2 sigma compatibility - Bkg Endcap VS Phi;#phi;Efficiency",
1653  meEle_phi_tot_Bkg_EB_->getNbinsX(),
1654  meEle_phi_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1655  meEle_phi_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1656  mePhiEffMTD_2sigma_Bkg_EB_->getTH1()->SetMinimum(0.);
1657  computeEfficiency1D(meEle_phi_MTD_2sigma_Bkg_EB_, meEle_phi_tot_Bkg_EB_, mePhiEffMTD_2sigma_Bkg_EB_);
1658 
1660  ibook.book1D("pTeffMTD_4sigma_Bkg_EB",
1661  " MTD isolation Efficiency - 4 sigma compatibility - Bkg Barrel VS pT;p_{T};Efficiency",
1662  meEle_pt_tot_Bkg_EB_->getNbinsX(),
1663  meEle_pt_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1664  meEle_pt_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1665  mePtEffMTD_4sigma_Bkg_EB_->getTH1()->SetMinimum(0.);
1666  computeEfficiency1D(meEle_pt_MTD_4sigma_Bkg_EB_, meEle_pt_tot_Bkg_EB_, mePtEffMTD_4sigma_Bkg_EB_);
1667 
1669  ibook.book1D("pTeffMTD_3sigma_Bkg_EB",
1670  " MTD isolation Efficiency - 3 sigma compatibility - Bkg Barrel VS pT;p_{T};Efficiency",
1671  meEle_pt_tot_Bkg_EB_->getNbinsX(),
1672  meEle_pt_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1673  meEle_pt_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1674  mePtEffMTD_3sigma_Bkg_EB_->getTH1()->SetMinimum(0.);
1675  computeEfficiency1D(meEle_pt_MTD_3sigma_Bkg_EB_, meEle_pt_tot_Bkg_EB_, mePtEffMTD_3sigma_Bkg_EB_);
1676 
1678  ibook.book1D("pTeffMTD_2sigma_Bkg_EB",
1679  " MTD isolation Efficiency - 2 sigma compatibility - Bkg Barrel VS pT;p_{T};Efficiency",
1680  meEle_pt_tot_Bkg_EB_->getNbinsX(),
1681  meEle_pt_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1682  meEle_pt_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1683  mePtEffMTD_2sigma_Bkg_EB_->getTH1()->SetMinimum(0.);
1684  computeEfficiency1D(meEle_pt_MTD_2sigma_Bkg_EB_, meEle_pt_tot_Bkg_EB_, mePtEffMTD_2sigma_Bkg_EB_);
1685  mePtEffnoMTD_Bkg_EB_ = ibook.book1D("pTeffnoMTD_Bkg_EB",
1686  " noMTD isolation Efficiency - Bkg Barrel VS pT;p_{T};Efficiency",
1687  meEle_pt_tot_Bkg_EB_->getNbinsX(),
1688  meEle_pt_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1689  meEle_pt_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1690  mePtEffnoMTD_Bkg_EB_->getTH1()->SetMinimum(0.);
1691  computeEfficiency1D(meEle_pt_noMTD_Bkg_EB_, meEle_pt_tot_Bkg_EB_, mePtEffnoMTD_Bkg_EB_);
1692 
1693  meEtaEffnoMTD_Bkg_EB_ = ibook.book1D("EtaEffnoMTD_Bkg_EB",
1694  " noMTD isolation Efficiency - Bkg Barrel VS pT;p_{T};Efficiency",
1695  meEle_eta_tot_Bkg_EB_->getNbinsX(),
1696  meEle_eta_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1697  meEle_eta_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1698  meEtaEffnoMTD_Bkg_EB_->getTH1()->SetMinimum(0.);
1699  computeEfficiency1D(meEle_eta_noMTD_Bkg_EB_, meEle_eta_tot_Bkg_EB_, meEtaEffnoMTD_Bkg_EB_);
1700 
1701  mePhiEffnoMTD_Bkg_EB_ = ibook.book1D("PhiEffnoMTD_Bkg_EB",
1702  " noMTD isolation Efficiency - Bkg Barrel VS pT;p_{T};Efficiency",
1703  meEle_phi_tot_Bkg_EB_->getNbinsX(),
1704  meEle_phi_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1705  meEle_phi_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1706  mePhiEffnoMTD_Bkg_EB_->getTH1()->SetMinimum(0.);
1707  computeEfficiency1D(meEle_phi_noMTD_Bkg_EB_, meEle_phi_tot_Bkg_EB_, mePhiEffnoMTD_Bkg_EB_);
1708 
1709  if (optionalPlots_) {
1710  mePtEffgen_Bkg_EB_ = ibook.book1D("pTeffMTD_gen_Bkg_EB",
1711  " MTD isolation Efficiency - genInfo - Bkg Barrel VS pT;p_{T};Efficiency",
1712  meEle_pt_sim_tot_Bkg_EB_->getNbinsX(),
1713  meEle_pt_sim_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmin(),
1714  meEle_pt_sim_tot_Bkg_EB_->getTH1()->GetXaxis()->GetXmax());
1715  mePtEffgen_Bkg_EB_->getTH1()->SetMinimum(0.);
1716  computeEfficiency1D(meEle_pt_gen_Bkg_EB_, meEle_pt_sim_tot_Bkg_EB_, mePtEffgen_Bkg_EB_);
1717 
1718  // Ele iso addition ends
1719  // For endcap now
1720  mePtEffMTD_1_Bkg_EE_ = ibook.book1D("pTeffMTD_1_Bkg_EE",
1721  " MTD isolation Efficiency - 1 BkgL Endcap VS pT;p_{T};Efficiency",
1722  meEle_pt_tot_Bkg_EE_->getNbinsX(),
1723  meEle_pt_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1724  meEle_pt_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1725  mePtEffMTD_1_Bkg_EE_->getTH1()->SetMinimum(0.);
1726  computeEfficiency1D(meEle_pt_MTD_1_Bkg_EE_, meEle_pt_tot_Bkg_EE_, mePtEffMTD_1_Bkg_EE_);
1727 
1728  mePtEffMTD_2_Bkg_EE_ = ibook.book1D("pTeffMTD_2_Bkg_EE",
1729  " MTD isolation Efficiency - 2 Bkg Endcap VS pT;p_{T};Efficiency",
1730  meEle_pt_tot_Bkg_EE_->getNbinsX(),
1731  meEle_pt_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1732  meEle_pt_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1733  mePtEffMTD_2_Bkg_EE_->getTH1()->SetMinimum(0.);
1734  computeEfficiency1D(meEle_pt_MTD_2_Bkg_EE_, meEle_pt_tot_Bkg_EE_, mePtEffMTD_2_Bkg_EE_);
1735 
1736  mePtEffMTD_3_Bkg_EE_ = ibook.book1D("pTeffMTD_3_Bkg_EE",
1737  " MTD isolation Efficiency - 3 Bkg Endcap VS pT;p_{T};Efficiency",
1738  meEle_pt_tot_Bkg_EE_->getNbinsX(),
1739  meEle_pt_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1740  meEle_pt_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1741  mePtEffMTD_3_Bkg_EE_->getTH1()->SetMinimum(0.);
1742  computeEfficiency1D(meEle_pt_MTD_3_Bkg_EE_, meEle_pt_tot_Bkg_EE_, mePtEffMTD_3_Bkg_EE_);
1743 
1744  mePtEffMTD_4_Bkg_EE_ = ibook.book1D("pTeffMTD_4_Bkg_EE",
1745  " MTD isolation Efficiency - 4 Bkg Endcap VS pT;p_{T};Efficiency",
1746  meEle_pt_tot_Bkg_EE_->getNbinsX(),
1747  meEle_pt_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1748  meEle_pt_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1749  mePtEffMTD_4_Bkg_EE_->getTH1()->SetMinimum(0.);
1750  computeEfficiency1D(meEle_pt_MTD_4_Bkg_EE_, meEle_pt_tot_Bkg_EE_, mePtEffMTD_4_Bkg_EE_);
1751 
1752  mePtEffMTD_5_Bkg_EE_ = ibook.book1D("pTeffMTD_5_Bkg_EE",
1753  " MTD isolation Efficiency - 5 Bkg Endcap VS pT;p_{T};Efficiency",
1754  meEle_pt_tot_Bkg_EE_->getNbinsX(),
1755  meEle_pt_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1756  meEle_pt_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1757  mePtEffMTD_5_Bkg_EE_->getTH1()->SetMinimum(0.);
1758  computeEfficiency1D(meEle_pt_MTD_5_Bkg_EE_, meEle_pt_tot_Bkg_EE_, mePtEffMTD_5_Bkg_EE_);
1759 
1760  mePtEffMTD_6_Bkg_EE_ = ibook.book1D("pTeffMTD_6_Bkg_EE",
1761  " MTD isolation Efficiency - 6 Bkg Endcap VS pT;p_{T};Efficiency",
1762  meEle_pt_tot_Bkg_EE_->getNbinsX(),
1763  meEle_pt_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1764  meEle_pt_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1765  mePtEffMTD_6_Bkg_EE_->getTH1()->SetMinimum(0.);
1766  computeEfficiency1D(meEle_pt_MTD_6_Bkg_EE_, meEle_pt_tot_Bkg_EE_, mePtEffMTD_6_Bkg_EE_);
1767 
1768  mePtEffMTD_7_Bkg_EE_ = ibook.book1D("pTeffMTD_7_Bkg_EE",
1769  " MTD isolation Efficiency - 7 Bkg Endcap VS pT;p_{T};Efficiency",
1770  meEle_pt_tot_Bkg_EE_->getNbinsX(),
1771  meEle_pt_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1772  meEle_pt_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1773  mePtEffMTD_7_Bkg_EE_->getTH1()->SetMinimum(0.);
1774  computeEfficiency1D(meEle_pt_MTD_7_Bkg_EE_, meEle_pt_tot_Bkg_EE_, mePtEffMTD_7_Bkg_EE_);
1775 
1776  mePtEffMTD_sim_1_Bkg_EE_ = ibook.book1D("mePtEffMTD_sim_1_Bkg_EE_",
1777  " MTD isolation Efficiency SIM - 1 Bkg Endcap VS pT;p_{T};Efficiency",
1778  meEle_pt_sim_tot_Bkg_EE_->getNbinsX(),
1779  meEle_pt_sim_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1780  meEle_pt_sim_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1781  mePtEffMTD_sim_1_Bkg_EE_->getTH1()->SetMinimum(0.);
1782  computeEfficiency1D(meEle_pt_sim_MTD_1_Bkg_EE_, meEle_pt_tot_Bkg_EE_, mePtEffMTD_sim_1_Bkg_EE_);
1783 
1784  mePtEffMTD_sim_2_Bkg_EE_ = ibook.book1D("mePtEffMTD_sim_2_Bkg_EE_",
1785  " MTD isolation Efficiency SIM - 2 Bkg Endcap VS pT;p_{T};Efficiency",
1786  meEle_pt_sim_tot_Bkg_EE_->getNbinsX(),
1787  meEle_pt_sim_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1788  meEle_pt_sim_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1789  mePtEffMTD_sim_2_Bkg_EE_->getTH1()->SetMinimum(0.);
1790  computeEfficiency1D(meEle_pt_sim_MTD_2_Bkg_EE_, meEle_pt_tot_Bkg_EE_, mePtEffMTD_sim_2_Bkg_EE_);
1791 
1792  mePtEffMTD_sim_3_Bkg_EE_ = ibook.book1D("mePtEffMTD_sim_3_Bkg_EE_",
1793  " MTD isolation Efficiency SIM - 3 Bkg Endcap VS pT;p_{T};Efficiency",
1794  meEle_pt_sim_tot_Bkg_EE_->getNbinsX(),
1795  meEle_pt_sim_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1796  meEle_pt_sim_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1797  mePtEffMTD_sim_3_Bkg_EE_->getTH1()->SetMinimum(0.);
1798  computeEfficiency1D(meEle_pt_sim_MTD_3_Bkg_EE_, meEle_pt_tot_Bkg_EE_, mePtEffMTD_sim_3_Bkg_EE_);
1799 
1800  mePtEffMTD_sim_4_Bkg_EE_ = ibook.book1D("mePtEffMTD_sim_4_Bkg_EE_",
1801  " MTD isolation Efficiency SIM - 4 Bkg Endcap VS pT;p_{T};Efficiency",
1802  meEle_pt_sim_tot_Bkg_EE_->getNbinsX(),
1803  meEle_pt_sim_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1804  meEle_pt_sim_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1805  mePtEffMTD_sim_4_Bkg_EE_->getTH1()->SetMinimum(0.);
1806  computeEfficiency1D(meEle_pt_sim_MTD_4_Bkg_EE_, meEle_pt_tot_Bkg_EE_, mePtEffMTD_sim_4_Bkg_EE_);
1807 
1808  mePtEffMTD_sim_5_Bkg_EE_ = ibook.book1D("mePtEffMTD_sim_5_Bkg_EE_",
1809  " MTD isolation Efficiency SIM - 5 Bkg Endcap VS pT;p_{T};Efficiency",
1810  meEle_pt_sim_tot_Bkg_EE_->getNbinsX(),
1811  meEle_pt_sim_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1812  meEle_pt_sim_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1813  mePtEffMTD_sim_5_Bkg_EE_->getTH1()->SetMinimum(0.);
1814  computeEfficiency1D(meEle_pt_sim_MTD_5_Bkg_EE_, meEle_pt_tot_Bkg_EE_, mePtEffMTD_sim_5_Bkg_EE_);
1815 
1816  mePtEffMTD_sim_6_Bkg_EE_ = ibook.book1D("mePtEffMTD_sim_6_Bkg_EE_",
1817  " MTD isolation Efficiency SIM - 6 Bkg Endcap VS pT;p_{T};Efficiency",
1818  meEle_pt_sim_tot_Bkg_EE_->getNbinsX(),
1819  meEle_pt_sim_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1820  meEle_pt_sim_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1821  mePtEffMTD_sim_6_Bkg_EE_->getTH1()->SetMinimum(0.);
1822  computeEfficiency1D(meEle_pt_sim_MTD_6_Bkg_EE_, meEle_pt_tot_Bkg_EE_, mePtEffMTD_sim_6_Bkg_EE_);
1823 
1824  mePtEffMTD_sim_7_Bkg_EE_ = ibook.book1D("mePtEffMTD_sim_7_Bkg_EE_",
1825  " MTD isolation Efficiency SIM - 7 Bkg Endcap VS pT;p_{T};Efficiency",
1826  meEle_pt_sim_tot_Bkg_EE_->getNbinsX(),
1827  meEle_pt_sim_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1828  meEle_pt_sim_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1829  mePtEffMTD_sim_7_Bkg_EE_->getTH1()->SetMinimum(0.);
1830  computeEfficiency1D(meEle_pt_sim_MTD_7_Bkg_EE_, meEle_pt_tot_Bkg_EE_, mePtEffMTD_sim_7_Bkg_EE_);
1831  }
1833  ibook.book1D("pTeffMTD_4sigma_Bkg_EE",
1834  " MTD isolation Efficiency - 4 sigma compatibility - Bkg Endcap VS pT;p_{T};Efficiency",
1835  meEle_pt_tot_Bkg_EE_->getNbinsX(),
1836  meEle_pt_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1837  meEle_pt_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1838  mePtEffMTD_4sigma_Bkg_EE_->getTH1()->SetMinimum(0.);
1839  computeEfficiency1D(meEle_pt_MTD_4sigma_Bkg_EE_, meEle_pt_tot_Bkg_EE_, mePtEffMTD_4sigma_Bkg_EE_);
1840 
1842  ibook.book1D("pTeffMTD_3sigma_Bkg_EE",
1843  " MTD isolation Efficiency - 3 sigma compatibility - Bkg Endcap VS pT;p_{T};Efficiency",
1844  meEle_pt_tot_Bkg_EE_->getNbinsX(),
1845  meEle_pt_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1846  meEle_pt_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1847  mePtEffMTD_3sigma_Bkg_EE_->getTH1()->SetMinimum(0.);
1848  computeEfficiency1D(meEle_pt_MTD_3sigma_Bkg_EE_, meEle_pt_tot_Bkg_EE_, mePtEffMTD_3sigma_Bkg_EE_);
1849 
1851  ibook.book1D("pTeffMTD_2sigma_Bkg_EE",
1852  " MTD isolation Efficiency - 2 sigma compatibility - Bkg Endcap VS pT;p_{T};Efficiency",
1853  meEle_pt_tot_Bkg_EE_->getNbinsX(),
1854  meEle_pt_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1855  meEle_pt_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1856  mePtEffMTD_2sigma_Bkg_EE_->getTH1()->SetMinimum(0.);
1857  computeEfficiency1D(meEle_pt_MTD_2sigma_Bkg_EE_, meEle_pt_tot_Bkg_EE_, mePtEffMTD_2sigma_Bkg_EE_);
1858 
1859  if (optionalPlots_) {
1861  ibook.book1D("pTeffMTD_sim_4sigma_Bkg_EE",
1862  " MTD isolation Efficiency SIM - 4 sigma compatibility - Bkg Endcap VS pT;p_{T};Efficiency",
1863  meEle_pt_sim_tot_Bkg_EE_->getNbinsX(),
1864  meEle_pt_sim_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1865  meEle_pt_sim_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1866  mePtEffMTD_sim_4sigma_Bkg_EE_->getTH1()->SetMinimum(0.);
1867  computeEfficiency1D(meEle_pt_sim_MTD_4sigma_Bkg_EE_, meEle_pt_tot_Bkg_EE_, mePtEffMTD_sim_4sigma_Bkg_EE_);
1868 
1870  ibook.book1D("pTeffMTD_sim_3sigma_Bkg_EE",
1871  " MTD isolation Efficiency SIM - 3 sigma compatibility - Bkg Endcap VS pT;p_{T};Efficiency",
1872  meEle_pt_sim_tot_Bkg_EE_->getNbinsX(),
1873  meEle_pt_sim_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1874  meEle_pt_sim_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1875  mePtEffMTD_sim_3sigma_Bkg_EE_->getTH1()->SetMinimum(0.);
1876  computeEfficiency1D(meEle_pt_sim_MTD_3sigma_Bkg_EE_, meEle_pt_tot_Bkg_EE_, mePtEffMTD_sim_3sigma_Bkg_EE_);
1877 
1879  ibook.book1D("pTeffMTD_sim_2sigma_Bkg_EE",
1880  " MTD isolation Efficiency SIM - 2 sigma compatibility - Bkg Endcap VS pT;p_{T};Efficiency",
1881  meEle_pt_sim_tot_Bkg_EE_->getNbinsX(),
1882  meEle_pt_sim_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1883  meEle_pt_sim_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1884  mePtEffMTD_sim_2sigma_Bkg_EE_->getTH1()->SetMinimum(0.);
1885  computeEfficiency1D(meEle_pt_sim_MTD_2sigma_Bkg_EE_, meEle_pt_tot_Bkg_EE_, mePtEffMTD_sim_2sigma_Bkg_EE_);
1886 
1887  meEtaEffMTD_1_Bkg_EE_ = ibook.book1D("EtaEffMTD_1_Bkg_EE",
1888  " MTD isolation Efficiency - 1 Bkg Endcap VS Eta;#eta;Efficiency",
1889  meEle_eta_tot_Bkg_EE_->getNbinsX(),
1890  meEle_eta_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1891  meEle_eta_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1892  meEtaEffMTD_1_Bkg_EE_->getTH1()->SetMinimum(0.);
1893  computeEfficiency1D(meEle_eta_MTD_1_Bkg_EE_, meEle_eta_tot_Bkg_EE_, meEtaEffMTD_1_Bkg_EE_);
1894 
1895  meEtaEffMTD_2_Bkg_EE_ = ibook.book1D("EtaEffMTD_2_Bkg_EE",
1896  " MTD isolation Efficiency - 2 Bkg Endcap VS Eta;#eta;Efficiency",
1897  meEle_eta_tot_Bkg_EE_->getNbinsX(),
1898  meEle_eta_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1899  meEle_eta_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1900  meEtaEffMTD_2_Bkg_EE_->getTH1()->SetMinimum(0.);
1901  computeEfficiency1D(meEle_eta_MTD_2_Bkg_EE_, meEle_eta_tot_Bkg_EE_, meEtaEffMTD_2_Bkg_EE_);
1902 
1903  meEtaEffMTD_3_Bkg_EE_ = ibook.book1D("EtaEffMTD_3_Bkg_EE",
1904  " MTD isolation Efficiency - 3 Bkg Endcap VS Eta;#eta;Efficiency",
1905  meEle_eta_tot_Bkg_EE_->getNbinsX(),
1906  meEle_eta_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1907  meEle_eta_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1908  meEtaEffMTD_3_Bkg_EE_->getTH1()->SetMinimum(0.);
1909  computeEfficiency1D(meEle_eta_MTD_3_Bkg_EE_, meEle_eta_tot_Bkg_EE_, meEtaEffMTD_3_Bkg_EE_);
1910 
1911  meEtaEffMTD_4_Bkg_EE_ = ibook.book1D("EtaEffMTD_4_Bkg_EE",
1912  " MTD isolation Efficiency - 4 Bkg Endcap VS Eta;#eta;Efficiency",
1913  meEle_eta_tot_Bkg_EE_->getNbinsX(),
1914  meEle_eta_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1915  meEle_eta_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1916  meEtaEffMTD_4_Bkg_EE_->getTH1()->SetMinimum(0.);
1917  computeEfficiency1D(meEle_eta_MTD_4_Bkg_EE_, meEle_eta_tot_Bkg_EE_, meEtaEffMTD_4_Bkg_EE_);
1918 
1919  meEtaEffMTD_5_Bkg_EE_ = ibook.book1D("EtaEffMTD_5_Bkg_EE",
1920  " MTD isolation Efficiency - 5 Bkg Endcap VS Eta;#eta;Efficiency",
1921  meEle_eta_tot_Bkg_EE_->getNbinsX(),
1922  meEle_eta_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1923  meEle_eta_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1924  meEtaEffMTD_5_Bkg_EE_->getTH1()->SetMinimum(0.);
1925  computeEfficiency1D(meEle_eta_MTD_5_Bkg_EE_, meEle_eta_tot_Bkg_EE_, meEtaEffMTD_5_Bkg_EE_);
1926 
1927  meEtaEffMTD_6_Bkg_EE_ = ibook.book1D("EtaEffMTD_6_Bkg_EE",
1928  " MTD isolation Efficiency - 6 Bkg Endcap VS Eta;#eta;Efficiency",
1929  meEle_eta_tot_Bkg_EE_->getNbinsX(),
1930  meEle_eta_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1931  meEle_eta_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1932  meEtaEffMTD_6_Bkg_EE_->getTH1()->SetMinimum(0.);
1933  computeEfficiency1D(meEle_eta_MTD_6_Bkg_EE_, meEle_eta_tot_Bkg_EE_, meEtaEffMTD_6_Bkg_EE_);
1934 
1935  meEtaEffMTD_7_Bkg_EE_ = ibook.book1D("EtaEffMTD_7_Bkg_EE",
1936  " MTD isolation Efficiency - 7 Bkg Endcap VS Eta;#eta;Efficiency",
1937  meEle_eta_tot_Bkg_EE_->getNbinsX(),
1938  meEle_eta_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1939  meEle_eta_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1940  meEtaEffMTD_7_Bkg_EE_->getTH1()->SetMinimum(0.);
1941  computeEfficiency1D(meEle_eta_MTD_7_Bkg_EE_, meEle_eta_tot_Bkg_EE_, meEtaEffMTD_7_Bkg_EE_);
1942 
1943  mePhiEffMTD_1_Bkg_EE_ = ibook.book1D("PhiEffMTD_1_Bkg_EE",
1944  " MTD isolation Efficiency - 1 Bkg Endcap VS Phi;#phi;Efficiency",
1945  meEle_phi_tot_Bkg_EE_->getNbinsX(),
1946  meEle_phi_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1947  meEle_phi_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1948  mePhiEffMTD_1_Bkg_EE_->getTH1()->SetMinimum(0.);
1949  computeEfficiency1D(meEle_phi_MTD_1_Bkg_EE_, meEle_phi_tot_Bkg_EE_, mePhiEffMTD_1_Bkg_EE_);
1950 
1951  mePhiEffMTD_2_Bkg_EE_ = ibook.book1D("PhiEffMTD_2_Bkg_EE",
1952  " MTD isolation Efficiency - 2 Bkg Endcap VS Phi;#phi;Efficiency",
1953  meEle_phi_tot_Bkg_EE_->getNbinsX(),
1954  meEle_phi_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1955  meEle_phi_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1956  mePhiEffMTD_2_Bkg_EE_->getTH1()->SetMinimum(0.);
1957  computeEfficiency1D(meEle_phi_MTD_2_Bkg_EE_, meEle_phi_tot_Bkg_EE_, mePhiEffMTD_2_Bkg_EE_);
1958 
1959  mePhiEffMTD_3_Bkg_EE_ = ibook.book1D("PhiEffMTD_3_Bkg_EE",
1960  " MTD isolation Efficiency - 3 Bkg Endcap VS Phi;#phi;Efficiency",
1961  meEle_phi_tot_Bkg_EE_->getNbinsX(),
1962  meEle_phi_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1963  meEle_phi_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1964  mePhiEffMTD_3_Bkg_EE_->getTH1()->SetMinimum(0.);
1965  computeEfficiency1D(meEle_phi_MTD_3_Bkg_EE_, meEle_phi_tot_Bkg_EE_, mePhiEffMTD_3_Bkg_EE_);
1966 
1967  mePhiEffMTD_4_Bkg_EE_ = ibook.book1D("PhiEffMTD_4_Bkg_EE",
1968  " MTD isolation Efficiency - 4 Bkg Endcap VS Phi;#phi;Efficiency",
1969  meEle_phi_tot_Bkg_EE_->getNbinsX(),
1970  meEle_phi_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1971  meEle_phi_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1972  mePhiEffMTD_4_Bkg_EE_->getTH1()->SetMinimum(0.);
1973  computeEfficiency1D(meEle_phi_MTD_4_Bkg_EE_, meEle_phi_tot_Bkg_EE_, mePhiEffMTD_4_Bkg_EE_);
1974 
1975  mePhiEffMTD_5_Bkg_EE_ = ibook.book1D("PhiEffMTD_5_Bkg_EE",
1976  " MTD isolation Efficiency - 5 Bkg Endcap VS Phi;#phi;Efficiency",
1977  meEle_phi_tot_Bkg_EE_->getNbinsX(),
1978  meEle_phi_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1979  meEle_phi_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1980  mePhiEffMTD_5_Bkg_EE_->getTH1()->SetMinimum(0.);
1981  computeEfficiency1D(meEle_phi_MTD_5_Bkg_EE_, meEle_phi_tot_Bkg_EE_, mePhiEffMTD_5_Bkg_EE_);
1982 
1983  mePhiEffMTD_6_Bkg_EE_ = ibook.book1D("PhiEffMTD_6_Bkg_EE",
1984  " MTD isolation Efficiency - 6 Bkg Endcap VS Phi;#phi;Efficiency",
1985  meEle_phi_tot_Bkg_EE_->getNbinsX(),
1986  meEle_phi_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1987  meEle_phi_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1988  mePhiEffMTD_6_Bkg_EE_->getTH1()->SetMinimum(0.);
1989  computeEfficiency1D(meEle_phi_MTD_6_Bkg_EE_, meEle_phi_tot_Bkg_EE_, mePhiEffMTD_6_Bkg_EE_);
1990 
1991  mePhiEffMTD_7_Bkg_EE_ = ibook.book1D("PhiEffMTD_7_Bkg_EE",
1992  " MTD isolation Efficiency - 7 Bkg Endcap VS Phi;#phi;Efficiency",
1993  meEle_phi_tot_Bkg_EE_->getNbinsX(),
1994  meEle_phi_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
1995  meEle_phi_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
1996  mePhiEffMTD_7_Bkg_EE_->getTH1()->SetMinimum(0.);
1997  computeEfficiency1D(meEle_phi_MTD_7_Bkg_EE_, meEle_phi_tot_Bkg_EE_, mePhiEffMTD_7_Bkg_EE_);
1998  }
1999 
2001  ibook.book1D("EtaEffMTD_4sigma_Bkg_EE",
2002  " MTD isolation Efficiency - 4 sigma compatibiliy - Bkg Endcap VS Eta;#eta;Efficiency",
2003  meEle_eta_tot_Bkg_EE_->getNbinsX(),
2004  meEle_eta_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
2005  meEle_eta_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
2006  meEtaEffMTD_4sigma_Bkg_EE_->getTH1()->SetMinimum(0.);
2007  computeEfficiency1D(meEle_eta_MTD_4sigma_Bkg_EE_, meEle_eta_tot_Bkg_EE_, meEtaEffMTD_4sigma_Bkg_EE_);
2008 
2010  ibook.book1D("EtaEffMTD_3sigma_Bkg_EE",
2011  " MTD isolation Efficiency - 3 sigma compatibiliy - Bkg Endcap VS Eta;#eta;Efficiency",
2012  meEle_eta_tot_Bkg_EE_->getNbinsX(),
2013  meEle_eta_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
2014  meEle_eta_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
2015  meEtaEffMTD_3sigma_Bkg_EE_->getTH1()->SetMinimum(0.);
2016  computeEfficiency1D(meEle_eta_MTD_3sigma_Bkg_EE_, meEle_eta_tot_Bkg_EE_, meEtaEffMTD_3sigma_Bkg_EE_);
2017 
2019  ibook.book1D("EtaEffMTD_2sigma_Bkg_EE",
2020  " MTD isolation Efficiency - 2 sigma compatibiliy - Bkg Endcap VS Eta;#eta;Efficiency",
2021  meEle_eta_tot_Bkg_EE_->getNbinsX(),
2022  meEle_eta_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
2023  meEle_eta_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
2024  meEtaEffMTD_2sigma_Bkg_EE_->getTH1()->SetMinimum(0.);
2025  computeEfficiency1D(meEle_eta_MTD_2sigma_Bkg_EE_, meEle_eta_tot_Bkg_EE_, meEtaEffMTD_2sigma_Bkg_EE_);
2026 
2028  ibook.book1D("PhiEffMTD_4sigma_Bkg_EE",
2029  " MTD isolation Efficiency - 4 sigma compatibiliy - Bkg Endcap VS Phi;#phi;Efficiency",
2030  meEle_phi_tot_Bkg_EE_->getNbinsX(),
2031  meEle_phi_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
2032  meEle_phi_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
2033  mePhiEffMTD_4sigma_Bkg_EE_->getTH1()->SetMinimum(0.);
2034  computeEfficiency1D(meEle_phi_MTD_4sigma_Bkg_EE_, meEle_phi_tot_Bkg_EE_, mePhiEffMTD_4sigma_Bkg_EE_);
2035 
2037  ibook.book1D("PhiEffMTD_3sigma_Bkg_EE",
2038  " MTD isolation Efficiency - 3 sigma compatibiliy - Bkg Endcap VS Phi;#phi;Efficiency",
2039  meEle_phi_tot_Bkg_EE_->getNbinsX(),
2040  meEle_phi_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
2041  meEle_phi_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
2042  mePhiEffMTD_3sigma_Bkg_EE_->getTH1()->SetMinimum(0.);
2043  computeEfficiency1D(meEle_phi_MTD_3sigma_Bkg_EE_, meEle_phi_tot_Bkg_EE_, mePhiEffMTD_3sigma_Bkg_EE_);
2044 
2046  ibook.book1D("PhiEffMTD_2sigma_Bkg_EE",
2047  " MTD isolation Efficiency - 2 sigma compatibiliy - Bkg Endcap VS Phi;#phi;Efficiency",
2048  meEle_phi_tot_Bkg_EE_->getNbinsX(),
2049  meEle_phi_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
2050  meEle_phi_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
2051  mePhiEffMTD_2sigma_Bkg_EE_->getTH1()->SetMinimum(0.);
2052  computeEfficiency1D(meEle_phi_MTD_2sigma_Bkg_EE_, meEle_phi_tot_Bkg_EE_, mePhiEffMTD_2sigma_Bkg_EE_);
2053 
2054  mePtEffnoMTD_Bkg_EE_ = ibook.book1D("pTeffnoMTD_Bkg_EE",
2055  " noMTD isolation Efficiency - Bkg Endcap VS pT;p_{T};Efficiency",
2056  meEle_pt_tot_Bkg_EE_->getNbinsX(),
2057  meEle_pt_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
2058  meEle_pt_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
2059  mePtEffnoMTD_Bkg_EE_->getTH1()->SetMinimum(0.);
2060  computeEfficiency1D(meEle_pt_noMTD_Bkg_EE_, meEle_pt_tot_Bkg_EE_, mePtEffnoMTD_Bkg_EE_);
2061 
2062  meEtaEffnoMTD_Bkg_EE_ = ibook.book1D("EtaEffnoMTD_Bkg_EE",
2063  " noMTD isolation Efficiency - Bkg Endcap VS Eta;#eta;Efficiency",
2064  meEle_eta_tot_Bkg_EE_->getNbinsX(),
2065  meEle_eta_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
2066  meEle_eta_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
2067  meEtaEffnoMTD_Bkg_EE_->getTH1()->SetMinimum(0.);
2068  computeEfficiency1D(meEle_eta_noMTD_Bkg_EE_, meEle_eta_tot_Bkg_EE_, meEtaEffnoMTD_Bkg_EE_);
2069 
2070  mePhiEffnoMTD_Bkg_EE_ = ibook.book1D("PhiEffnoMTD_Bkg_EE",
2071  " noMTD isolation Efficiency - Bkg Endcap VS Phi;#phi;Efficiency",
2072  meEle_phi_tot_Bkg_EE_->getNbinsX(),
2073  meEle_phi_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
2074  meEle_phi_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
2075  mePhiEffnoMTD_Bkg_EE_->getTH1()->SetMinimum(0.);
2076  computeEfficiency1D(meEle_phi_noMTD_Bkg_EE_, meEle_phi_tot_Bkg_EE_, mePhiEffnoMTD_Bkg_EE_);
2077 
2078  if (optionalPlots_) {
2079  mePtEffgen_Bkg_EE_ = ibook.book1D("pTeffMTD_gen_Bkg_EE",
2080  " MTD isolation Efficiency - genInfo - Bkg Endcap VS pT;p_{T};Efficiency",
2081  meEle_pt_sim_tot_Bkg_EE_->getNbinsX(),
2082  meEle_pt_sim_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmin(),
2083  meEle_pt_sim_tot_Bkg_EE_->getTH1()->GetXaxis()->GetXmax());
2084  mePtEffgen_Bkg_EE_->getTH1()->SetMinimum(0.);
2085  computeEfficiency1D(meEle_pt_gen_Bkg_EE_, meEle_pt_sim_tot_Bkg_EE_, mePtEffgen_Bkg_EE_);
2086  }
2087 }
2088 
2089 // ------------ method fills 'descriptions' with the allowed parameters for the module ----------
2092 
2093  desc.add<std::string>("folder", "MTD/ElectronIso/");
2094  desc.add<bool>("option_plots", false);
2095 
2096  descriptions.add("MtdEleIsoPostProcessor", desc);
2097 }
2098 
MonitorElement * mePtEffMTD_1_Bkg_EB_
MonitorElement * mePtEffMTD_2_Bkg_EE_
MonitorElement * mePhiEffMTD_2_Sig_EB_
MonitorElement * mePtEffMTD_sim_3sigma_Sig_EE_
MonitorElement * mePhiEffMTD_2sigma_Bkg_EE_
MonitorElement * meEtaEffnoMTD_Bkg_EE_
MonitorElement * meEtaEffMTD_1_Sig_EB_
MonitorElement * mePhiEffMTD_4sigma_Bkg_EE_
MonitorElement * mePtEffMTD_1_Bkg_EE_
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
MonitorElement * mePtEffMTD_4_Sig_EB_
MonitorElement * meEtaEffMTD_4sigma_Bkg_EB_
std::string folder_
MonitorElement * mePhiEffMTD_2_Bkg_EB_
MonitorElement * mePhiEffMTD_4_Sig_EE_
MonitorElement * mePtEffMTD_sim_1_Bkg_EB_
MonitorElement * mePtEffMTD_3sigma_Bkg_EB_
MtdEleIsoHarvester(const edm::ParameterSet &iConfig)
MonitorElement * mePtEffMTD_sim_3sigma_Bkg_EE_
MonitorElement * mePhiEffMTD_7_Sig_EE_
MonitorElement * meEtaEffMTD_6_Bkg_EB_
MonitorElement * mePhiEffMTD_6_Bkg_EE_
MonitorElement * mePtEffMTD_sim_2sigma_Sig_EB_
MonitorElement * meEtaEffMTD_6_Sig_EB_
MonitorElement * mePtEffMTD_6_Bkg_EB_
MonitorElement * meEtaEffMTD_7_Bkg_EE_
MonitorElement * mePtEffMTD_sim_4sigma_Bkg_EE_
MonitorElement * mePhiEffMTD_5_Bkg_EB_
MonitorElement * mePhiEffMTD_4_Bkg_EB_
MonitorElement * mePtEffMTD_sim_3_Bkg_EB_
MonitorElement * mePhiEffMTD_4sigma_Bkg_EB_
MonitorElement * mePtEffMTD_2_Sig_EE_
MonitorElement * mePtEffMTD_sim_6_Sig_EE_
MonitorElement * mePtEffgen_Sig_EB_
MonitorElement * mePtEffMTD_sim_4_Sig_EE_
MonitorElement * mePhiEffMTD_4sigma_Sig_EB_
MonitorElement * mePtEffMTD_sim_7_Sig_EE_
MonitorElement * mePtEffMTD_sim_5_Bkg_EB_
MonitorElement * mePtEffMTD_1_Sig_EE_
MonitorElement * mePtEffMTD_5_Bkg_EE_
MonitorElement * mePhiEffMTD_2_Sig_EE_
MonitorElement * meEtaEffnoMTD_Sig_EB_
MonitorElement * mePhiEffnoMTD_Bkg_EE_
MonitorElement * mePtEffgen_Sig_EE_
MonitorElement * mePhiEffMTD_2sigma_Sig_EB_
Log< level::Error, false > LogError
MonitorElement * mePtEffMTD_sim_2_Sig_EE_
MonitorElement * mePtEffMTD_3sigma_Bkg_EE_
MonitorElement * mePtEffMTD_3sigma_Sig_EE_
MonitorElement * mePtEffnoMTD_Sig_EE_
MonitorElement * mePtEffMTD_6_Bkg_EE_
MonitorElement * meEtaEffMTD_2_Sig_EE_
MonitorElement * meEtaEffMTD_3sigma_Sig_EB_
MonitorElement * meEtaEffMTD_5_Sig_EB_
MonitorElement * mePtEffMTD_4sigma_Sig_EE_
MonitorElement * mePtEffMTD_sim_1_Sig_EB_
MonitorElement * meEtaEffMTD_6_Sig_EE_
MonitorElement * mePtEffMTD_sim_2_Bkg_EE_
MonitorElement * mePtEffMTD_sim_4_Bkg_EB_
MonitorElement * mePhiEffMTD_3_Sig_EE_
MonitorElement * mePtEffgen_Bkg_EB_
MonitorElement * mePhiEffMTD_3_Bkg_EB_
MonitorElement * mePhiEffMTD_6_Sig_EE_
MonitorElement * meEtaEffMTD_4sigma_Bkg_EE_
MonitorElement * mePtEffMTD_sim_3_Sig_EB_
MonitorElement * mePhiEffMTD_1_Bkg_EE_
MonitorElement * mePtEffMTD_4_Sig_EE_
MonitorElement * mePtEffMTD_3sigma_Sig_EB_
MonitorElement * meEtaEffMTD_2sigma_Bkg_EE_
MonitorElement * mePtEffMTD_sim_2sigma_Sig_EE_
MonitorElement * mePtEffMTD_3_Bkg_EE_
MonitorElement * mePhiEffnoMTD_Sig_EE_
MonitorElement * mePtEffgen_Bkg_EE_
MonitorElement * mePtEffMTD_sim_3_Sig_EE_
MonitorElement * mePhiEffMTD_1_Bkg_EB_
MonitorElement * mePtEffMTD_sim_1_Bkg_EE_
MonitorElement * meEtaEffMTD_4sigma_Sig_EB_
MonitorElement * mePtEffMTD_2_Bkg_EB_
MonitorElement * meEtaEffMTD_3sigma_Bkg_EE_
MonitorElement * mePhiEffMTD_3sigma_Sig_EB_
MonitorElement * meEtaEffMTD_7_Bkg_EB_
MonitorElement * mePhiEffMTD_5_Bkg_EE_
T sqrt(T t)
Definition: SSEVec.h:23
MonitorElement * meEtaEffMTD_2_Bkg_EE_
MonitorElement * mePhiEffMTD_3_Bkg_EE_
MonitorElement * mePhiEffMTD_3sigma_Sig_EE_
MonitorElement * meEtaEffMTD_7_Sig_EB_
MonitorElement * mePtEffMTD_1_Sig_EB_
MonitorElement * meEtaEffMTD_5_Bkg_EB_
MonitorElement * mePtEffMTD_sim_7_Bkg_EE_
MonitorElement * mePtEffMTD_sim_6_Sig_EB_
MonitorElement * mePtEffMTD_5_Bkg_EB_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
MonitorElement * mePtEffMTD_4_Bkg_EE_
MonitorElement * mePhiEffnoMTD_Sig_EB_
MonitorElement * meEtaEffMTD_2_Bkg_EB_
MonitorElement * mePhiEffMTD_5_Sig_EE_
MonitorElement * mePhiEffMTD_2sigma_Bkg_EB_
MonitorElement * mePtEffMTD_sim_4sigma_Bkg_EB_
MonitorElement * mePhiEffMTD_3sigma_Bkg_EB_
MonitorElement * mePhiEffMTD_1_Sig_EE_
MonitorElement * mePhiEffMTD_7_Bkg_EB_
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
MonitorElement * mePtEffMTD_7_Bkg_EE_
MonitorElement * mePhiEffMTD_2_Bkg_EE_
MonitorElement * meEtaEffMTD_6_Bkg_EE_
MonitorElement * mePtEffnoMTD_Bkg_EB_
MonitorElement * mePtEffMTD_7_Sig_EB_
void computeEfficiency1D(MonitorElement *num, MonitorElement *den, MonitorElement *result)
MonitorElement * mePtEffMTD_sim_6_Bkg_EB_
MonitorElement * mePhiEffMTD_4_Bkg_EE_
MonitorElement * mePtEffMTD_3_Sig_EB_
MonitorElement * mePtEffMTD_sim_7_Sig_EB_
MonitorElement * mePtEffMTD_6_Sig_EB_
MonitorElement * mePtEffMTD_7_Sig_EE_
MonitorElement * meEtaEffMTD_1_Bkg_EE_
MonitorElement * mePhiEffMTD_3_Sig_EB_
MonitorElement * mePtEffMTD_sim_5_Sig_EE_
MonitorElement * mePtEffnoMTD_Sig_EB_
MonitorElement * meEtaEffMTD_5_Sig_EE_
MonitorElement * mePhiEffMTD_5_Sig_EB_
MonitorElement * meEtaEffMTD_1_Sig_EE_
MonitorElement * meEtaEffMTD_4_Bkg_EB_
MonitorElement * mePhiEffMTD_4_Sig_EB_
MonitorElement * mePtEffMTD_2_Sig_EB_
MonitorElement * meEtaEffMTD_4_Bkg_EE_
MonitorElement * mePtEffMTD_5_Sig_EB_
MonitorElement * mePtEffMTD_6_Sig_EE_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
virtual MonitorElement * get(std::string const &fullpath) const
Definition: DQMStore.cc:712
MonitorElement * mePtEffMTD_sim_3sigma_Bkg_EB_
MonitorElement * mePtEffMTD_sim_6_Bkg_EE_
MonitorElement * mePhiEffMTD_6_Bkg_EB_
virtual TH1 * getTH1() const
MonitorElement * meEtaEffMTD_3_Bkg_EE_
MonitorElement * mePhiEffMTD_3sigma_Bkg_EE_
MonitorElement * meEtaEffMTD_2sigma_Bkg_EB_
MonitorElement * mePhiEffMTD_2sigma_Sig_EE_
MonitorElement * meEtaEffMTD_4_Sig_EE_
MonitorElement * meEtaEffMTD_3_Bkg_EB_
MonitorElement * mePtEffMTD_4_Bkg_EB_
MonitorElement * mePtEffMTD_sim_5_Sig_EB_
MonitorElement * mePtEffMTD_3_Bkg_EB_
MonitorElement * meEtaEffMTD_7_Sig_EE_
MonitorElement * mePtEffMTD_sim_1_Sig_EE_
MonitorElement * mePtEffMTD_sim_4sigma_Sig_EE_
MonitorElement * mePhiEffMTD_7_Bkg_EE_
MonitorElement * meEtaEffMTD_2sigma_Sig_EE_
MonitorElement * mePtEffMTD_2sigma_Sig_EE_
MonitorElement * mePhiEffMTD_7_Sig_EB_
MonitorElement * mePtEffMTD_sim_3sigma_Sig_EB_
virtual int getNbinsX() const
get # of bins in X-axis
MonitorElement * mePtEffMTD_2sigma_Sig_EB_
MonitorElement * mePtEffMTD_4sigma_Bkg_EE_
MonitorElement * mePtEffMTD_sim_2_Bkg_EB_
MonitorElement * mePtEffMTD_sim_3_Bkg_EE_
MonitorElement * meEtaEffMTD_3sigma_Sig_EE_
MonitorElement * meEtaEffMTD_3_Sig_EB_
MonitorElement * mePtEffMTD_sim_2_Sig_EB_
MonitorElement * mePtEffMTD_7_Bkg_EB_
MonitorElement * mePhiEffMTD_6_Sig_EB_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
MonitorElement * mePtEffMTD_4sigma_Bkg_EB_
MonitorElement * meEtaEffMTD_4_Sig_EB_
MonitorElement * mePtEffMTD_sim_4_Bkg_EE_
MonitorElement * mePtEffMTD_sim_2sigma_Bkg_EE_
MonitorElement * mePtEffMTD_3_Sig_EE_
MonitorElement * mePtEffMTD_sim_7_Bkg_EB_
MonitorElement * mePhiEffnoMTD_Bkg_EB_
MonitorElement * mePtEffMTD_4sigma_Sig_EB_
const std::string folder_
MonitorElement * mePtEffMTD_5_Sig_EE_
MonitorElement * mePtEffMTD_sim_4sigma_Sig_EB_
MonitorElement * meEtaEffMTD_4sigma_Sig_EE_
MonitorElement * meEtaEffMTD_3_Sig_EE_
MonitorElement * mePtEffMTD_sim_2sigma_Bkg_EB_
MonitorElement * mePtEffMTD_2sigma_Bkg_EE_
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29
MonitorElement * meEtaEffMTD_1_Bkg_EB_
MonitorElement * meEtaEffnoMTD_Sig_EE_
MonitorElement * mePtEffnoMTD_Bkg_EE_
MonitorElement * mePtEffMTD_2sigma_Bkg_EB_
MonitorElement * mePtEffMTD_sim_4_Sig_EB_
MonitorElement * meEtaEffnoMTD_Bkg_EB_
MonitorElement * mePhiEffMTD_1_Sig_EB_
MonitorElement * meEtaEffMTD_5_Bkg_EE_
MonitorElement * mePtEffMTD_sim_5_Bkg_EE_
virtual double getBinContent(int binx) const
get content of bin (1-D)
MonitorElement * mePhiEffMTD_4sigma_Sig_EE_
MonitorElement * meEtaEffMTD_2sigma_Sig_EB_
MonitorElement * meEtaEffMTD_2_Sig_EB_
MonitorElement * meEtaEffMTD_3sigma_Bkg_EB_