CMS 3D CMS Logo

ElectronMcSignalValidator.cc
Go to the documentation of this file.
1 
2 // user include files
4 
6 
8 
18 
21 
24 
31 
32 #include "CLHEP/Units/GlobalPhysicalConstants.h"
33 #include "TMath.h"
34 #include "TFile.h"
35 #include "TH1F.h"
36 #include "TH1I.h"
37 #include "TH2F.h"
38 #include "TProfile.h"
39 #include "TTree.h"
40 #include <vector>
41 #include <iostream>
42 #include <typeinfo>
43 
44 using namespace reco;
45 
47  mcTruthCollection_ = consumes<reco::GenParticleCollection>(conf.getParameter<edm::InputTag>("mcTruthCollection"));
48  electronCollection_ = consumes<reco::GsfElectronCollection>(conf.getParameter<edm::InputTag>("electronCollection"));
50  consumes<reco::GsfElectronCoreCollection>(conf.getParameter<edm::InputTag>("electronCoreCollection"));
52  consumes<reco::GsfTrackCollection>(conf.getParameter<edm::InputTag>("electronTrackCollection"));
54  consumes<reco::ElectronSeedCollection>(conf.getParameter<edm::InputTag>("electronSeedCollection"));
55  /* new 03/02/2015 */
57  consumes<reco::VertexCollection>(conf.getParameter<edm::InputTag>("offlinePrimaryVertices"));
58  /* fin new */
59  beamSpotTag_ = consumes<reco::BeamSpot>(conf.getParameter<edm::InputTag>("beamSpot"));
60 
61  readAOD_ = conf.getParameter<bool>("readAOD");
62 
63  isoFromDepsTk03Tag_ = consumes<edm::ValueMap<double> >(conf.getParameter<edm::InputTag>("isoFromDepsTk03"));
64  isoFromDepsTk04Tag_ = consumes<edm::ValueMap<double> >(conf.getParameter<edm::InputTag>("isoFromDepsTk04"));
66  consumes<edm::ValueMap<double> >(conf.getParameter<edm::InputTag>("isoFromDepsEcalFull03"));
68  consumes<edm::ValueMap<double> >(conf.getParameter<edm::InputTag>("isoFromDepsEcalFull04"));
70  consumes<edm::ValueMap<double> >(conf.getParameter<edm::InputTag>("isoFromDepsEcalReduced03"));
72  consumes<edm::ValueMap<double> >(conf.getParameter<edm::InputTag>("isoFromDepsEcalReduced04"));
73  isoFromDepsHcal03Tag_ = consumes<edm::ValueMap<double> >(conf.getParameter<edm::InputTag>("isoFromDepsHcal03"));
74  isoFromDepsHcal04Tag_ = consumes<edm::ValueMap<double> >(conf.getParameter<edm::InputTag>("isoFromDepsHcal04"));
75 
76  maxPt_ = conf.getParameter<double>("MaxPt");
77  maxAbsEta_ = conf.getParameter<double>("MaxAbsEta");
78  deltaR_ = conf.getParameter<double>("DeltaR");
80  matchingIDs_ = conf.getParameter<std::vector<int> >("MatchingID");
81  matchingMotherIDs_ = conf.getParameter<std::vector<int> >("MatchingMotherID");
82  inputFile_ = conf.getParameter<std::string>("InputFile");
83  outputFile_ = conf.getParameter<std::string>("OutputFile");
84  inputInternalPath_ = conf.getParameter<std::string>("InputFolderName");
85  outputInternalPath_ = conf.getParameter<std::string>("OutputFolderName");
86 
87  // histos bining and limits
88 
89  edm::ParameterSet histosSet = conf.getParameter<edm::ParameterSet>("histosCfg");
90 
91  xyz_nbin = histosSet.getParameter<int>("Nbinxyz");
92 
93  p_nbin = histosSet.getParameter<int>("Nbinp");
94  p2D_nbin = histosSet.getParameter<int>("Nbinp2D");
95  p_max = histosSet.getParameter<double>("Pmax");
96 
97  pt_nbin = histosSet.getParameter<int>("Nbinpt");
98  pt2D_nbin = histosSet.getParameter<int>("Nbinpt2D");
99  pteff_nbin = histosSet.getParameter<int>("Nbinpteff");
100  pt_max = histosSet.getParameter<double>("Ptmax");
101 
102  fhits_nbin = histosSet.getParameter<int>("Nbinfhits");
103  fhits_max = histosSet.getParameter<double>("Fhitsmax");
104 
105  lhits_nbin = histosSet.getParameter<int>("Nbinlhits");
106  lhits_max = histosSet.getParameter<double>("Lhitsmax");
107 
108  eop_nbin = histosSet.getParameter<int>("Nbineop");
109  eop2D_nbin = histosSet.getParameter<int>("Nbineop2D");
110  eop_max = histosSet.getParameter<double>("Eopmax");
111  eopmaxsht = histosSet.getParameter<double>("Eopmaxsht");
112 
113  eta_nbin = histosSet.getParameter<int>("Nbineta");
114  eta2D_nbin = histosSet.getParameter<int>("Nbineta2D");
115  eta_min = histosSet.getParameter<double>("Etamin");
116  eta_max = histosSet.getParameter<double>("Etamax");
117 
118  deta_nbin = histosSet.getParameter<int>("Nbindeta");
119  deta_min = histosSet.getParameter<double>("Detamin");
120  deta_max = histosSet.getParameter<double>("Detamax");
121 
122  phi_nbin = histosSet.getParameter<int>("Nbinphi");
123  phi2D_nbin = histosSet.getParameter<int>("Nbinphi2D");
124  phi_min = histosSet.getParameter<double>("Phimin");
125  phi_max = histosSet.getParameter<double>("Phimax");
126 
127  detamatch_nbin = histosSet.getParameter<int>("Nbindetamatch");
128  detamatch2D_nbin = histosSet.getParameter<int>("Nbindetamatch2D");
129  detamatch_min = histosSet.getParameter<double>("Detamatchmin");
130  detamatch_max = histosSet.getParameter<double>("Detamatchmax");
131 
132  dphi_nbin = histosSet.getParameter<int>("Nbindphi");
133  dphi_min = histosSet.getParameter<double>("Dphimin");
134  dphi_max = histosSet.getParameter<double>("Dphimax");
135 
136  dphimatch_nbin = histosSet.getParameter<int>("Nbindphimatch");
137  dphimatch2D_nbin = histosSet.getParameter<int>("Nbindphimatch2D");
138  dphimatch_min = histosSet.getParameter<double>("Dphimatchmin");
139  dphimatch_max = histosSet.getParameter<double>("Dphimatchmax");
140 
141  poptrue_nbin = histosSet.getParameter<int>("Nbinpoptrue");
142  poptrue_min = histosSet.getParameter<double>("Poptruemin");
143  poptrue_max = histosSet.getParameter<double>("Poptruemax");
144 
145  mee_nbin = histosSet.getParameter<int>("Nbinmee");
146  mee_min = histosSet.getParameter<double>("Meemin");
147  mee_max = histosSet.getParameter<double>("Meemax");
148 
149  hoe_nbin = histosSet.getParameter<int>("Nbinhoe");
150  hoe_min = histosSet.getParameter<double>("Hoemin");
151  hoe_max = histosSet.getParameter<double>("Hoemax");
152 
153  error_nbin = histosSet.getParameter<int>("Nbinerror");
154  enerror_max = histosSet.getParameter<double>("Energyerrormax");
155 
156  set_EfficiencyFlag = histosSet.getParameter<bool>("EfficiencyFlag");
157  set_StatOverflowFlag = histosSet.getParameter<bool>("StatOverflowFlag");
158 
159  opv_nbin = histosSet.getParameter<int>("NbinOPV");
160  opv_min = histosSet.getParameter<double>("OPV_min");
161  opv_max = histosSet.getParameter<double>("OPV_max");
162 
163  ele_nbin = histosSet.getParameter<int>("NbinELE");
164  ele_min = histosSet.getParameter<double>("ELE_min");
165  ele_max = histosSet.getParameter<double>("ELE_max");
166 
167  core_nbin = histosSet.getParameter<int>("NbinCORE");
168  core_min = histosSet.getParameter<double>("CORE_min");
169  core_max = histosSet.getParameter<double>("CORE_max");
170 
171  track_nbin = histosSet.getParameter<int>("NbinTRACK");
172  track_min = histosSet.getParameter<double>("TRACK_min");
173  track_max = histosSet.getParameter<double>("TRACK_max");
174 
175  seed_nbin = histosSet.getParameter<int>("NbinSEED");
176  seed_min = histosSet.getParameter<double>("SEED_min");
177  seed_max = histosSet.getParameter<double>("SEED_max");
178 
179  // so to please coverity...
180  h1_mcNum = nullptr;
181  h1_eleNum = nullptr;
182  h1_gamNum = nullptr;
183 
184  h1_recEleNum = nullptr;
185  h1_recCoreNum = nullptr;
186  h1_recTrackNum = nullptr;
187  h1_recSeedNum = nullptr;
188  h1_recOfflineVertices = nullptr;
189 
190  h1_mc_Eta = nullptr;
191  h1_mc_AbsEta = nullptr;
192  h1_mc_P = nullptr;
193  h1_mc_Pt = nullptr;
194  h1_mc_Phi = nullptr;
195  h1_mc_Z = nullptr;
196  h2_mc_PtEta = nullptr;
197 
198  h1_mc_Eta_matched = nullptr;
199  h1_mc_AbsEta_matched = nullptr;
200  h1_mc_Pt_matched = nullptr;
201  h1_mc_Phi_matched = nullptr;
202  h1_mc_Z_matched = nullptr;
203  h2_mc_PtEta_matched = nullptr;
204 
205  h1_mc_Eta_matched_qmisid = nullptr;
206  h1_mc_AbsEta_matched_qmisid = nullptr;
207  h1_mc_Pt_matched_qmisid = nullptr;
208  h1_mc_Phi_matched_qmisid = nullptr;
209  h1_mc_Z_matched_qmisid = nullptr;
210 
211  h1_ele_EoverP_all = nullptr;
212  h1_ele_EoverP_all_barrel = nullptr;
213  h1_ele_EoverP_all_endcaps = nullptr;
214  h1_ele_EseedOP_all = nullptr;
215  h1_ele_EseedOP_all_barrel = nullptr;
216  h1_ele_EseedOP_all_endcaps = nullptr;
217  h1_ele_EoPout_all = nullptr;
218  h1_ele_EoPout_all_barrel = nullptr;
219  h1_ele_EoPout_all_endcaps = nullptr;
220  h1_ele_EeleOPout_all = nullptr;
221  h1_ele_EeleOPout_all_barrel = nullptr;
223  h1_ele_dEtaSc_propVtx_all = nullptr;
226  h1_ele_dPhiSc_propVtx_all = nullptr;
229  h1_ele_dEtaCl_propOut_all = nullptr;
232  h1_ele_dPhiCl_propOut_all = nullptr;
235  h1_ele_TIP_all = nullptr;
236  h1_ele_TIP_all_barrel = nullptr;
237  h1_ele_TIP_all_endcaps = nullptr;
238  h1_ele_HoE_all = nullptr;
239  h1_ele_HoE_all_barrel = nullptr;
240  h1_ele_HoE_all_endcaps = nullptr;
241  h1_ele_vertexEta_all = nullptr;
242  h1_ele_vertexPt_all = nullptr;
243  h1_ele_Et_all = nullptr;
244  h1_ele_mee_all = nullptr;
245  h1_ele_mee_os = nullptr;
246  h1_ele_mee_os_ebeb = nullptr;
247  h1_ele_mee_os_ebee = nullptr;
248  h1_ele_mee_os_eeee = nullptr;
249  h1_ele_mee_os_gg = nullptr;
250  h1_ele_mee_os_gb = nullptr;
251  h1_ele_mee_os_bb = nullptr;
252 
253  h2_ele_E2mnE1vsMee_all = nullptr;
254  h2_ele_E2mnE1vsMee_egeg_all = nullptr;
255 
256  h1_ele_charge = nullptr;
257  h2_ele_chargeVsEta = nullptr;
258  h2_ele_chargeVsPhi = nullptr;
259  h2_ele_chargeVsPt = nullptr;
260  h1_ele_vertexP = nullptr;
261  h1_ele_vertexPt = nullptr;
262  h1_ele_vertexPt_nocut = nullptr;
263  h1_ele_Et = nullptr;
264  h2_ele_vertexPtVsEta = nullptr;
265  h2_ele_vertexPtVsPhi = nullptr;
266  h1_ele_vertexPt_5100 = nullptr;
267  h1_ele_vertexEta = nullptr;
268  h2_ele_vertexEtaVsPhi = nullptr;
269  h1_ele_vertexAbsEta = nullptr;
270  h1_ele_vertexPhi = nullptr;
271  h1_ele_vertexX = nullptr;
272  h1_ele_vertexY = nullptr;
273  h1_ele_vertexZ = nullptr;
274  h1_ele_vertexTIP = nullptr;
275  h2_ele_vertexTIPVsEta = nullptr;
276  h2_ele_vertexTIPVsPhi = nullptr;
277  h2_ele_vertexTIPVsPt = nullptr;
278 
279  h1_scl_En = nullptr;
280  h1_scl_EoEtrue_barrel = nullptr;
281  h1_scl_EoEtrue_endcaps = nullptr;
284  h1_scl_EoEtrue_ebeegap = nullptr;
287  h1_scl_EoEtrue_barrel_new = nullptr;
288  h1_scl_EoEtrue_endcaps_new = nullptr;
291  h1_scl_EoEtrue_ebeegap_new = nullptr;
293  h2_scl_EoEtrueVsrecOfflineVertices = nullptr; // new 2015.15.05
294  h2_scl_EoEtrueVsrecOfflineVertices_barrel = nullptr; // new 2015.15.05
295  h2_scl_EoEtrueVsrecOfflineVertices_endcaps = nullptr; // new 2015.15.05
297  h1_scl_Et = nullptr;
298  h2_scl_EtVsEta = nullptr;
299  h2_scl_EtVsPhi = nullptr;
300  h2_scl_EtaVsPhi = nullptr;
301  h1_scl_Eta = nullptr;
302  h1_scl_Phi = nullptr;
303  // h1_scl_ESFrac = 0 ;
304  h1_scl_ESFrac_endcaps = nullptr;
305 
306  h2_scl_EoEtruePfVsEg = nullptr;
307 
308  h1_scl_SigEtaEta = nullptr;
309  h1_scl_SigEtaEta_barrel = nullptr;
310  h1_scl_SigEtaEta_endcaps = nullptr;
311  h1_scl_SigIEtaIEta = nullptr;
312  h1_scl_SigIEtaIEta_barrel = nullptr;
313  h1_scl_SigIEtaIEta_endcaps = nullptr;
314  h1_scl_SigIEtaIEta_mAOD = nullptr;
320  h1_scl_E1x5 = nullptr;
321  h1_scl_E1x5_barrel = nullptr;
322  h1_scl_E1x5_endcaps = nullptr;
323  h1_scl_E2x5max = nullptr;
324  h1_scl_E2x5max_barrel = nullptr;
325  h1_scl_E2x5max_endcaps = nullptr;
326  h1_scl_E5x5 = nullptr;
327  h1_scl_E5x5_barrel = nullptr;
328  h1_scl_E5x5_endcaps = nullptr;
329  h1_scl_bcl_EtotoEtrue = nullptr;
332 
333  h1_ele_ambiguousTracks = nullptr;
334  h2_ele_ambiguousTracksVsEta = nullptr;
335  h2_ele_ambiguousTracksVsPhi = nullptr;
336  h2_ele_ambiguousTracksVsPt = nullptr;
337  h1_ele_foundHits = nullptr;
338  h1_ele_foundHits_barrel = nullptr;
339  h1_ele_foundHits_endcaps = nullptr;
340  h2_ele_foundHitsVsEta = nullptr;
341  h2_ele_foundHitsVsEta_mAOD = nullptr;
342  h2_ele_foundHitsVsPhi = nullptr;
343  h2_ele_foundHitsVsPt = nullptr;
344  h1_ele_lostHits = nullptr;
345  h1_ele_lostHits_barrel = nullptr;
346  h1_ele_lostHits_endcaps = nullptr;
347  h2_ele_lostHitsVsEta = nullptr;
348  h2_ele_lostHitsVsPhi = nullptr;
349  h2_ele_lostHitsVsPt = nullptr;
350  h1_ele_chi2 = nullptr;
351  h1_ele_chi2_barrel = nullptr;
352  h1_ele_chi2_endcaps = nullptr;
353  h2_ele_chi2VsEta = nullptr;
354  h2_ele_chi2VsPhi = nullptr;
355  h2_ele_chi2VsPt = nullptr;
356 
357  h1_ele_PoPtrue = nullptr;
358  h1_ele_PoPtrue_barrel = nullptr;
359  h1_ele_PoPtrue_endcaps = nullptr;
360 
361  h2_ele_PoPtrueVsEta = nullptr;
362  h2_ele_PoPtrueVsPhi = nullptr;
363  h2_ele_PoPtrueVsPt = nullptr;
364  h2_ele_sigmaIetaIetaVsPt = nullptr;
365 
370  h1_ele_PtoPttrue = nullptr;
371  h1_ele_PtoPttrue_barrel = nullptr;
372  h1_ele_PtoPttrue_endcaps = nullptr;
373  h1_ele_ChargeMnChargeTrue = nullptr;
374  h1_ele_EtaMnEtaTrue = nullptr;
375  h1_ele_EtaMnEtaTrue_barrel = nullptr;
376  h1_ele_EtaMnEtaTrue_endcaps = nullptr;
377  h2_ele_EtaMnEtaTrueVsEta = nullptr;
378  h2_ele_EtaMnEtaTrueVsPhi = nullptr;
379  h2_ele_EtaMnEtaTrueVsPt = nullptr;
380  h1_ele_PhiMnPhiTrue = nullptr;
381  h1_ele_PhiMnPhiTrue_barrel = nullptr;
382  h1_ele_PhiMnPhiTrue_endcaps = nullptr;
383  h1_ele_PhiMnPhiTrue2 = nullptr;
384  h2_ele_PhiMnPhiTrueVsEta = nullptr;
385  h2_ele_PhiMnPhiTrueVsPhi = nullptr;
386  h2_ele_PhiMnPhiTrueVsPt = nullptr;
387  h1_ele_PinMnPout = nullptr;
388  h1_ele_PinMnPout_mode = nullptr;
389  h2_ele_PinMnPoutVsEta_mode = nullptr;
390  h2_ele_PinMnPoutVsPhi_mode = nullptr;
391  h2_ele_PinMnPoutVsPt_mode = nullptr;
392  h2_ele_PinMnPoutVsE_mode = nullptr;
393  h2_ele_PinMnPoutVsChi2_mode = nullptr;
394 
395  h1_ele_outerP = nullptr;
396  h1_ele_outerP_mode = nullptr;
397  h2_ele_outerPVsEta_mode = nullptr;
398  h1_ele_outerPt = nullptr;
399  h1_ele_outerPt_mode = nullptr;
400  h2_ele_outerPtVsEta_mode = nullptr;
401  h2_ele_outerPtVsPhi_mode = nullptr;
402  h2_ele_outerPtVsPt_mode = nullptr;
403  h1_ele_EoP = nullptr;
404  h1_ele_EoP_barrel = nullptr;
405  h1_ele_EoP_endcaps = nullptr;
406  h2_ele_EoPVsEta = nullptr;
407  h2_ele_EoPVsPhi = nullptr;
408  h2_ele_EoPVsE = nullptr;
409  h1_ele_EseedOP = nullptr;
410  h1_ele_EseedOP_barrel = nullptr;
411  h1_ele_EseedOP_endcaps = nullptr;
412  h2_ele_EseedOPVsEta = nullptr;
413  h2_ele_EseedOPVsPhi = nullptr;
414  h2_ele_EseedOPVsE = nullptr;
415  h1_ele_EoPout = nullptr;
416  h1_ele_EoPout_barrel = nullptr;
417  h1_ele_EoPout_endcaps = nullptr;
418  h2_ele_EoPoutVsEta = nullptr;
419  h2_ele_EoPoutVsPhi = nullptr;
420  h2_ele_EoPoutVsE = nullptr;
421  h1_ele_EeleOPout = nullptr;
422  h1_ele_EeleOPout_barrel = nullptr;
423  h1_ele_EeleOPout_endcaps = nullptr;
424  h2_ele_EeleOPoutVsEta = nullptr;
425  h2_ele_EeleOPoutVsPhi = nullptr;
426  h2_ele_EeleOPoutVsE = nullptr;
427 
428  h1_ele_dEtaSc_propVtx = nullptr;
431  h1_ele_dEtaSc_propVtx_mAOD = nullptr;
434  h2_ele_dEtaScVsEta_propVtx = nullptr;
435  h2_ele_dEtaScVsPhi_propVtx = nullptr;
436  h2_ele_dEtaScVsPt_propVtx = nullptr;
437  h1_ele_dPhiSc_propVtx = nullptr;
440  h2_ele_dPhiScVsEta_propVtx = nullptr;
441  h2_ele_dPhiScVsPhi_propVtx = nullptr;
442  h2_ele_dPhiScVsPt_propVtx = nullptr;
443  h1_ele_dEtaCl_propOut = nullptr;
446  h2_ele_dEtaClVsEta_propOut = nullptr;
447  h2_ele_dEtaClVsPhi_propOut = nullptr;
448  h2_ele_dEtaClVsPt_propOut = nullptr;
449  h1_ele_dPhiCl_propOut = nullptr;
452  h1_ele_dPhiCl_propOut_mAOD = nullptr;
455  h2_ele_dPhiClVsEta_propOut = nullptr;
456  h2_ele_dPhiClVsPhi_propOut = nullptr;
457  h2_ele_dPhiClVsPt_propOut = nullptr;
458  h1_ele_dEtaEleCl_propOut = nullptr;
464  h1_ele_dPhiEleCl_propOut = nullptr;
470 
471  h1_ele_seed_subdet2 = nullptr;
472  h1_ele_seed_mask = nullptr;
473  h1_ele_seed_mask_bpix = nullptr;
474  h1_ele_seed_mask_fpix = nullptr;
475  h1_ele_seed_mask_tec = nullptr;
476  h1_ele_seed_dphi2 = nullptr;
477  h2_ele_seed_dphi2VsEta = nullptr;
478  h2_ele_seed_dphi2VsPt = nullptr;
479  h1_ele_seed_dphi2pos = nullptr;
480  h2_ele_seed_dphi2posVsEta = nullptr;
481  h2_ele_seed_dphi2posVsPt = nullptr;
482  h1_ele_seed_drz2 = nullptr;
483  h2_ele_seed_drz2VsEta = nullptr;
484  h2_ele_seed_drz2VsPt = nullptr;
485  h1_ele_seed_drz2pos = nullptr;
486  h2_ele_seed_drz2posVsEta = nullptr;
487  h2_ele_seed_drz2posVsPt = nullptr;
488 
489  h1_ele_classes = nullptr;
490  h1_ele_eta = nullptr;
491  h1_ele_eta_golden = nullptr;
492  h1_ele_eta_bbrem = nullptr;
493  h1_ele_eta_shower = nullptr;
494 
495  h1_ele_HoE = nullptr;
496  h1_ele_HoE_barrel = nullptr;
497  h1_ele_HoE_endcaps = nullptr;
498  h1_ele_HoE_fiducial = nullptr;
499  h2_ele_HoEVsEta = nullptr;
500  h2_ele_HoEVsPhi = nullptr;
501  h2_ele_HoEVsE = nullptr;
502  h1_ele_HoE_mAOD = nullptr;
503  h1_ele_HoE_mAOD_barrel = nullptr;
504  h1_ele_HoE_mAOD_endcaps = nullptr;
505 
506  h1_ele_fbrem = nullptr;
507  h1_ele_fbrem_barrel = nullptr;
508  h1_ele_fbrem_endcaps = nullptr;
509  p1_ele_fbremVsEta_mode = nullptr;
510  p1_ele_fbremVsEta_mean = nullptr;
511  h1_ele_fbrem_mAOD = nullptr;
512  h1_ele_fbrem_mAOD_barrel = nullptr;
513  h1_ele_fbrem_mAOD_endcaps = nullptr;
514  h1_ele_superclusterfbrem = nullptr;
515 
518  h2_ele_PinVsPoutGolden_mode = nullptr;
520  h2_ele_PinVsPoutGolden_mean = nullptr;
526  h1_scl_EoEtrueGolden_barrel = nullptr;
530 
531  h1_ele_mva = nullptr;
532  h1_ele_mva_isolated = nullptr;
533  h1_ele_provenance = nullptr;
534 
535  // isolation
536  h1_ele_tkSumPt_dr03 = nullptr;
537  h1_ele_tkSumPt_dr03_barrel = nullptr;
538  h1_ele_tkSumPt_dr03_endcaps = nullptr;
539  h1_ele_ecalRecHitSumEt_dr03 = nullptr;
546  h1_ele_tkSumPt_dr04 = nullptr;
547  h1_ele_tkSumPt_dr04_barrel = nullptr;
548  h1_ele_tkSumPt_dr04_endcaps = nullptr;
549  h1_ele_ecalRecHitSumEt_dr04 = nullptr;
556 
557  // conversions
558  h1_ele_convFlags = nullptr;
559  h1_ele_convFlags_all = nullptr;
560  h1_ele_convDist = nullptr;
561  h1_ele_convDist_all = nullptr;
562  h1_ele_convDcot = nullptr;
563  h1_ele_convDcot_all = nullptr;
564  h1_ele_convRadius = nullptr;
565  h1_ele_convRadius_all = nullptr;
566 
567  // PF
577 }
578 
581 
582  // prepareStore() ;
583  setBookIndex(-1);
584  setBookPrefix("h");
587 
588  // mc truth collections sizes
589  h1_mcNum = bookH1withSumw2(iBooker, "mcNum", "# mc particles", fhits_nbin, 0., fhits_max, "N_{gen}");
590  h1_eleNum = bookH1withSumw2(iBooker, "mcNum_ele", "# mc electrons", fhits_nbin, 0., fhits_max, "N_{gen ele}");
591  h1_gamNum = bookH1withSumw2(iBooker, "mcNum_gam", "# mc gammas", fhits_nbin, 0., fhits_max, "N_{gen #gamma}");
592 
593  // rec event collections sizes
594  h1_recEleNum = bookH1(iBooker, "recEleNum", "# rec electrons", ele_nbin, ele_min, ele_max, "N_{ele}");
595  h1_recCoreNum = bookH1(iBooker, "recCoreNum", "# rec electron cores", core_nbin, core_min, core_max, "N_{core}");
596  h1_recTrackNum = bookH1(iBooker, "recTrackNum", "# rec gsf tracks", track_nbin, track_min, track_max, "N_{track}");
597  h1_recSeedNum = bookH1(iBooker, "recSeedNum", "# rec electron seeds", seed_nbin, seed_min, seed_max, "N_{seed}");
599  iBooker, "recOfflineVertices", "# rec Offline Primary Vertices", opv_nbin, opv_min, opv_max, "N_{Vertices}");
600 
602  "scl_EoEtrueVsrecOfflineVertices",
603  "E/Etrue vs number of primary vertices",
604  opv_nbin, // 10,
605  opv_min, // 0.,
606  opv_max, // 50.,
607  50,
608  0.,
609  2.5,
610  "N_{primary vertices}",
611  "E/E_{true}");
613  "scl_EoEtrueVsrecOfflineVertices_barrel",
614  "E/Etrue vs number of primary , barrel",
615  opv_nbin, // 10,
616  opv_min, // 0.,
617  opv_max, // 50.,
618  50,
619  0.,
620  2.5,
621  "N_{primary vertices}",
622  "E/E_{true}");
624  "scl_EoEtrueVsrecOfflineVertices_endcaps",
625  "E/Etrue vs number of primary , endcaps",
626  opv_nbin, // 10,
627  opv_min, // 0.,
628  opv_max, // 50.,
629  50,
630  0.,
631  2.5,
632  "N_{primary vertices}",
633  "E/E_{true}");
634 
635  // mc
636  setBookPrefix("h_mc");
637  h1_mc_Eta = bookH1withSumw2(iBooker, "Eta", "gen #eta", eta_nbin, eta_min, eta_max, "#eta");
638  h1_mc_AbsEta = bookH1withSumw2(iBooker, "AbsEta", "gen |#eta|", eta_nbin / 2, 0., eta_max);
639  h1_mc_P = bookH1withSumw2(iBooker, "P", "gen p", p_nbin, 0., p_max, "p (GeV/c)");
640  h1_mc_Pt = bookH1withSumw2(iBooker, "Pt", "gen pt", pteff_nbin, 5., pt_max);
641  h1_mc_Phi = bookH1withSumw2(iBooker, "Phi", "gen phi", phi_nbin, phi_min, phi_max);
642  h1_mc_Z = bookH1withSumw2(iBooker, "Z", "gen z ", xyz_nbin, -25, 25);
643  h2_mc_PtEta =
644  bookH2withSumw2(iBooker, "PtEta", "gen pt vs #eta", eta2D_nbin, eta_min, eta_max, pt2D_nbin, 5., pt_max);
645 
646  // all electrons
647  setBookPrefix("h_ele");
649  "EoverP_all",
650  "ele E/P_{vertex}, all reco electrons",
651  eop_nbin,
652  0.,
653  eop_max,
654  "E/P_{vertex}",
655  "Events",
656  "ELE_LOGY E1 P");
658  "EoverP_all_barrel",
659  "ele E/P_{vertex}, all reco electrons, barrel",
660  eop_nbin,
661  0.,
662  eop_max,
663  "E/P_{vertex}",
664  "Events",
665  "ELE_LOGY E1 P");
667  "EoverP_all_endcaps",
668  "ele E/P_{vertex}, all reco electrons, endcaps",
669  eop_nbin,
670  0.,
671  eop_max,
672  "E/P_{vertex}",
673  "Events",
674  "ELE_LOGY E1 P");
676  "EseedOP_all",
677  "ele E_{seed}/P_{vertex}, all reco electrons",
678  eop_nbin,
679  0.,
680  eop_max,
681  "E_{seed}/P_{vertex}",
682  "Events",
683  "ELE_LOGY E1 P");
685  "EseedOP_all_barrel",
686  "ele E_{seed}/P_{vertex}, all reco electrons, barrel",
687  eop_nbin,
688  0.,
689  eop_max,
690  "E_{seed}/P_{vertex}",
691  "Events",
692  "ELE_LOGY E1 P");
694  "EseedOP_all_endcaps",
695  "ele E_{seed}/P_{vertex}, all reco electrons, endcaps",
696  eop_nbin,
697  0.,
698  eop_max,
699  "E_{seed}/P_{vertex}",
700  "Events",
701  "ELE_LOGY E1 P");
703  "EoPout_all",
704  "ele E_{seed}/P_{out}, all reco electrons",
705  eop_nbin,
706  0.,
707  eop_max,
708  "E_{seed}/P_{out}",
709  "Events",
710  "ELE_LOGY E1 P");
712  "EoPout_all_barrel",
713  "ele E_{seed}/P_{out}, all reco electrons barrel",
714  eop_nbin,
715  0.,
716  eop_max,
717  "E_{seed}/P_{out}",
718  "Events",
719  "ELE_LOGY E1 P");
721  "EoPout_all_endcaps",
722  "ele E_{seed}/P_{out}, all reco electrons endcaps",
723  eop_nbin,
724  0.,
725  eop_max,
726  "E_{seed}/P_{out}",
727  "Events",
728  "ELE_LOGY E1 P");
730  "EeleOPout_all",
731  "ele E_{ele}/P_{out}, all reco electrons",
732  eop_nbin,
733  0.,
734  eop_max,
735  "E_{ele}/P_{out}",
736  "Events",
737  "ELE_LOGY E1 P");
739  "EeleOPout_all_barrel",
740  "ele E_{ele}/P_{out}, all reco electrons barrel",
741  eop_nbin,
742  0.,
743  eop_max,
744  "E_{ele}/P_{out}",
745  "Events",
746  "ELE_LOGY E1 P");
748  "EeleOPout_all_endcaps",
749  "ele E_{ele}/P_{out}, all reco electrons endcaps",
750  eop_nbin,
751  0.,
752  eop_max,
753  "E_{ele}/P_{out}",
754  "Events",
755  "ELE_LOGY E1 P");
757  "dEtaSc_propVtx_all",
758  "ele #eta_{sc} - #eta_{tr}, prop from vertex, all reco electrons",
762  "#eta_{sc} - #eta_{tr}",
763  "Events",
764  "ELE_LOGY E1 P");
766  bookH1withSumw2(iBooker,
767  "dEtaSc_propVtx_all_barrel",
768  "ele #eta_{sc} - #eta_{tr}, prop from vertex, all reco electrons barrel",
772  "#eta_{sc} - #eta_{tr}",
773  "Events",
774  "ELE_LOGY E1 P");
776  bookH1withSumw2(iBooker,
777  "dEtaSc_propVtx_all_endcaps",
778  "ele #eta_{sc} - #eta_{tr}, prop from vertex, all reco electrons endcaps",
782  "#eta_{sc} - #eta_{tr}",
783  "Events",
784  "ELE_LOGY E1 P");
786  "dPhiSc_propVtx_all",
787  "ele #phi_{sc} - #phi_{tr}, prop from vertex, all reco electrons",
791  "#phi_{sc} - #phi_{tr} (rad)",
792  "Events",
793  "ELE_LOGY E1 P");
795  bookH1withSumw2(iBooker,
796  "dPhiSc_propVtx_all_barrel",
797  "ele #phi_{sc} - #phi_{tr}, prop from vertex, all reco electrons barrel",
801  "#phi_{sc} - #phi_{tr} (rad)",
802  "Events",
803  "ELE_LOGY E1 P");
805  bookH1withSumw2(iBooker,
806  "dPhiSc_propVtx_all_endcaps",
807  "ele #phi_{sc} - #phi_{tr}, prop from vertex, all reco electrons endcaps",
811  "#phi_{sc} - #phi_{tr} (rad)",
812  "Events",
813  "ELE_LOGY E1 P");
815  "dEtaCl_propOut_all",
816  "ele #eta_{cl} - #eta_{tr}, prop from outermost, all reco electrons",
820  "#eta_{sc} - #eta_{tr}",
821  "Events",
822  "ELE_LOGY E1 P");
824  bookH1withSumw2(iBooker,
825  "dEtaCl_propOut_all_barrel",
826  "ele #eta_{cl} - #eta_{tr}, prop from outermost, all reco electrons barrel",
830  "#eta_{sc} - #eta_{tr}",
831  "Events",
832  "ELE_LOGY E1 P");
834  bookH1withSumw2(iBooker,
835  "dEtaCl_propOut_all_endcaps",
836  "ele #eta_{cl} - #eta_{tr}, prop from outermost, all reco electrons endcaps",
840  "#eta_{sc} - #eta_{tr}",
841  "Events",
842  "ELE_LOGY E1 P");
844  "dPhiCl_propOut_all",
845  "ele #phi_{cl} - #phi_{tr}, prop from outermost, all reco electrons",
849  "#phi_{sc} - #phi_{tr} (rad)",
850  "Events",
851  "ELE_LOGY E1 P");
853  bookH1withSumw2(iBooker,
854  "dPhiCl_propOut_all_barrel",
855  "ele #phi_{cl} - #phi_{tr}, prop from outermost, all reco electrons barrel",
859  "#phi_{sc} - #phi_{tr} (rad)",
860  "Events",
861  "ELE_LOGY E1 P");
863  bookH1withSumw2(iBooker,
864  "dPhiCl_propOut_all_endcaps",
865  "ele #phi_{cl} - #phi_{tr}, prop from outermost, all reco electrons endcaps",
869  "#phi_{sc} - #phi_{tr} (rad)",
870  "Events",
871  "ELE_LOGY E1 P");
873  "HoE_all",
874  "ele hadronic energy / em energy, all reco electrons",
875  hoe_nbin,
876  hoe_min,
877  hoe_max,
878  "H/E",
879  "Events",
880  "ELE_LOGY E1 P");
882  "HoE_all_barrel",
883  "ele hadronic energy / em energy, all reco electrons barrel",
884  hoe_nbin,
885  hoe_min,
886  hoe_max,
887  "H/E",
888  "Events",
889  "ELE_LOGY E1 P");
891  "HoE_all_endcaps",
892  "ele hadronic energy / em energy, all reco electrons endcaps",
893  hoe_nbin,
894  hoe_min,
895  hoe_max,
896  "H/E",
897  "Events",
898  "ELE_LOGY E1 P");
900  "HoE_bc_all",
901  "ele hadronic energy / em energy, all reco electrons, behind cluster",
902  hoe_nbin,
903  hoe_min,
904  hoe_max,
905  "H/E",
906  "Events",
907  "ELE_LOGY E1 P");
909  iBooker, "vertexPt_all", "ele p_{T}, all reco electrons", pteff_nbin, 5., pt_max, "", "Events", "ELE_LOGY E1 P");
910  h1_ele_Et_all = bookH1withSumw2(iBooker,
911  "Et_all",
912  "ele ecal E_{T}, all reco electrons",
913  pteff_nbin,
914  5.,
915  pt_max,
916  "E_{T} (GeV)",
917  "Events",
918  "ELE_LOGY E1 P");
920  "vertexEta_all",
921  "ele eta, all reco electrons",
922  eta_nbin,
923  eta_min,
924  eta_max,
925  "",
926  "Events",
927  "ELE_LOGY E1 P");
929  "TIP_all",
930  "ele vertex transverse radius, all reco electrons",
931  100,
932  0.,
933  0.2,
934  "r_{T} (cm)",
935  "Events",
936  "ELE_LOGY E1 P");
938  "TIP_all_barrel",
939  "ele vertex transverse radius, all reco electrons barrel",
940  100,
941  0.,
942  0.2,
943  "r_{T} (cm)",
944  "Events",
945  "ELE_LOGY E1 P");
947  "TIP_all_endcaps",
948  "ele vertex transverse radius, all reco electrons endcaps",
949  100,
950  0.,
951  0.2,
952  "r_{T} (cm)",
953  "Events",
954  "ELE_LOGY E1 P");
956  "mee_all",
957  "ele pairs invariant mass, all reco electrons",
958  mee_nbin,
959  mee_min,
960  mee_max,
961  "m_{ee} (GeV/c^{2})",
962  "Events",
963  "ELE_LOGY E1 P");
964  h1_ele_mee_os = bookH1withSumw2(iBooker,
965  "mee_os",
966  "ele pairs invariant mass, opp. sign",
967  mee_nbin,
968  mee_min,
969  mee_max,
970  "m_{e^{+}e^{-}} (GeV/c^{2})",
971  "Events",
972  "ELE_LOGY E1 P");
974  "mee_os_ebeb",
975  "ele pairs invariant mass, opp. sign, EB-EB",
976  mee_nbin,
977  mee_min,
978  mee_max,
979  "m_{e^{+}e^{-}} (GeV/c^{2})",
980  "Events",
981  "ELE_LOGY E1 P");
983  "mee_os_ebee",
984  "ele pairs invariant mass, opp. sign, EB-EE",
985  mee_nbin,
986  mee_min,
987  mee_max,
988  "m_{e^{+}e^{-}} (GeV/c^{2})",
989  "Events",
990  "ELE_LOGY E1 P");
992  "mee_os_eeee",
993  "ele pairs invariant mass, opp. sign, EE-EE",
994  mee_nbin,
995  mee_min,
996  mee_max,
997  "m_{e^{+}e^{-}} (GeV/c^{2})",
998  "Events",
999  "ELE_LOGY E1 P");
1001  "mee_os_gg",
1002  "ele pairs invariant mass, opp. sign, good-good",
1003  mee_nbin,
1004  mee_min,
1005  mee_max,
1006  "m_{e^{+}e^{-}} (GeV/c^{2})",
1007  "Events",
1008  "ELE_LOGY E1 P");
1010  "mee_os_gb",
1011  "ele pairs invariant mass, opp. sign, good-bad",
1012  mee_nbin,
1013  mee_min,
1014  mee_max,
1015  "m_{e^{+}e^{-}} (GeV/c^{2})",
1016  "Events",
1017  "ELE_LOGY E1 P");
1019  "mee_os_bb",
1020  "ele pairs invariant mass, opp. sign, bad-bad",
1021  mee_nbin,
1022  mee_min,
1023  mee_max,
1024  "m_{e^{+}e^{-}} (GeV/c^{2})",
1025  "Events",
1026  "ELE_LOGY E1 P");
1027 
1028  // duplicates
1029  h2_ele_E2mnE1vsMee_all = bookH2(iBooker,
1030  "E2mnE1vsMee_all",
1031  "E2 - E1 vs ele pairs invariant mass, all electrons",
1032  mee_nbin,
1033  mee_min,
1034  mee_max,
1035  100,
1036  -50.,
1037  50.,
1038  "m_{e^{+}e^{-}} (GeV/c^{2})",
1039  "E2 - E1 (GeV)");
1041  "E2mnE1vsMee_egeg_all",
1042  "E2 - E1 vs ele pairs invariant mass, ecal driven pairs, all electrons",
1043  mee_nbin,
1044  mee_min,
1045  mee_max,
1046  100,
1047  -50.,
1048  50.,
1049  "m_{e^{+}e^{-}} (GeV/c^{2})",
1050  "E2 - E1 (GeV)");
1051 
1052  // charge ID
1054  bookH1withSumw2(iBooker, "ChargeMnChargeTrue", "ele charge - gen charge ", 5, -1., 4., "q_{rec} - q_{gen}");
1055  setBookPrefix("h_mc");
1057  bookH1withSumw2(iBooker, "Eta_matched_qmisid", "charge misid vs gen eta", eta_nbin, eta_min, eta_max);
1059  bookH1withSumw2(iBooker, "AbsEta_matched_qmisid", "charge misid vs gen |eta|", eta_nbin / 2, 0., eta_max);
1061  bookH1withSumw2(iBooker, "Pt_matched_qmisid", "charge misid vs gen transverse momentum", pteff_nbin, 5., pt_max);
1063  bookH1withSumw2(iBooker, "Phi_matched_qmisid", "charge misid vs gen phi", phi_nbin, phi_min, phi_max);
1064  h1_mc_Z_matched_qmisid = bookH1withSumw2(iBooker, "Z_matched_qmisid", "charge misid vs gen z", xyz_nbin, -25, 25);
1065 
1066  // matched electrons
1067  setBookPrefix("h_mc");
1068  h1_mc_Eta_matched = bookH1withSumw2(iBooker, "Eta_matched", "Efficiency vs gen eta", eta_nbin, eta_min, eta_max);
1070  bookH1withSumw2(iBooker, "AbsEta_matched", "Efficiency vs gen |eta|", eta_nbin / 2, 0., eta_max);
1071  h1_mc_Pt_matched = bookH1(iBooker, "Pt_matched", "Efficiency vs gen transverse momentum", pteff_nbin, 5., pt_max);
1072  h1_mc_Phi_matched = bookH1withSumw2(iBooker, "Phi_matched", "Efficiency vs gen phi", phi_nbin, phi_min, phi_max);
1073  h1_mc_Z_matched = bookH1withSumw2(iBooker, "Z_matched", "Efficiency vs gen vertex z", xyz_nbin, -25, 25);
1075  iBooker, "PtEta_matched", "Efficiency vs pt #eta", eta2D_nbin, eta_min, eta_max, pt2D_nbin, 5., pt_max);
1076  setBookPrefix("h_ele");
1077  h1_ele_charge = bookH1withSumw2(iBooker, "charge", "ele charge", 5, -2.5, 2.5, "charge");
1078  h2_ele_chargeVsEta = bookH2(iBooker, "chargeVsEta", "ele charge vs eta", eta2D_nbin, eta_min, eta_max, 5, -2., 2.);
1079  h2_ele_chargeVsPhi = bookH2(iBooker, "chargeVsPhi", "ele charge vs phi", phi2D_nbin, phi_min, phi_max, 5, -2., 2.);
1080  h2_ele_chargeVsPt = bookH2(iBooker, "chargeVsPt", "ele charge vs pt", pt_nbin, 0., 100., 5, -2., 2.);
1081  h1_ele_vertexP = bookH1withSumw2(iBooker, "vertexP", "ele momentum", p_nbin, 0., p_max, "p_{vertex} (GeV/c)");
1082  h1_ele_vertexPt =
1083  bookH1withSumw2(iBooker, "vertexPt", "ele transverse momentum", pt_nbin, 0., pt_max, "p_{T vertex} (GeV/c)");
1085  iBooker, "vertexPt_nocut", "pT of prunned electrons", pt_nbin, 0., pt_max, "p_{T vertex} (GeV/c)");
1086  h1_ele_Et = bookH1withSumw2(iBooker, "Et", "ele ecal E_{T}", pt_nbin, 0., pt_max, "E_{T} (GeV)");
1088  iBooker, "vertexPtVsEta", "ele transverse momentum vs eta", eta2D_nbin, eta_min, eta_max, pt2D_nbin, 0., pt_max);
1090  iBooker, "vertexPtVsPhi", "ele transverse momentum vs phi", phi2D_nbin, phi_min, phi_max, pt2D_nbin, 0., pt_max);
1091  h1_ele_vertexEta = bookH1withSumw2(iBooker, "vertexEta", "ele momentum eta", eta_nbin, eta_min, eta_max, "#eta");
1093  iBooker, "vertexEtaVsPhi", "ele momentum eta vs phi", eta2D_nbin, eta_min, eta_max, phi2D_nbin, phi_min, phi_max);
1095  bookH1withSumw2(iBooker, "vertexPhi", "ele momentum #phi", phi_nbin, phi_min, phi_max, "#phi (rad)");
1096  h1_ele_vertexX = bookH1withSumw2(iBooker, "vertexX", "ele vertex x", xyz_nbin, -0.6, 0.6, "x (cm)");
1097  h1_ele_vertexY = bookH1withSumw2(iBooker, "vertexY", "ele vertex y", xyz_nbin, -0.6, 0.6, "y (cm)");
1098  h1_ele_vertexZ = bookH1withSumw2(iBooker, "vertexZ", "ele vertex z", xyz_nbin, -25, 25, "z (cm)");
1100  bookH1withSumw2(iBooker, "vertexTIP", "ele transverse impact parameter (wrt gen vtx)", 90, 0., 0.15, "TIP (cm)");
1101  h2_ele_vertexTIPVsEta = bookH2(iBooker,
1102  "vertexTIPVsEta",
1103  "ele transverse impact parameter (wrt gen vtx) vs eta",
1104  eta2D_nbin,
1105  eta_min,
1106  eta_max,
1107  45,
1108  0.,
1109  0.15,
1110  "#eta",
1111  "TIP (cm)");
1112  h2_ele_vertexTIPVsPhi = bookH2(iBooker,
1113  "vertexTIPVsPhi",
1114  "ele transverse impact parameter (wrt gen vtx) vs phi",
1115  phi2D_nbin,
1116  phi_min,
1117  phi_max,
1118  45,
1119  0.,
1120  0.15,
1121  "#phi (rad)",
1122  "TIP (cm)");
1123  h2_ele_vertexTIPVsPt = bookH2(iBooker,
1124  "vertexTIPVsPt",
1125  "ele transverse impact parameter (wrt gen vtx) vs transverse momentum",
1126  pt2D_nbin,
1127  0.,
1128  pt_max,
1129  45,
1130  0.,
1131  0.15,
1132  "p_{T} (GeV/c)",
1133  "TIP (cm)");
1135  iBooker, "PoPtrue", "ele momentum / gen momentum", poptrue_nbin, poptrue_min, poptrue_max, "P/P_{gen}");
1137  "PoPtrue_barrel",
1138  "ele momentum / gen momentum, barrel",
1139  poptrue_nbin,
1140  poptrue_min,
1141  poptrue_max,
1142  "P/P_{gen}");
1144  "PoPtrue_endcaps",
1145  "ele momentum / gen momentum, endcaps",
1146  poptrue_nbin,
1147  poptrue_min,
1148  poptrue_max,
1149  "P/P_{gen}");
1151  "PoPtrueVsEta",
1152  "ele momentum / gen momentum vs eta",
1153  eta2D_nbin,
1154  eta_min,
1155  eta_max,
1156  50,
1157  poptrue_min,
1158  poptrue_max);
1159  h2_ele_PoPtrueVsPhi = bookH2(iBooker,
1160  "PoPtrueVsPhi",
1161  "ele momentum / gen momentum vs phi",
1162  phi2D_nbin,
1163  phi_min,
1164  phi_max,
1165  50,
1166  poptrue_min,
1167  poptrue_max);
1169  iBooker, "PoPtrueVsPt", "ele momentum / gen momentum vs eta", pt2D_nbin, 0., pt_max, 50, poptrue_min, poptrue_max);
1170  // h2_ele_sigmaIetaIetaVsPt = bookH2(iBooker,"sigmaIetaIetaVsPt","SigmaIetaIeta vs pt",pt_nbin,0.,pt_max,100,0.,0.05);
1172  bookH2(iBooker, "sigmaIetaIetaVsPt", "SigmaIetaIeta vs pt", 100, 0., pt_max, 100, 0., 0.05);
1174  "PoPtrue_golden_barrel",
1175  "ele momentum / gen momentum, golden, barrel",
1176  poptrue_nbin,
1177  poptrue_min,
1178  poptrue_max,
1179  "P/P_{gen}");
1181  "PoPtrue_golden_endcaps",
1182  "ele momentum / gen momentum, golden, endcaps",
1183  poptrue_nbin,
1184  poptrue_min,
1185  poptrue_max,
1186  "P/P_{gen}");
1188  "PoPtrue_showering_barrel",
1189  "ele momentum / gen momentum, showering, barrel",
1190  poptrue_nbin,
1191  poptrue_min,
1192  poptrue_max,
1193  "P/P_{gen}");
1195  "PoPtrue_showering_endcaps",
1196  "ele momentum / gen momentum, showering, endcaps",
1197  poptrue_nbin,
1198  poptrue_min,
1199  poptrue_max,
1200  "P/P_{gen}");
1202  "PtoPttrue",
1203  "ele transverse momentum / gen transverse momentum",
1204  poptrue_nbin,
1205  poptrue_min,
1206  poptrue_max,
1207  "P_{T}/P_{T}^{gen}");
1209  "PtoPttrue_barrel",
1210  "ele transverse momentum / gen transverse momentum, barrel",
1211  poptrue_nbin,
1212  poptrue_min,
1213  poptrue_max,
1214  "P_{T}/P_{T}^{gen}");
1216  "PtoPttrue_endcaps",
1217  "ele transverse momentum / gen transverse momentum, endcaps",
1218  poptrue_nbin,
1219  poptrue_min,
1220  poptrue_max,
1221  "P_{T}/P_{T}^{gen}");
1223  iBooker, "EtaMnEtaTrue", "ele momentum eta - gen eta", deta_nbin, deta_min, deta_max, "#eta_{rec} - #eta_{gen}");
1225  "EtaMnEtaTrue_barrel",
1226  "ele momentum eta - gen eta barrel",
1227  deta_nbin,
1228  deta_min,
1229  deta_max,
1230  "#eta_{rec} - #eta_{gen}");
1232  "EtaMnEtaTrue_endcaps",
1233  "ele momentum eta - gen eta endcaps",
1234  deta_nbin,
1235  deta_min,
1236  deta_max,
1237  "#eta_{rec} - #eta_{gen}");
1238  h2_ele_EtaMnEtaTrueVsEta = bookH2(iBooker,
1239  "EtaMnEtaTrueVsEta",
1240  "ele momentum eta - gen eta vs eta",
1241  eta2D_nbin,
1242  eta_min,
1243  eta_max,
1244  deta_nbin / 2,
1245  deta_min,
1246  deta_max);
1247  h2_ele_EtaMnEtaTrueVsPhi = bookH2(iBooker,
1248  "EtaMnEtaTrueVsPhi",
1249  "ele momentum eta - gen eta vs phi",
1250  phi2D_nbin,
1251  phi_min,
1252  phi_max,
1253  deta_nbin / 2,
1254  deta_min,
1255  deta_max);
1256  h2_ele_EtaMnEtaTrueVsPt = bookH2(iBooker,
1257  "EtaMnEtaTrueVsPt",
1258  "ele momentum eta - gen eta vs pt",
1259  pt_nbin,
1260  0.,
1261  pt_max,
1262  deta_nbin / 2,
1263  deta_min,
1264  deta_max);
1266  "PhiMnPhiTrue",
1267  "ele momentum phi - gen phi",
1268  dphi_nbin,
1269  dphi_min,
1270  dphi_max,
1271  "#phi_{rec} - #phi_{gen} (rad)");
1273  "PhiMnPhiTrue_barrel",
1274  "ele momentum phi - gen phi barrel",
1275  dphi_nbin,
1276  dphi_min,
1277  dphi_max,
1278  "#phi_{rec} - #phi_{gen} (rad)");
1280  "PhiMnPhiTrue_endcaps",
1281  "ele momentum phi - gen phi endcaps",
1282  dphi_nbin,
1283  dphi_min,
1284  dphi_max,
1285  "#phi_{rec} - #phi_{gen} (rad)");
1287  bookH1(iBooker, "PhiMnPhiTrue2", "ele momentum phi - gen phi", dphimatch2D_nbin, dphimatch_min, dphimatch_max);
1288  h2_ele_PhiMnPhiTrueVsEta = bookH2(iBooker,
1289  "PhiMnPhiTrueVsEta",
1290  "ele momentum phi - gen phi vs eta",
1291  eta2D_nbin,
1292  eta_min,
1293  eta_max,
1294  dphi_nbin / 2,
1295  dphi_min,
1296  dphi_max);
1297  h2_ele_PhiMnPhiTrueVsPhi = bookH2(iBooker,
1298  "PhiMnPhiTrueVsPhi",
1299  "ele momentum phi - gen phi vs phi",
1300  phi2D_nbin,
1301  phi_min,
1302  phi_max,
1303  dphi_nbin / 2,
1304  dphi_min,
1305  dphi_max);
1306  h2_ele_PhiMnPhiTrueVsPt = bookH2(iBooker,
1307  "PhiMnPhiTrueVsPt",
1308  "ele momentum phi - gen phi vs pt",
1309  pt2D_nbin,
1310  0.,
1311  pt_max,
1312  dphi_nbin / 2,
1313  dphi_min,
1314  dphi_max);
1316  iBooker, "ecalEnergyError", "Regression estimate of the ECAL energy error", error_nbin, 0, enerror_max);
1318  iBooker, "ecalEnergyError_barrel", "Regression estimate of the ECAL energy error - barrel", 30, 0, 30);
1320  "ecalEnergyError_endcaps",
1321  "Regression estimate of the ECAL energy error - endcaps",
1322  error_nbin,
1323  0,
1324  enerror_max);
1326  iBooker, "combinedP4Error", "Estimated error on the combined momentum", error_nbin, 0, enerror_max);
1328  iBooker, "combinedP4Error_barrel", "Estimated error on the combined momentum - barrel", 30, 0, 30);
1330  "combinedP4Error_endcaps",
1331  "Estimated error on the combined momentum - endcaps",
1332  error_nbin,
1333  0,
1334  enerror_max);
1335 
1336  // matched electron, superclusters
1337  setBookPrefix("h_scl");
1338  h1_scl_En = bookH1withSumw2(iBooker, "energy", "ele ecal energy", p_nbin, 0., p_max);
1340  bookH1withSumw2(iBooker, "EoEtrue_barrel", "ele ecal energy / gen energy, barrel", 50, 0.2, 1.2, "E/E_{gen}");
1342  iBooker, "EoEtrue_barrel_etagap", "ele ecal energy / gen energy, barrel, etagap", 50, 0.2, 1.2, "E/E_{gen}");
1344  iBooker, "EoEtrue_barrel_phigap", "ele ecal energy / gen energy, barrel, phigap", 50, 0.2, 1.2, "E/E_{gen}");
1346  bookH1withSumw2(iBooker, "EoEtrue_ebeegap", "ele ecal energy / gen energy, ebeegap", 50, 0.2, 1.2, "E/E_{gen}");
1348  bookH1withSumw2(iBooker, "EoEtrue_endcaps", "ele ecal energy / gen energy, endcaps", 50, 0.2, 1.2, "E/E_{gen}");
1350  iBooker, "EoEtrue_endcaps_deegap", "ele ecal energy / gen energy, endcaps, deegap", 50, 0.2, 1.2, "E/E_{gen}");
1352  iBooker, "EoEtrue_endcaps_ringgap", "ele ecal energy / gen energy, endcaps, ringgap", 50, 0.2, 1.2, "E/E_{gen}");
1354  "EoEtrue_barrel_new",
1355  "ele ecal energy / gen energy, barrel",
1356  poptrue_nbin,
1357  poptrue_min,
1358  poptrue_max,
1359  "E/E_{gen}");
1361  "EoEtrue_barrel_new_etagap",
1362  "ele ecal energy / gen energy, barrel, etagap",
1363  poptrue_nbin,
1364  poptrue_min,
1365  poptrue_max,
1366  "E/E_{gen}");
1368  "EoEtrue_barrel_new_phigap",
1369  "ele ecal energy / gen energy, barrel, phigap",
1370  poptrue_nbin,
1371  poptrue_min,
1372  poptrue_max,
1373  "E/E_{gen}");
1375  "EoEtrue_ebeegap_new",
1376  "ele ecal energy / gen energy, ebeegap",
1377  poptrue_nbin,
1378  poptrue_min,
1379  poptrue_max,
1380  "E/E_{gen}");
1382  "EoEtrue_endcaps_new",
1383  "ele ecal energy / gen energy, endcaps",
1384  poptrue_nbin,
1385  poptrue_min,
1386  poptrue_max,
1387  "E/E_{gen}");
1389  "EoEtrue_endcaps_new_deegap",
1390  "ele ecal energy / gen energy, endcaps, deegap",
1391  poptrue_nbin,
1392  poptrue_min,
1393  poptrue_max,
1394  "E/E_{gen}");
1396  "EoEtrue_endcaps_new_ringgap",
1397  "ele ecal energy / gen energy, endcaps, ringgap",
1398  poptrue_nbin,
1399  poptrue_min,
1400  poptrue_max,
1401  "E/E_{gen}");
1402  h1_scl_Et = bookH1withSumw2(iBooker, "et", "ele supercluster transverse energy", pt_nbin, 0., pt_max);
1403  h2_scl_EtVsEta = bookH2(iBooker,
1404  "etVsEta",
1405  "ele supercluster transverse energy vs eta",
1406  eta2D_nbin,
1407  eta_min,
1408  eta_max,
1409  pt_nbin,
1410  0.,
1411  pt_max);
1412  h2_scl_EtVsPhi = bookH2(iBooker,
1413  "etVsPhi",
1414  "ele supercluster transverse energy vs phi",
1415  phi2D_nbin,
1416  phi_min,
1417  phi_max,
1418  pt_nbin,
1419  0.,
1420  pt_max);
1422  iBooker, "etaVsPhi", "ele supercluster eta vs phi", phi2D_nbin, phi_min, phi_max, eta2D_nbin, eta_min, eta_max);
1423  h1_scl_Eta = bookH1withSumw2(iBooker, "eta", "ele supercluster eta", eta_nbin, eta_min, eta_max);
1424  h1_scl_Phi = bookH1withSumw2(iBooker, "phi", "ele supercluster phi", phi_nbin, phi_min, phi_max);
1426  "sigetaeta",
1427  "ele supercluster sigma eta eta",
1428  100,
1429  0.,
1430  0.05,
1431  "#sigma_{#eta #eta}",
1432  "Events",
1433  "ELE_LOGY E1 P");
1435  "sigetaeta_barrel",
1436  "ele supercluster sigma eta eta barrel",
1437  100,
1438  0.,
1439  0.05,
1440  "#sigma_{#eta #eta}",
1441  "Events",
1442  "ELE_LOGY E1 P");
1444  "sigetaeta_endcaps",
1445  "ele supercluster sigma eta eta endcaps",
1446  100,
1447  0.,
1448  0.05,
1449  "#sigma_{#eta #eta}",
1450  "Events",
1451  "ELE_LOGY E1 P");
1453  "sigietaieta",
1454  "ele supercluster sigma ieta ieta",
1455  100,
1456  0.,
1457  0.05,
1458  "#sigma_{i#eta i#eta}",
1459  "Events",
1460  "ELE_LOGY E1 P");
1462  "sigietaieta_barrel",
1463  "ele supercluster sigma ieta ieta, barrel",
1464  100,
1465  0.,
1466  0.05,
1467  "#sigma_{i#eta i#eta}",
1468  "Events",
1469  "ELE_LOGY E1 P");
1471  "sigietaieta_endcaps",
1472  "ele supercluster sigma ieta ieta, endcaps",
1473  100,
1474  0.,
1475  0.05,
1476  "#sigma_{i#eta i#eta}",
1477  "Events",
1478  "ELE_LOGY E1 P");
1480  "SigIEtaIEta_mAOD",
1481  "ele supercluster sigma ieta ieta",
1482  100,
1483  0.,
1484  0.05,
1485  "#sigma_{i#eta i#eta}",
1486  "Events",
1487  "ELE_LOGY E1 P");
1489  "SigIEtaIEta_mAOD_barrel",
1490  "ele supercluster sigma ieta ieta, barrel",
1491  100,
1492  0.,
1493  0.05,
1494  "#sigma_{i#eta i#eta}",
1495  "Events",
1496  "ELE_LOGY E1 P");
1498  "SigIEtaIEta_mAOD_endcaps",
1499  "ele supercluster sigma ieta ieta, endcaps",
1500  100,
1501  0.,
1502  0.05,
1503  "#sigma_{i#eta i#eta}",
1504  "Events",
1505  "ELE_LOGY E1 P");
1507  "full5x5_sigietaieta",
1508  "ele supercluster full5x5 sigma ieta ieta",
1509  100,
1510  0.,
1511  0.05,
1512  "#sigma_{i#eta i#eta}",
1513  "Events",
1514  "ELE_LOGY E1 P");
1516  "full5x5_sigietaieta_barrel",
1517  "ele supercluster full5x5 sigma ieta ieta, barrel",
1518  100,
1519  0.,
1520  0.05,
1521  "#sigma_{i#eta i#eta}",
1522  "Events",
1523  "ELE_LOGY E1 P");
1525  "full5x5_sigietaieta_endcaps",
1526  "ele supercluster full5x5 sigma ieta ieta, endcaps",
1527  100,
1528  0.,
1529  0.05,
1530  "#sigma_{i#eta i#eta}",
1531  "Events",
1532  "ELE_LOGY E1 P");
1534  iBooker, "E1x5", "ele supercluster energy in 1x5", p_nbin, 0., p_max, "E1x5 (GeV)", "Events", "ELE_LOGY E1 P");
1536  "E1x5_barrel",
1537  "ele supercluster energy in 1x5 barrel",
1538  p_nbin,
1539  0.,
1540  p_max,
1541  "E1x5 (GeV)",
1542  "Events",
1543  "ELE_LOGY E1 P");
1545  "E1x5_endcaps",
1546  "ele supercluster energy in 1x5 endcaps",
1547  p_nbin,
1548  0.,
1549  p_max,
1550  "E1x5 (GeV)",
1551  "Events",
1552  "ELE_LOGY E1 P");
1553  h1_scl_E2x5max = bookH1withSumw2(iBooker,
1554  "E2x5max",
1555  "ele supercluster energy in 2x5 max",
1556  p_nbin,
1557  0.,
1558  p_max,
1559  "E2x5 (GeV)",
1560  "Events",
1561  "ELE_LOGY E1 P");
1563  "E2x5max_barrel",
1564  "ele supercluster energy in 2x5 _max barrel",
1565  p_nbin,
1566  0.,
1567  p_max,
1568  "E2x5 (GeV)",
1569  "Events",
1570  "ELE_LOGY E1 P");
1572  "E2x5max_endcaps",
1573  "ele supercluster energy in 2x5 _max endcaps",
1574  p_nbin,
1575  0.,
1576  p_max,
1577  "E2x5 (GeV)",
1578  "Events",
1579  "ELE_LOGY E1 P");
1581  iBooker, "E5x5", "ele supercluster energy in 5x5", p_nbin, 0., p_max, "E5x5 (GeV)", "Events", "ELE_LOGY E1 P");
1583  "E5x5_barrel",
1584  "ele supercluster energy in 5x5 barrel",
1585  p_nbin,
1586  0.,
1587  p_max,
1588  "E5x5 (GeV)",
1589  "Events",
1590  "ELE_LOGY E1 P");
1592  "E5x5_endcaps",
1593  "ele supercluster energy in 5x5 endcaps",
1594  p_nbin,
1595  0.,
1596  p_max,
1597  "E5x5 (GeV)",
1598  "Events",
1599  "ELE_LOGY E1 P");
1600  h2_scl_EoEtruePfVsEg = bookH2(iBooker,
1601  "EoEtruePfVsEg",
1602  "mean mustache SC/true energy vs final SC/true energy",
1603  75,
1604  -0.1,
1605  1.4,
1606  75,
1607  -0.1,
1608  1.4,
1609  "E_{final SC}/E_{gen}",
1610  "E_{mustache}/E_{gen}");
1612  bookH1withSumw2(iBooker, "bcl_EtotoEtrue", "Total basicclusters energy", 50, 0.2, 1.2, "E/E_{gen}");
1614  iBooker, "bcl_EtotoEtrue_barrel", "Total basicclusters energy , barrel", 50, 0.2, 1.2, "E/E_{gen}");
1616  iBooker, "bcl_EtotoEtrue_endcaps", "Total basicclusters energy , endcaps", 50, 0.2, 1.2, "E/E_{gen}");
1617  // h1_scl_ESFrac = bookH1withSumw2(iBooker, "ESFrac","Preshower over SC raw energy",100,0.,0.8,"E_{PS} / E^{raw}_{SC}","Events","ELE_LOGY E1 P");
1619  "ESFrac_endcaps",
1620  "Preshower over SC raw energy , endcaps",
1621  100,
1622  0.,
1623  0.8,
1624  "E_{PS} / E^{raw}_{SC}",
1625  "Events",
1626  "ELE_LOGY E1 P");
1627 
1628  // matched electron, gsf tracks
1629  setBookPrefix("h_ele");
1631  "ambiguousTracks",
1632  "ele # ambiguous tracks",
1633  5,
1634  0.,
1635  5.,
1636  "N_{ambiguous tracks}",
1637  "Events",
1638  "ELE_LOGY E1 P");
1640  bookH2(iBooker, "ambiguousTracksVsEta", "ele # ambiguous tracks vs eta", eta2D_nbin, eta_min, eta_max, 5, 0., 5.);
1642  bookH2(iBooker, "ambiguousTracksVsPhi", "ele # ambiguous tracks vs phi", phi2D_nbin, phi_min, phi_max, 5, 0., 5.);
1644  bookH2(iBooker, "ambiguousTracksVsPt", "ele # ambiguous tracks vs pt", pt2D_nbin, 0., pt_max, 5, 0., 5.);
1646  bookH1withSumw2(iBooker, "foundHits", "ele track # found hits", fhits_nbin, 0., fhits_max, "N_{hits}");
1648  iBooker, "foundHits_barrel", "ele track # found hits, barrel", fhits_nbin, 0., fhits_max, "N_{hits}");
1650  iBooker, "foundHits_endcaps", "ele track # found hits, endcaps", fhits_nbin, 0., fhits_max, "N_{hits}");
1651  h2_ele_foundHitsVsEta = bookH2(iBooker,
1652  "foundHitsVsEta",
1653  "ele track # found hits vs eta",
1654  eta2D_nbin,
1655  eta_min,
1656  eta_max,
1657  fhits_nbin,
1658  0.,
1659  fhits_max);
1661  "foundHitsVsEta_mAOD",
1662  "ele track # found hits vs eta",
1663  eta2D_nbin,
1664  eta_min,
1665  eta_max,
1666  fhits_nbin,
1667  0.,
1668  fhits_max);
1669  h2_ele_foundHitsVsPhi = bookH2(iBooker,
1670  "foundHitsVsPhi",
1671  "ele track # found hits vs phi",
1672  phi2D_nbin,
1673  phi_min,
1674  phi_max,
1675  fhits_nbin,
1676  0.,
1677  fhits_max);
1679  iBooker, "foundHitsVsPt", "ele track # found hits vs pt", pt2D_nbin, 0., pt_max, fhits_nbin, 0., fhits_max);
1680  h1_ele_lostHits = bookH1withSumw2(iBooker, "lostHits", "ele track # lost hits", 5, 0., 5., "N_{lost hits}");
1682  bookH1withSumw2(iBooker, "lostHits_barrel", "ele track # lost hits, barrel", 5, 0., 5., "N_{lost hits}");
1684  bookH1withSumw2(iBooker, "lostHits_endcaps", "ele track # lost hits, endcaps", 5, 0., 5., "N_{lost hits}");
1686  iBooker, "lostHitsVsEta", "ele track # lost hits vs eta", eta2D_nbin, eta_min, eta_max, lhits_nbin, 0., lhits_max);
1688  iBooker, "lostHitsVsPhi", "ele track # lost hits vs eta", phi2D_nbin, phi_min, phi_max, lhits_nbin, 0., lhits_max);
1690  bookH2(iBooker, "lostHitsVsPt", "ele track # lost hits vs eta", pt2D_nbin, 0., pt_max, lhits_nbin, 0., lhits_max);
1691  h1_ele_chi2 =
1692  bookH1withSumw2(iBooker, "chi2", "ele track #chi^{2}", 100, 0., 15., "#Chi^{2}", "Events", "ELE_LOGY E1 P");
1694  iBooker, "chi2_barrel", "ele track #chi^{2}, barrel", 100, 0., 15., "#Chi^{2}", "Events", "ELE_LOGY E1 P");
1696  iBooker, "chi2_endcaps", "ele track #chi^{2}, endcaps", 100, 0., 15., "#Chi^{2}", "Events", "ELE_LOGY E1 P");
1698  bookH2(iBooker, "chi2VsEta", "ele track #chi^{2} vs eta", eta2D_nbin, eta_min, eta_max, 50, 0., 15.);
1700  bookH2(iBooker, "chi2VsPhi", "ele track #chi^{2} vs phi", phi2D_nbin, phi_min, phi_max, 50, 0., 15.);
1701  h2_ele_chi2VsPt = bookH2(iBooker, "chi2VsPt", "ele track #chi^{2} vs pt", pt2D_nbin, 0., pt_max, 50, 0., 15.);
1703  "PinMnPout",
1704  "ele track inner p - outer p, mean of GSF components",
1705  p_nbin,
1706  0.,
1707  200.,
1708  "P_{vertex} - P_{out} (GeV/c)");
1710  "PinMnPout_mode",
1711  "ele track inner p - outer p, mode of GSF components",
1712  p_nbin,
1713  0.,
1714  100.,
1715  "P_{vertex} - P_{out}, mode of GSF components (GeV/c)");
1717  "PinMnPoutVsEta_mode",
1718  "ele track inner p - outer p vs eta, mode of GSF components",
1719  eta2D_nbin,
1720  eta_min,
1721  eta_max,
1722  p2D_nbin,
1723  0.,
1724  100.);
1726  "PinMnPoutVsPhi_mode",
1727  "ele track inner p - outer p vs phi, mode of GSF components",
1728  phi2D_nbin,
1729  phi_min,
1730  phi_max,
1731  p2D_nbin,
1732  0.,
1733  100.);
1735  "PinMnPoutVsPt_mode",
1736  "ele track inner p - outer p vs pt, mode of GSF components",
1737  pt2D_nbin,
1738  0.,
1739  pt_max,
1740  p2D_nbin,
1741  0.,
1742  100.);
1743  h2_ele_PinMnPoutVsE_mode = bookH2(iBooker,
1744  "PinMnPoutVsE_mode",
1745  "ele track inner p - outer p vs E, mode of GSF components",
1746  p2D_nbin,
1747  0.,
1748  200.,
1749  p2D_nbin,
1750  0.,
1751  100.);
1753  "PinMnPoutVsChi2_mode",
1754  "ele track inner p - outer p vs track chi2, mode of GSF components",
1755  50,
1756  0.,
1757  20.,
1758  p2D_nbin,
1759  0.,
1760  100.);
1762  iBooker, "outerP", "ele track outer p, mean of GSF components", p_nbin, 0., p_max, "P_{out} (GeV/c)");
1764  iBooker, "outerP_mode", "ele track outer p, mode of GSF components", p_nbin, 0., p_max, "P_{out} (GeV/c)");
1766  bookH2(iBooker, "outerPVsEta_mode", "ele track outer p vs eta mode", eta2D_nbin, eta_min, eta_max, 50, 0., p_max);
1768  iBooker, "outerPt", "ele track outer p_{T}, mean of GSF components", pt_nbin, 0., pt_max, "P_{T out} (GeV/c)");
1770  "outerPt_mode",
1771  "ele track outer p_{T}, mode of GSF components",
1772  pt_nbin,
1773  0.,
1774  pt_max,
1775  "P_{T out} (GeV/c)");
1776  h2_ele_outerPtVsEta_mode = bookH2(iBooker,
1777  "outerPtVsEta_mode",
1778  "ele track outer p_{T} vs eta, mode of GSF components",
1779  eta2D_nbin,
1780  eta_min,
1781  eta_max,
1782  pt2D_nbin,
1783  0.,
1784  pt_max);
1785  h2_ele_outerPtVsPhi_mode = bookH2(iBooker,
1786  "outerPtVsPhi_mode",
1787  "ele track outer p_{T} vs phi, mode of GSF components",
1788  phi2D_nbin,
1789  phi_min,
1790  phi_max,
1791  pt2D_nbin,
1792  0.,
1793  pt_max);
1794  h2_ele_outerPtVsPt_mode = bookH2(iBooker,
1795  "outerPtVsPt_mode",
1796  "ele track outer p_{T} vs pt, mode of GSF components",
1797  pt2D_nbin,
1798  0.,
1799  100.,
1800  pt2D_nbin,
1801  0.,
1802  pt_max);
1803 
1804  // matched electrons, matching
1806  iBooker, "EoP", "ele E/P_{vertex}", eop_nbin, 0., eop_max, "E/P_{vertex}", "Events", "ELE_LOGY E1 P");
1808  "EoP_barrel",
1809  "ele E/P_{vertex} barrel",
1810  eop_nbin,
1811  0.,
1812  eop_max,
1813  "E/P_{vertex}",
1814  "Events",
1815  "ELE_LOGY E1 P");
1817  "EoP_endcaps",
1818  "ele E/P_{vertex} endcaps",
1819  eop_nbin,
1820  0.,
1821  eop_max,
1822  "E/P_{vertex}",
1823  "Events",
1824  "ELE_LOGY E1 P");
1825  h2_ele_EoPVsEta =
1826  bookH2(iBooker, "EoPVsEta", "ele E/P_{vertex} vs eta", eta2D_nbin, eta_min, eta_max, eop2D_nbin, 0., eopmaxsht);
1827  h2_ele_EoPVsPhi =
1828  bookH2(iBooker, "EoPVsPhi", "ele E/P_{vertex} vs phi", phi2D_nbin, phi_min, phi_max, eop2D_nbin, 0., eopmaxsht);
1829  h2_ele_EoPVsE = bookH2(iBooker, "EoPVsE", "ele E/P_{vertex} vs E", 50, 0., p_max, 50, 0., 5.);
1830  h1_ele_EseedOP = bookH1withSumw2(iBooker,
1831  "EseedOP",
1832  "ele E_{seed}/P_{vertex}",
1833  eop_nbin,
1834  0.,
1835  eop_max,
1836  "E_{seed}/P_{vertex}",
1837  "Events",
1838  "ELE_LOGY E1 P");
1840  "EseedOP_barrel",
1841  "ele E_{seed}/P_{vertex} barrel",
1842  eop_nbin,
1843  0.,
1844  eop_max,
1845  "E_{seed}/P_{vertex}",
1846  "Events",
1847  "ELE_LOGY E1 P");
1849  "EseedOP_endcaps",
1850  "ele E_{seed}/P_{vertex} endcaps",
1851  eop_nbin,
1852  0.,
1853  eop_max,
1854  "E_{seed}/P_{vertex}",
1855  "Events",
1856  "ELE_LOGY E1 P");
1857  h2_ele_EseedOPVsEta = bookH2(iBooker,
1858  "EseedOPVsEta",
1859  "ele E_{seed}/P_{vertex} vs eta",
1860  eta2D_nbin,
1861  eta_min,
1862  eta_max,
1863  eop2D_nbin,
1864  0.,
1865  eopmaxsht);
1866  h2_ele_EseedOPVsPhi = bookH2(iBooker,
1867  "EseedOPVsPhi",
1868  "ele E_{seed}/P_{vertex} vs phi",
1869  phi2D_nbin,
1870  phi_min,
1871  phi_max,
1872  eop2D_nbin,
1873  0.,
1874  eopmaxsht);
1875  h2_ele_EseedOPVsE = bookH2(iBooker, "EseedOPVsE", "ele E_{seed}/P_{vertex} vs E", 50, 0., p_max, 50, 0., 5.);
1877  iBooker, "EoPout", "ele E_{seed}/P_{out}", eop_nbin, 0., eop_max, "E_{seed}/P_{out}", "Events", "ELE_LOGY E1 P");
1879  "EoPout_barrel",
1880  "ele E_{seed}/P_{out} barrel",
1881  eop_nbin,
1882  0.,
1883  eop_max,
1884  "E_{seed}/P_{out}",
1885  "Events",
1886  "ELE_LOGY E1 P");
1888  "EoPout_endcaps",
1889  "ele E_{seed}/P_{out} endcaps",
1890  eop_nbin,
1891  0.,
1892  eop_max,
1893  "E_{seed}/P_{out}",
1894  "Events",
1895  "ELE_LOGY E1 P");
1897  iBooker, "EoPoutVsEta", "ele E_{seed}/P_{out} vs eta", eta2D_nbin, eta_min, eta_max, eop2D_nbin, 0., eopmaxsht);
1899  iBooker, "EoPoutVsPhi", "ele E_{seed}/P_{out} vs phi", phi2D_nbin, phi_min, phi_max, eop2D_nbin, 0., eopmaxsht);
1901  bookH2(iBooker, "EoPoutVsE", "ele E_{seed}/P_{out} vs E", p2D_nbin, 0., p_max, eop2D_nbin, 0., eopmaxsht);
1903  iBooker, "EeleOPout", "ele E_{ele}/P_{out}", eop_nbin, 0., eop_max, "E_{ele}/P_{out}", "Events", "ELE_LOGY E1 P");
1905  "EeleOPout_barrel",
1906  "ele E_{ele}/P_{out} barrel",
1907  eop_nbin,
1908  0.,
1909  eop_max,
1910  "E_{ele}/P_{out}",
1911  "Events",
1912  "ELE_LOGY E1 P");
1914  "EeleOPout_endcaps",
1915  "ele E_{ele}/P_{out} endcaps",
1916  eop_nbin,
1917  0.,
1918  eop_max,
1919  "E_{ele}/P_{out}",
1920  "Events",
1921  "ELE_LOGY E1 P");
1923  iBooker, "EeleOPoutVsEta", "ele E_{ele}/P_{out} vs eta", eta2D_nbin, eta_min, eta_max, eop2D_nbin, 0., eopmaxsht);
1925  iBooker, "EeleOPoutVsPhi", "ele E_{ele}/P_{out} vs phi", phi2D_nbin, phi_min, phi_max, eop2D_nbin, 0., eopmaxsht);
1927  bookH2(iBooker, "EeleOPoutVsE", "ele E_{ele}/P_{out} vs E", p2D_nbin, 0., p_max, eop2D_nbin, 0., eopmaxsht);
1929  "dEtaSc_propVtx",
1930  "ele #eta_{sc} - #eta_{tr}, prop from vertex",
1932  detamatch_min,
1933  detamatch_max,
1934  "#eta_{sc} - #eta_{tr}",
1935  "Events",
1936  "ELE_LOGY E1 P");
1938  "dEtaSc_propVtx_barrel",
1939  "ele #eta_{sc} - #eta_{tr}, prop from vertex, barrel",
1941  detamatch_min,
1942  detamatch_max,
1943  "#eta_{sc} - #eta_{tr}",
1944  "Events",
1945  "ELE_LOGY E1 P");
1947  "dEtaSc_propVtx_endcaps",
1948  "ele #eta_{sc} - #eta_{tr}, prop from vertex, endcaps",
1950  detamatch_min,
1951  detamatch_max,
1952  "#eta_{sc} - #eta_{tr}",
1953  "Events",
1954  "ELE_LOGY E1 P");
1956  "dEtaSc_propVtx_mAOD",
1957  "ele #eta_{sc} - #eta_{tr}, prop from vertex",
1959  detamatch_min,
1960  detamatch_max,
1961  "#eta_{sc} - #eta_{tr}",
1962  "Events",
1963  "ELE_LOGY E1 P");
1965  "dEtaSc_propVtx_mAOD_barrel",
1966  "ele #eta_{sc} - #eta_{tr}, prop from vertex, barrel",
1968  detamatch_min,
1969  detamatch_max,
1970  "#eta_{sc} - #eta_{tr}",
1971  "Events",
1972  "ELE_LOGY E1 P");
1974  "dEtaSc_propVtx_mAOD_endcaps",
1975  "ele #eta_{sc} - #eta_{tr}, prop from vertex, endcaps",
1977  detamatch_min,
1978  detamatch_max,
1979  "#eta_{sc} - #eta_{tr}",
1980  "Events",
1981  "ELE_LOGY E1 P");
1983  "dEtaScVsEta_propVtx",
1984  "ele #eta_{sc} - #eta_{tr} vs eta, prop from vertex",
1985  eta2D_nbin,
1986  eta_min,
1987  eta_max,
1989  detamatch_min,
1990  detamatch_max);
1992  "dEtaScVsPhi_propVtx",
1993  "ele #eta_{sc} - #eta_{tr} vs phi, prop from vertex",
1994  phi2D_nbin,
1995  phi_min,
1996  phi_max,
1998  detamatch_min,
1999  detamatch_max);
2001  "dEtaScVsPt_propVtx",
2002  "ele #eta_{sc} - #eta_{tr} vs pt, prop from vertex",
2003  pt2D_nbin,
2004  0.,
2005  pt_max,
2007  detamatch_min,
2008  detamatch_max);
2010  "dPhiSc_propVtx",
2011  "ele #phi_{sc} - #phi_{tr}, prop from vertex",
2013  dphimatch_min,
2014  dphimatch_max,
2015  "#phi_{sc} - #phi_{tr} (rad)",
2016  "Events",
2017  "ELE_LOGY E1 P");
2019  "dPhiSc_propVtx_barrel",
2020  "ele #phi_{sc} - #phi_{tr}, prop from vertex, barrel",
2022  dphimatch_min,
2023  dphimatch_max,
2024  "#phi_{sc} - #phi_{tr} (rad)",
2025  "Events",
2026  "ELE_LOGY E1 P");
2028  "dPhiSc_propVtx_endcaps",
2029  "ele #phi_{sc} - #phi_{tr}, prop from vertex, endcaps",
2031  dphimatch_min,
2032  dphimatch_max,
2033  "#phi_{sc} - #phi_{tr} (rad)",
2034  "Events",
2035  "ELE_LOGY E1 P");
2037  "dPhiScVsEta_propVtx",
2038  "ele #phi_{sc} - #phi_{tr} vs eta, prop from vertex",
2039  eta2D_nbin,
2040  eta_min,
2041  eta_max,
2043  dphimatch_min,
2044  dphimatch_max);
2046  "dPhiScVsPhi_propVtx",
2047  "ele #phi_{sc} - #phi_{tr} vs phi, prop from vertex",
2048  phi2D_nbin,
2049  phi_min,
2050  phi_max,
2052  dphimatch_min,
2053  dphimatch_max);
2055  "dPhiScVsPt_propVtx",
2056  "ele #phi_{sc} - #phi_{tr} vs pt, prop from vertex",
2057  pt2D_nbin,
2058  0.,
2059  pt_max,
2061  dphimatch_min,
2062  dphimatch_max);
2064  "dEtaCl_propOut",
2065  "ele #eta_{cl} - #eta_{tr}, prop from outermost",
2067  detamatch_min,
2068  detamatch_max,
2069  "#eta_{seedcl} - #eta_{tr}",
2070  "Events",
2071  "ELE_LOGY E1 P");
2073  "dEtaCl_propOut_barrel",
2074  "ele #eta_{cl} - #eta_{tr}, prop from outermost, barrel",
2076  detamatch_min,
2077  detamatch_max,
2078  "#eta_{seedcl} - #eta_{tr}",
2079  "Events",
2080  "ELE_LOGY E1 P");
2082  "dEtaCl_propOut_endcaps",
2083  "ele #eta_{cl} - #eta_{tr}, prop from outermost, endcaps",
2085  detamatch_min,
2086  detamatch_max,
2087  "#eta_{seedcl} - #eta_{tr}",
2088  "Events",
2089  "ELE_LOGY E1 P");
2091  "dEtaClVsEta_propOut",
2092  "ele #eta_{cl} - #eta_{tr} vs eta, prop from out",
2093  eta2D_nbin,
2094  eta_min,
2095  eta_max,
2097  detamatch_min,
2098  detamatch_max);
2100  "dEtaClVsPhi_propOut",
2101  "ele #eta_{cl} - #eta_{tr} vs phi, prop from out",
2102  phi2D_nbin,
2103  phi_min,
2104  phi_max,
2106  detamatch_min,
2107  detamatch_max);
2109  "dEtaScVsPt_propOut",
2110  "ele #eta_{cl} - #eta_{tr} vs pt, prop from out",
2111  pt2D_nbin,
2112  0.,
2113  pt_max,
2115  detamatch_min,
2116  detamatch_max);
2118  "dPhiCl_propOut",
2119  "ele #phi_{cl} - #phi_{tr}, prop from outermost",
2121  dphimatch_min,
2122  dphimatch_max,
2123  "#phi_{seedcl} - #phi_{tr} (rad)",
2124  "Events",
2125  "ELE_LOGY E1 P");
2127  "dPhiCl_propOut_barrel",
2128  "ele #phi_{cl} - #phi_{tr}, prop from outermost, barrel",
2130  dphimatch_min,
2131  dphimatch_max,
2132  "#phi_{seedcl} - #phi_{tr} (rad)",
2133  "Events",
2134  "ELE_LOGY E1 P");
2136  "dPhiCl_propOut_endcaps",
2137  "ele #phi_{cl} - #phi_{tr}, prop from outermost, endcaps",
2139  dphimatch_min,
2140  dphimatch_max,
2141  "#phi_{seedcl} - #phi_{tr} (rad)",
2142  "Events",
2143  "ELE_LOGY E1 P");
2145  "dPhiCl_propOut_mAOD",
2146  "ele #phi_{cl} - #phi_{tr}, prop from outermost",
2148  dphimatch_min,
2149  dphimatch_max,
2150  "#phi_{seedcl} - #phi_{tr} (rad)",
2151  "Events",
2152  "ELE_LOGY E1 P");
2154  "dPhiCl_propOut_mAOD_barrel",
2155  "ele #phi_{cl} - #phi_{tr}, prop from outermost, barrel",
2157  dphimatch_min,
2158  dphimatch_max,
2159  "#phi_{seedcl} - #phi_{tr} (rad)",
2160  "Events",
2161  "ELE_LOGY E1 P");
2163  "dPhiCl_propOut_mAOD_endcaps",
2164  "ele #phi_{cl} - #phi_{tr}, prop from outermost, endcaps",
2166  dphimatch_min,
2167  dphimatch_max,
2168  "#phi_{seedcl} - #phi_{tr} (rad)",
2169  "Events",
2170  "ELE_LOGY E1 P");
2172  "dPhiClVsEta_propOut",
2173  "ele #phi_{cl} - #phi_{tr} vs eta, prop from out",
2174  eta2D_nbin,
2175  eta_min,
2176  eta_max,
2178  dphimatch_min,
2179  dphimatch_max);
2181  "dPhiClVsPhi_propOut",
2182  "ele #phi_{cl} - #phi_{tr} vs phi, prop from out",
2183  phi2D_nbin,
2184  phi_min,
2185  phi_max,
2187  dphimatch_min,
2188  dphimatch_max);
2190  "dPhiSClsPt_propOut",
2191  "ele #phi_{cl} - #phi_{tr} vs pt, prop from out",
2192  pt2D_nbin,
2193  0.,
2194  pt_max,
2196  dphimatch_min,
2197  dphimatch_max);
2199  "dEtaEleCl_propOut",
2200  "ele #eta_{EleCl} - #eta_{tr}, prop from outermost",
2202  detamatch_min,
2203  detamatch_max,
2204  "#eta_{elecl} - #eta_{tr}",
2205  "Events",
2206  "ELE_LOGY E1 P");
2208  "dEtaEleCl_propOut_barrel",
2209  "ele #eta_{EleCl} - #eta_{tr}, prop from outermost, barrel",
2211  detamatch_min,
2212  detamatch_max,
2213  "#eta_{elecl} - #eta_{tr}",
2214  "Events",
2215  "ELE_LOGY E1 P");
2217  "dEtaEleCl_propOut_endcaps",
2218  "ele #eta_{EleCl} - #eta_{tr}, prop from outermost, endcaps",
2220  detamatch_min,
2221  detamatch_max,
2222  "#eta_{elecl} - #eta_{tr}",
2223  "Events",
2224  "ELE_LOGY E1 P");
2226  "dEtaEleClVsEta_propOut",
2227  "ele #eta_{EleCl} - #eta_{tr} vs eta, prop from out",
2228  eta2D_nbin,
2229  eta_min,
2230  eta_max,
2232  detamatch_min,
2233  detamatch_max);
2235  "dEtaEleClVsPhi_propOut",
2236  "ele #eta_{EleCl} - #eta_{tr} vs phi, prop from out",
2237  phi2D_nbin,
2238  phi_min,
2239  phi_max,
2241  detamatch_min,
2242  detamatch_max);
2244  "dEtaScVsPt_propOut",
2245  "ele #eta_{EleCl} - #eta_{tr} vs pt, prop from out",
2246  pt2D_nbin,
2247  0.,
2248  pt_max,
2250  detamatch_min,
2251  detamatch_max);
2253  "dPhiEleCl_propOut",
2254  "ele #phi_{EleCl} - #phi_{tr}, prop from outermost",
2256  dphimatch_min,
2257  dphimatch_max,
2258  "#phi_{elecl} - #phi_{tr} (rad)",
2259  "Events",
2260  "ELE_LOGY E1 P");
2262  "dPhiEleCl_propOut_barrel",
2263  "ele #phi_{EleCl} - #phi_{tr}, prop from outermost, barrel",
2265  dphimatch_min,
2266  dphimatch_max,
2267  "#phi_{elecl} - #phi_{tr} (rad)",
2268  "Events",
2269  "ELE_LOGY E1 P");
2271  "dPhiEleCl_propOut_endcaps",
2272  "ele #phi_{EleCl} - #phi_{tr}, prop from outermost, endcaps",
2274  dphimatch_min,
2275  dphimatch_max,
2276  "#phi_{elecl} - #phi_{tr} (rad)",
2277  "Events",
2278  "ELE_LOGY E1 P");
2280  "dPhiEleClVsEta_propOut",
2281  "ele #phi_{EleCl} - #phi_{tr} vs eta, prop from out",
2282  eta2D_nbin,
2283  eta_min,
2284  eta_max,
2286  dphimatch_min,
2287  dphimatch_max);
2289  "dPhiEleClVsPhi_propOut",
2290  "ele #phi_{EleCl} - #phi_{tr} vs phi, prop from out",
2291  phi2D_nbin,
2292  phi_min,
2293  phi_max,
2295  dphimatch_min,
2296  dphimatch_max);
2298  "dPhiSEleClsPt_propOut",
2299  "ele #phi_{EleCl} - #phi_{tr} vs pt, prop from out",
2300  pt2D_nbin,
2301  0.,
2302  pt_max,
2304  dphimatch_min,
2305  dphimatch_max);
2307  iBooker, "HoE", "ele hadronic energy / em energy", hoe_nbin, hoe_min, hoe_max, "H/E", "Events", "ELE_LOGY E1 P");
2309  "HoE_barrel",
2310  "ele hadronic energy / em energy, barrel",
2311  hoe_nbin,
2312  hoe_min,
2313  hoe_max,
2314  "H/E",
2315  "Events",
2316  "ELE_LOGY E1 P");
2318  "HoE_endcaps",
2319  "ele hadronic energy / em energy, endcaps",
2320  hoe_nbin,
2321  hoe_min,
2322  hoe_max,
2323  "H/E",
2324  "Events",
2325  "ELE_LOGY E1 P");
2326  h1_ele_HoE_mAOD = bookH1withSumw2(iBooker,
2327  "HoE_mAOD",
2328  "ele hadronic energy / em energy",
2329  hoe_nbin,
2330  hoe_min,
2331  hoe_max,
2332  "H/E",
2333  "Events",
2334  "ELE_LOGY E1 P");
2336  "HoE_mAOD_barrel",
2337  "ele hadronic energy / em energy, barrel",
2338  hoe_nbin,
2339  hoe_min,
2340  hoe_max,
2341  "H/E",
2342  "Events",
2343  "ELE_LOGY E1 P");
2345  "HoE_mAOD_endcaps",
2346  "ele hadronic energy / em energy, endcaps",
2347  hoe_nbin,
2348  hoe_min,
2349  hoe_max,
2350  "H/E",
2351  "Events",
2352  "ELE_LOGY E1 P");
2353  h1_ele_HoE_bc = bookH1withSumw2(iBooker,
2354  "HoE_bc",
2355  "ele hadronic energy / em energy behind cluster",
2356  hoe_nbin,
2357  hoe_min,
2358  hoe_max,
2359  "H/E",
2360  "Events",
2361  "ELE_LOGY E1 P");
2363  "HoE_bc_barrel",
2364  "ele hadronic energy / em energy, behind cluster barrel",
2365  hoe_nbin,
2366  hoe_min,
2367  hoe_max,
2368  "H/E",
2369  "Events",
2370  "ELE_LOGY E1 P");
2372  "HoE_bc_endcaps",
2373  "ele hadronic energy / em energy, behind cluster, endcaps",
2374  hoe_nbin,
2375  hoe_min,
2376  hoe_max,
2377  "H/E",
2378  "Events",
2379  "ELE_LOGY E1 P");
2381  "hcalDepth1OverEcalBc",
2382  "hcalDepth1OverEcalBc",
2383  hoe_nbin,
2384  hoe_min,
2385  hoe_max,
2386  "H/E",
2387  "Events",
2388  "ELE_LOGY E1 P");
2390  "hcalDepth1OverEcalBc_barrel",
2391  "hcalDepth1OverEcalBc_barrel",
2392  hoe_nbin,
2393  hoe_min,
2394  hoe_max,
2395  "H/E",
2396  "Events",
2397  "ELE_LOGY E1 P");
2399  "hcalDepth1OverEcalBc_endcaps",
2400  "hcalDepth1OverEcalBc_endcaps",
2401  hoe_nbin,
2402  hoe_min,
2403  hoe_max,
2404  "H/E",
2405  "Events",
2406  "ELE_LOGY E1 P");
2408  "hcalDepth2OverEcalBc",
2409  "hcalDepth2OverEcalBc",
2410  hoe_nbin,
2411  hoe_min,
2412  hoe_max,
2413  "H/E",
2414  "Events",
2415  "ELE_LOGY E1 P");
2417  "hcalDepth2OverEcalBc_barrel",
2418  "hcalDepth2OverEcalBc_barrel",
2419  hoe_nbin,
2420  hoe_min,
2421  hoe_max,
2422  "H/E",
2423  "Events",
2424  "ELE_LOGY E1 P");
2426  "hcalDepth2OverEcalBc_endcaps",
2427  "hcalDepth2OverEcalBc_endcaps",
2428  hoe_nbin,
2429  hoe_min,
2430  hoe_max,
2431  "H/E",
2432  "Events",
2433  "ELE_LOGY E1 P");
2434 
2436  "HoE_fiducial",
2437  "ele hadronic energy / em energy, fiducial region",
2438  hoe_nbin,
2439  hoe_min,
2440  hoe_max,
2441  "H/E",
2442  "Events",
2443  "ELE_LOGY E1 P");
2444  h2_ele_HoEVsEta = bookH2(iBooker,
2445  "HoEVsEta",
2446  "ele hadronic energy / em energy vs eta",
2447  eta_nbin,
2448  eta_min,
2449  eta_max,
2450  hoe_nbin,
2451  hoe_min,
2452  hoe_max);
2453  h2_ele_HoEVsPhi = bookH2(iBooker,
2454  "HoEVsPhi",
2455  "ele hadronic energy / em energy vs phi",
2456  phi2D_nbin,
2457  phi_min,
2458  phi_max,
2459  hoe_nbin,
2460  hoe_min,
2461  hoe_max);
2462  h2_ele_HoEVsE =
2463  bookH2(iBooker, "HoEVsE", "ele hadronic energy / em energy vs E", p_nbin, 0., 300., hoe_nbin, hoe_min, hoe_max);
2464 
2465  // seeds
2467  bookH1withSumw2(iBooker, "seedSubdet2", "ele seed subdet 2nd layer", 11, -0.5, 10.5, "2nd hit subdet Id");
2468  h1_ele_seed_mask = bookH1withSumw2(iBooker, "seedMask", "ele seed hits mask", 13, -0.5, 12.5);
2470  bookH1withSumw2(iBooker, "seedMask_Bpix", "ele seed hits mask when subdet2 is bpix", 13, -0.5, 12.5);
2472  bookH1withSumw2(iBooker, "seedMask_Fpix", "ele seed hits mask when subdet2 is fpix", 13, -0.5, 12.5);
2474  bookH1withSumw2(iBooker, "seedMask_Tec", "ele seed hits mask when subdet2 is tec", 13, -0.5, 12.5);
2476  iBooker, "seedDphi2", "ele seed dphi 2nd layer", 50, -0.010, +0.010, "#phi_{hit}-#phi_{pred} (rad)");
2478  iBooker, "seedDphi2_VsEta", "ele seed dphi 2nd layer vs eta", eta2D_nbin, eta_min, eta_max, 50, -0.003, +0.003);
2480  bookH2(iBooker, "seedDphi2_VsPt", "ele seed dphi 2nd layer vs pt", pt2D_nbin, 0., pt_max, 50, -0.003, +0.003);
2482  iBooker, "seedDphi2Pos", "ele seed dphi 2nd layer positron", 50, -0.010, +0.010, "#phi_{hit}-#phi_{pred} (rad)");
2484  "seedDphi2Pos_VsEta",
2485  "ele seed dphi 2nd layer positron vs eta",
2486  eta2D_nbin,
2487  eta_min,
2488  eta_max,
2489  50,
2490  -0.003,
2491  +0.003);
2493  iBooker, "seedDphi2Pos_VsPt", "ele seed dphi 2nd layer positron vs pt", pt2D_nbin, 0., pt_max, 50, -0.003, +0.003);
2495  iBooker, "seedDrz2", "ele seed dr (dz) 2nd layer", 50, -0.03, +0.03, "r(z)_{hit}-r(z)_{pred} (cm)");
2497  iBooker, "seedDrz2_VsEta", "ele seed dr/dz 2nd layer vs eta", eta2D_nbin, eta_min, eta_max, 50, -0.03, +0.03);
2499  bookH2(iBooker, "seedDrz2_VsPt", "ele seed dr/dz 2nd layer vs pt", pt2D_nbin, 0., pt_max, 50, -0.03, +0.03);
2501  iBooker, "seedDrz2Pos", "ele seed dr (dz) 2nd layer positron", 50, -0.03, +0.03, "r(z)_{hit}-r(z)_{pred} (cm)");
2502  h2_ele_seed_drz2posVsEta = bookH2(iBooker,
2503  "seedDrz2Pos_VsEta",
2504  "ele seed dr/dz 2nd layer positron vs eta",
2505  eta2D_nbin,
2506  eta_min,
2507  eta_max,
2508  50,
2509  -0.03,
2510  +0.03);
2512  iBooker, "seedDrz2Pos_VsPt", "ele seed dr/dz 2nd layer positron vs pt", pt2D_nbin, 0., pt_max, 50, -0.03, +0.03);
2513 
2514  // classes
2515  h1_ele_classes = bookH1withSumw2(iBooker, "classes", "ele classes", 20, 0.0, 20., "class Id");
2516  h1_ele_eta = bookH1withSumw2(iBooker, "eta", "ele electron eta", eta_nbin / 2, 0.0, eta_max);
2517  h1_ele_eta_golden = bookH1withSumw2(iBooker, "eta_golden", "ele electron eta golden", eta_nbin / 2, 0.0, eta_max);
2518  h1_ele_eta_bbrem = bookH1withSumw2(iBooker, "eta_bbrem", "ele electron eta bbrem", eta_nbin / 2, 0.0, eta_max);
2519  h1_ele_eta_shower = bookH1withSumw2(iBooker, "eta_shower", "ele electron eta showering", eta_nbin / 2, 0.0, eta_max);
2521  "PinVsPoutGolden_mode",
2522  "ele track inner p vs outer p vs eta, golden, mode of GSF components",
2523  p2D_nbin,
2524  0.,
2525  p_max,
2526  50,
2527  0.,
2528  p_max);
2530  "PinVsPoutShowering_mode",
2531  "ele track inner p vs outer p vs eta, showering, mode of GSF components",
2532  p2D_nbin,
2533  0.,
2534  p_max,
2535  50,
2536  0.,
2537  p_max);
2539  "PinVsPoutGolden_mean",
2540  "ele track inner p vs outer p vs eta, golden, mean of GSF components",
2541  p2D_nbin,
2542  0.,
2543  p_max,
2544  50,
2545  0.,
2546  p_max);
2548  "PinVsPoutShowering_mean",
2549  "ele track inner p vs outer p vs eta, showering, mean of GSF components",
2550  p2D_nbin,
2551  0.,
2552  p_max,
2553  50,
2554  0.,
2555  p_max);
2557  "PtinVsPtoutGolden_mode",
2558  "ele track inner pt vs outer pt vs eta, golden, mode of GSF components",
2559  pt2D_nbin,
2560  0.,
2561  pt_max,
2562  50,
2563  0.,
2564  pt_max);
2566  "PtinVsPtoutShowering_mode",
2567  "ele track inner pt vs outer pt vs eta, showering, mode of GSF components",
2568  pt2D_nbin,
2569  0.,
2570  pt_max,
2571  50,
2572  0.,
2573  pt_max);
2575  "PtinVsPtoutGolden_mean",
2576  "ele track inner pt vs outer pt vs eta, golden, mean of GSF components",
2577  pt2D_nbin,
2578  0.,
2579  pt_max,
2580  50,
2581  0.,
2582  pt_max);
2584  "PtinVsPtoutShowering_mean",
2585  "ele track inner pt vs outer pt vs eta, showering, mean of GSF components",
2586  pt2D_nbin,
2587  0.,
2588  pt_max,
2589  50,
2590  0.,
2591  pt_max);
2592  setBookPrefix("h_scl");
2594  "EoEtrue_golden_barrel",
2595  "ele supercluster energy / gen energy, golden, barrel",
2596  poptrue_nbin,
2597  poptrue_min,
2598  poptrue_max);
2600  "EoEtrue_golden_endcaps",
2601  "ele supercluster energy / gen energy, golden, endcaps",
2602  poptrue_nbin,
2603  poptrue_min,
2604  poptrue_max);
2606  "EoEtrue_showering_barrel",
2607  "ele supercluster energy / gen energy, showering, barrel",
2608  poptrue_nbin,
2609  poptrue_min,
2610  poptrue_max);
2612  "EoEtrue_showering_endcaps",
2613  "ele supercluster energy / gen energy, showering, endcaps",
2614  poptrue_nbin,
2615  poptrue_min,
2616  poptrue_max);
2617 
2618  // isolation
2619  setBookPrefix("h_ele");
2621  "tkSumPt_dr03",
2622  "tk isolation sum, dR=0.3",
2623  100,
2624  0.0,
2625  20.,
2626  "TkIsoSum, cone 0.3 (GeV/c)",
2627  "Events",
2628  "ELE_LOGY E1 P");
2630  "tkSumPt_dr03_barrel",
2631  "tk isolation sum, dR=0.3, barrel",
2632  100,
2633  0.0,
2634  20.,
2635  "TkIsoSum, cone 0.3 (GeV/c)",
2636  "Events",
2637  "ELE_LOGY E1 P");
2639  "tkSumPt_dr03_endcaps",
2640  "tk isolation sum, dR=0.3, endcaps",
2641  100,
2642  0.0,
2643  20.,
2644  "TkIsoSum, cone 0.3 (GeV/c)",
2645  "Events",
2646  "ELE_LOGY E1 P");
2648  "ecalRecHitSumEt_dr03",
2649  "ecal isolation sum, dR=0.3",
2650  100,
2651  0.0,
2652  20.,
2653  "EcalIsoSum, cone 0.3 (GeV)",
2654  "Events",
2655  "ELE_LOGY E1 P");
2657  "ecalRecHitSumEt_dr03_barrel",
2658  "ecal isolation sum, dR=0.3, barrel",
2659  100,
2660  0.0,
2661  20.,
2662  "EcalIsoSum, cone 0.3 (GeV)",
2663  "Events",
2664  "ELE_LOGY E1 P");
2666  "ecalRecHitSumEt_dr03_endcaps",
2667  "ecal isolation sum, dR=0.3, endcaps",
2668  100,
2669  0.0,
2670  20.,
2671  "EcalIsoSum, cone 0.3 (GeV)",
2672  "Events",
2673  "ELE_LOGY E1 P");
2675  "hcalTowerSumEt_dr03_depth1",
2676  "hcal depth1 isolation sum, dR=0.3",
2677  100,
2678  0.0,
2679  20.,
2680  "Hcal1IsoSum, cone 0.3 (GeV)",
2681  "Events",
2682  "ELE_LOGY E1 P");
2684  "hcalTowerSumEt_dr03_depth1_barrel",
2685  "hcal depth1 isolation sum, dR=0.3, barrel",
2686  100,
2687  0.0,
2688  20.,
2689  "Hcal1IsoSum, cone 0.3 (GeV)",
2690  "Events",
2691  "ELE_LOGY E1 P");
2693  "hcalTowerSumEt_dr03_depth1_endcaps",
2694  "hcal depth1 isolation sum, dR=0.3, endcaps",
2695  100,
2696  0.0,
2697  20.,
2698  "Hcal1IsoSum, cone 0.3 (GeV)",
2699  "Events",
2700  "ELE_LOGY E1 P");
2702  "hcalTowerSumEt_dr03_depth2",
2703  "hcal depth2 isolation sum, dR=0.3",
2704  100,
2705  0.0,
2706  20.,
2707  "Hcal2IsoSum, cone 0.3 (GeV)",
2708  "Events",
2709  "ELE_LOGY E1 P");
2711  "hcalTowerSumEt_dr03_depth2_barrel",
2712  "hcal depth2 isolation sum, dR=0.3",
2713  100,
2714  0.0,
2715  20.,
2716  "Hcal2IsoSum, cone 0.3 (GeV)",
2717  "Events",
2718  "ELE_LOGY E1 P");
2720  "hcalTowerSumEt_dr03_depth2_endcaps",
2721  "hcal depth2 isolation sum, dR=0.3",
2722  100,
2723  0.0,
2724  20.,
2725  "Hcal2IsoSum, cone 0.3 (GeV)",
2726  "Events",
2727  "ELE_LOGY E1 P");
2729  "tkSumPt_dr04",
2730  "tk isolation sum, dR=0.4",
2731  100,
2732  0.0,
2733  20.,
2734  "TkIsoSum, cone 0.4 (GeV/c)",
2735  "Events",
2736  "ELE_LOGY E1 P");
2738  "tkSumPt_dr04_barrel",
2739  "tk isolation sum, dR=0.4, barrel",
2740  100,
2741  0.0,
2742  20.,
2743  "TkIsoSum, cone 0.4 (GeV/c)",
2744  "Events",
2745  "ELE_LOGY E1 P");
2747  "tkSumPt_dr04_endcaps",
2748  "tk isolation sum, dR=0.4, endcaps",
2749  100,
2750  0.0,
2751  20.,
2752  "TkIsoSum, cone 0.4 (GeV/c)",
2753  "Events",
2754  "ELE_LOGY E1 P");
2756  "ecalRecHitSumEt_dr04",
2757  "ecal isolation sum, dR=0.4",
2758  100,
2759  0.0,
2760  20.,
2761  "EcalIsoSum, cone 0.4 (GeV)",
2762  "Events",
2763  "ELE_LOGY E1 P");
2765  "ecalRecHitSumEt_dr04_barrel",
2766  "ecal isolation sum, dR=0.4, barrel",
2767  100,
2768  0.0,
2769  20.,
2770  "EcalIsoSum, cone 0.4 (GeV)",
2771  "Events",
2772  "ELE_LOGY E1 P");
2774  "ecalRecHitSumEt_dr04_endcaps",
2775  "ecal isolation sum, dR=0.4, endcaps",
2776  100,
2777  0.0,
2778  20.,
2779  "EcalIsoSum, cone 0.4 (GeV)",
2780  "Events",
2781  "ELE_LOGY E1 P");
2783  "hcalTowerSumEt_dr04_depth1",
2784  "hcal depth1 isolation sum, dR=0.4",
2785  100,
2786  0.0,
2787  20.,
2788  "Hcal1IsoSum, cone 0.4 (GeV)",
2789  "Events",
2790  "ELE_LOGY E1 P");
2792  "hcalTowerSumEt_dr04_depth1_barrel",
2793  "hcal depth1 isolation sum, dR=0.4, barrel",
2794  100,
2795  0.0,
2796  20.,
2797  "Hcal1IsoSum, cone 0.4 (GeV)",
2798  "Events",
2799  "ELE_LOGY E1 P");
2801  "hcalTowerSumEt_dr04_depth1_endcaps",
2802  "hcal depth1 isolation sum, dR=0.4, endcaps",
2803  100,
2804  0.0,
2805  20.,
2806  "Hcal1IsoSum, cone 0.4 (GeV)",
2807  "Events",
2808  "ELE_LOGY E1 P");
2810  "hcalTowerSumEt_dr04_depth2",
2811  "hcal depth2 isolation sum, dR=0.4",
2812  100,
2813  0.0,
2814  20.,
2815  "Hcal2IsoSum, cone 0.4 (GeV)",
2816  "Events",
2817  "ELE_LOGY E1 P");
2819  "hcalTowerSumEt_dr04_depth2_barrel",
2820  "hcal depth2 isolation sum, dR=0.4",
2821  100,
2822  0.0,
2823  20.,
2824  "Hcal2IsoSum, cone 0.4 (GeV)",
2825  "Events",
2826  "ELE_LOGY E1 P");
2828  "hcalTowerSumEt_dr04_depth2_endcaps",
2829  "hcal depth2 isolation sum, dR=0.4",
2830  100,
2831  0.0,
2832  20.,
2833  "Hcal2IsoSum, cone 0.4 (GeV)",
2834  "Events",
2835  "ELE_LOGY E1 P");
2836 
2837  // newHCAL
2838  // isolation new hcal
2840  "hcalTowerSumEtBc_dr03_depth1",
2841  "hcal depth1 isolation sum behind cluster, dR=0.3",
2842  100,
2843  0.0,
2844  20.,
2845  "Hcal1IsoSum, cone 0.3 (GeV)",
2846  "Events",
2847  "ELE_LOGY E1 P");
2849  bookH1withSumw2(iBooker,
2850  "hcalTowerSumEtBc_dr03_depth1_barrel",
2851  "hcal depth1 isolation sum behind cluster, dR=0.3, barrel",
2852  100,
2853  0.0,
2854  20.,
2855  "Hcal1IsoSum, cone 0.3 (GeV)",
2856  "Events",
2857  "ELE_LOGY E1 P");
2859  bookH1withSumw2(iBooker,
2860  "hcalTowerSumEtBc_dr03_depth1_endcaps",
2861  "hcal depth1 isolation sum behind cluster, dR=0.3, endcaps",
2862  100,
2863  0.0,
2864  20.,
2865  "Hcal1IsoSum, cone 0.3 (GeV)",
2866  "Events",
2867  "ELE_LOGY E1 P");
2868 
2870  "hcalTowerSumEtBc_dr04_depth1",
2871  "hcal depth1 isolation sum behind cluster, dR=0.4",
2872  100,
2873  0.0,
2874  20.,
2875  "Hcal1IsoSum, cone 0.4 (GeV)",
2876  "Events",
2877  "ELE_LOGY E1 P");
2879  bookH1withSumw2(iBooker,
2880  "hcalTowerSumEtBc_dr04_depth1_barrel",
2881  "hcal depth1 isolation sum behind cluster, dR=0.4, barrel",
2882  100,
2883  0.0,
2884  20.,
2885  "Hcal1IsoSum, cone 0.4 (GeV)",
2886  "Events",
2887  "ELE_LOGY E1 P");
2889  bookH1withSumw2(iBooker,
2890  "hcalTowerSumEtBc_dr04_depth1_endcaps",
2891  "hcal depth1 isolation sum behind cluster, dR=0.4, endcaps",
2892  100,
2893  0.0,
2894  20.,
2895  "Hcal1IsoSum, cone 0.4 (GeV)",
2896  "Events",
2897  "ELE_LOGY E1 P");
2898 
2900  "hcalTowerSumEtBc_dr03_depth2",
2901  "hcal depth2 isolation sum behind cluster, dR=0.3",
2902  100,
2903  0.0,
2904  20.,
2905  "Hcal1IsoSum, cone 0.3 (GeV)",
2906  "Events",
2907  "ELE_LOGY E1 P");
2909  bookH1withSumw2(iBooker,
2910  "hcalTowerSumEtBc_dr03_depth2_barrel",
2911  "hcal depth2 isolation sum behind cluster, dR=0.3, barrel",
2912  100,
2913  0.0,
2914  20.,
2915  "Hcal1IsoSum, cone 0.3 (GeV)",
2916  "Events",
2917  "ELE_LOGY E1 P");
2919  bookH1withSumw2(iBooker,
2920  "hcalTowerSumEtBc_dr03_depth2_endcaps",
2921  "hcal depth2 isolation sum behind cluster, dR=0.3, endcaps",
2922  100,
2923  0.0,
2924  20.,
2925  "Hcal1IsoSum, cone 0.3 (GeV)",
2926  "Events",
2927  "ELE_LOGY E1 P");
2928 
2930  "hcalTowerSumEtBc_dr04_depth2",
2931  "hcal depth2 isolation sum behind cluster, dR=0.4",
2932  100,
2933  0.0,
2934  20.,
2935  "Hcal1IsoSum, cone 0.4 (GeV)",
2936  "Events",
2937  "ELE_LOGY E1 P");
2939  bookH1withSumw2(iBooker,
2940  "hcalTowerSumEtBc_dr04_depth2_barrel",
2941  "hcal depth2 isolation sum behind cluster, dR=0.4, barrel",
2942  100,
2943  0.0,
2944  20.,
2945  "Hcal1IsoSum, cone 0.4 (GeV)",
2946  "Events",
2947  "ELE_LOGY E1 P");
2949  bookH1withSumw2(iBooker,
2950  "hcalTowerSumEtBc_dr04_depth2_endcaps",
2951  "hcal depth2 isolation sum behind cluster, dR=0.4, endcaps",
2952  100,
2953  0.0,
2954  20.,
2955  "Hcal1IsoSum, cone 0.4 (GeV)",
2956  "Events",
2957  "ELE_LOGY E1 P");
2958 
2959  // fbrem
2961  iBooker, "fbrem", "ele brem fraction, mode of GSF components", 100, 0., 1., "P_{in} - P_{out} / P_{in}");
2963  "fbrem_barrel",
2964  "ele brem fraction for barrel, mode of GSF components",
2965  100,
2966  0.,
2967  1.,
2968  "P_{in} - P_{out} / P_{in}");
2970  "fbrem_endcaps",
2971  "ele brem franction for endcaps, mode of GSF components",
2972  100,
2973  0.,
2974  1.,
2975  "P_{in} - P_{out} / P_{in}");
2977  iBooker, "fbrem_mAOD", "ele brem fraction, mode of GSF components", 100, 0., 1., "P_{in} - P_{out} / P_{in}");
2979  "fbrem_mAOD_barrel",
2980  "ele brem fraction for barrel, mode of GSF components",
2981  100,
2982  0.,
2983  1.,
2984  "P_{in} - P_{out} / P_{in}");
2986  "fbrem_mAOD_endcaps",
2987  "ele brem franction for endcaps, mode of GSF components",
2988  100,
2989  0.,
2990  1.,
2991  "P_{in} - P_{out} / P_{in}");
2993  bookH1withSumw2(iBooker, "superclusterfbrem", "supercluster brem fraction", 100, 0., 1., "1 - E_{ele} / E_{SC}");
2995  iBooker, "superclusterfbrem_barrel", "supercluster brem fraction for barrel", 100, 0., 1., "1 - E_{ele} / E_{SC}");
2997  "superclusterfbrem_endcaps",
2998  "supercluster brem franction for endcaps",
2999  100,
3000  0.,
3001  1.,
3002  "1 - E_{ele} / E_{SC}");
3003  p1_ele_fbremVsEta_mode = bookP1(iBooker,
3004  "fbremvsEtamode",
3005  "mean ele brem fraction vs eta, mode of GSF components",
3006  eta2D_nbin,
3007  eta_min,
3008  eta_max,
3009  0.,
3010  1.,
3011  "#eta",
3012  "<P_{in} - P_{out} / P_{in}>");
3013  p1_ele_fbremVsEta_mean = bookP1(iBooker,
3014  "fbremvsEtamean",
3015  "mean ele brem fraction vs eta, mean of GSF components",
3016  eta2D_nbin,
3017  eta_min,
3018  eta_max,
3019  0.,
3020  1.,
3021  "#eta",
3022  "<P_{in} - P_{out} / P_{in}>");
3023  h1_ele_chargeInfo = bookH1withSumw2(iBooker, "chargeInfo", "chargeInfo", 5, -2., 3.);
3024 
3025  // e/g et pflow electrons
3026  h1_ele_mva = bookH1withSumw2(iBooker, "mva", "ele identification mva", 100, -1., 1.);
3027  h1_ele_mva_barrel = bookH1withSumw2(iBooker, "mva_barrel", "ele identification mva barrel", 100, -1., 1.);
3028  h1_ele_mva_endcaps = bookH1withSumw2(iBooker, "mva_endcaps", "ele identification mva endcaps", 100, -1., 1.);
3029  h1_ele_mva_isolated = bookH1withSumw2(iBooker, "mva_isolated", "ele identification mva isolated", 100, -1., 1.);
3031  bookH1withSumw2(iBooker, "mva_isolated_barrel", "ele identification mva isolated barrel", 100, -1., 1.);
3033  bookH1withSumw2(iBooker, "mva_isolated_endcaps", "ele identification mva isolated endcaps", 100, -1., 1.);
3034  h1_ele_provenance = bookH1withSumw2(iBooker, "provenance", "ele provenance", 5, -2., 3.);
3035  h1_ele_provenance_barrel = bookH1withSumw2(iBooker, "provenance_barrel", "ele provenance barrel", 5, -2., 3.);
3036  h1_ele_provenance_endcaps = bookH1withSumw2(iBooker, "provenance_endcaps", "ele provenance endcaps", 5, -2., 3.);
3037 
3038  // pflow isolation variables
3040  iBooker, "chargedHadronIso", "chargedHadronIso", 100, 0.0, 20., "chargedHadronIso", "Events", "ELE_LOGY E1 P");
3042  "chargedHadronIso_barrel",
3043  "chargedHadronIso for barrel",
3044  100,
3045  0.0,
3046  20.,
3047  "chargedHadronIso_barrel",
3048  "Events",
3049  "ELE_LOGY E1 P");
3051  "chargedHadronIso_endcaps",
3052  "chargedHadronIso for endcaps",
3053  100,
3054  0.0,
3055  20.,
3056  "chargedHadronIso_endcaps",
3057  "Events",
3058  "ELE_LOGY E1 P");
3060  iBooker, "neutralHadronIso", "neutralHadronIso", 21, 0.0, 20., "neutralHadronIso", "Events", "ELE_LOGY E1 P");
3062  "neutralHadronIso_barrel",
3063  "neutralHadronIso for barrel",
3064  21,
3065  0.0,
3066  20.,
3067  "neutralHadronIso_barrel",
3068  "Events",
3069  "ELE_LOGY E1 P");
3071  "neutralHadronIso_endcaps",
3072  "neutralHadronIso for endcaps",
3073  21,
3074  0.0,
3075  20.,
3076  "neutralHadronIso_endcaps",
3077  "Events",
3078  "ELE_LOGY E1 P");
3080  bookH1withSumw2(iBooker, "photonIso", "photonIso", 100, 0.0, 20., "photonIso", "Events", "ELE_LOGY E1 P");
3082  iBooker, "photonIso_barrel", "photonIso for barrel", 100, 0.0, 20., "photonIso_barrel", "Events", "ELE_LOGY E1 P");
3084  "photonIso_endcaps",
3085  "photonIso for endcaps",
3086  100,
3087  0.0,
3088  20.,
3089  "photonIso_endcaps",
3090  "Events",
3091  "ELE_LOGY E1 P");
3092  // -- pflow over pT
3094  "chargedHadronRelativeIso",
3095  "chargedHadronRelativeIso",
3096  100,
3097  0.0,
3098  2.,
3099  "chargedHadronRelativeIso",
3100  "Events",
3101  "ELE_LOGY E1 P");
3103  "chargedHadronRelativeIso_barrel",
3104  "chargedHadronRelativeIso for barrel",
3105  100,
3106  0.0,
3107  2.,
3108  "chargedHadronRelativeIso_barrel",
3109  "Events",
3110  "ELE_LOGY E1 P");
3112  "chargedHadronRelativeIso_endcaps",
3113  "chargedHadronRelativeIso for endcaps",
3114  100,
3115  0.0,
3116  2.,
3117  "chargedHadronRelativeIso_endcaps",
3118  "Events",
3119  "ELE_LOGY E1 P");
3121  "neutralHadronRelativeIso",
3122  "neutralHadronRelativeIso",
3123  100,
3124  0.0,
3125  2.,
3126  "neutralHadronRelativeIso",
3127  "Events",
3128  "ELE_LOGY E1 P");
3130  "neutralHadronRelativeIso_barrel",
3131  "neutralHadronRelativeIso for barrel",
3132  100,
3133  0.0,
3134  2.,
3135  "neutralHadronRelativeIso_barrel",
3136  "Events",
3137  "ELE_LOGY E1 P");
3139  "neutralHadronRelativeIso_endcaps",
3140  "neutralHadronRelativeIso for endcaps",
3141  100,
3142  0.0,
3143  2.,
3144  "neutralHadronRelativeIso_endcaps",
3145  "Events",
3146  "ELE_LOGY E1 P");
3148  iBooker, "photonRelativeIso", "photonRelativeIso", 100, 0.0, 2., "photonRelativeIso", "Events", "ELE_LOGY E1 P");
3150  "photonRelativeIso_barrel",
3151  "photonRelativeIso for barrel",
3152  100,
3153  0.0,
3154  2.,
3155  "photonRelativeIso_barrel",
3156  "Events",
3157  "ELE_LOGY E1 P");
3159  "photonRelativeIso_endcaps",
3160  "photonRelativeIso for endcaps",
3161  100,
3162  0.0,
3163  2.,
3164  "photonRelativeIso_endcaps",
3165  "Events",
3166  "ELE_LOGY E1 P");
3168  "chargedHadronRelativeIso_mAOD",
3169  "chargedHadronRelativeIso",
3170  100,
3171  0.0,
3172  2.,
3173  "chargedHadronRelativeIso",
3174  "Events",
3175  "ELE_LOGY E1 P");
3177  "chargedHadronRelativeIso_mAOD_barrel",
3178  "chargedHadronRelativeIso for barrel",
3179  100,
3180  0.0,
3181  2.,
3182  "chargedHadronRelativeIso_barrel",
3183  "Events",
3184  "ELE_LOGY E1 P");
3186  "chargedHadronRelativeIso_mAOD_endcaps",
3187  "chargedHadronRelativeIso for endcaps",
3188  100,
3189  0.0,
3190  2.,
3191  "chargedHadronRelativeIso_endcaps",
3192  "Events",
3193  "ELE_LOGY E1 P");
3195  "neutralHadronRelativeIso_mAOD",
3196  "neutralHadronRelativeIso",
3197  100,
3198  0.0,
3199  2.,
3200  "neutralHadronRelativeIso",
3201  "Events",
3202  "ELE_LOGY E1 P");
3204  "neutralHadronRelativeIso_mAOD_barrel",
3205  "neutralHadronRelativeIso for barrel",
3206  100,
3207  0.0,
3208  2.,
3209  "neutralHadronRelativeIso_barrel",
3210  "Events",
3211  "ELE_LOGY E1 P");
3213  "neutralHadronRelativeIso_mAOD_endcaps",
3214  "neutralHadronRelativeIso for endcaps",
3215  100,
3216  0.0,
3217  2.,
3218  "neutralHadronRelativeIso_endcaps",
3219  "Events",
3220  "ELE_LOGY E1 P");
3222  "photonRelativeIso_mAOD",
3223  "photonRelativeIso",
3224  100,
3225  0.0,
3226  2.,
3227  "photonRelativeIso",
3228  "Events",
3229  "ELE_LOGY E1 P");
3231  "photonRelativeIso_mAOD_barrel",
3232  "photonRelativeIso for barrel",
3233  100,
3234  0.0,
3235  2.,
3236  "photonRelativeIso_barrel",
3237  "Events",
3238  "ELE_LOGY E1 P");
3240  "photonRelativeIso_mAOD_endcaps",
3241  "photonRelativeIso for endcaps",
3242  100,
3243  0.0,
3244  2.,
3245  "photonRelativeIso_endcaps",
3246  "Events",
3247  "ELE_LOGY E1 P");
3248 
3249  // conversion rejection information
3250  h1_ele_convFlags = bookH1withSumw2(iBooker, "convFlags", "conversion rejection flag", 5, -1.5, 3.5);
3252  bookH1withSumw2(iBooker, "convFlags_all", "conversion rejection flag, all electrons", 5, -1.5, 3.5);
3253  h1_ele_convDist = bookH1withSumw2(iBooker, "convDist", "distance to the conversion partner", 100, -15., 15.);
3255  bookH1withSumw2(iBooker, "convDist_all", "distance to the conversion partner, all electrons", 100, -15., 15.);
3257  iBooker, "convDcot", "difference of cot(angle) with the conversion partner", 100, -CLHEP::pi / 2., CLHEP::pi / 2.);
3259  "convDcot_all",
3260  "difference of cot(angle) with the conversion partner, all electrons",
3261  100,
3262  -CLHEP::pi / 2.,
3263  CLHEP::pi / 2.);
3264  h1_ele_convRadius = bookH1withSumw2(iBooker, "convRadius", "signed conversion radius", 100, 0., 130.);
3266  bookH1withSumw2(iBooker, "convRadius_all", "signed conversion radius, all electrons", 100, 0., 130.);
3267 }
3268 
3270 
3272  // get collections
3275  edm::Handle<GsfElectronCoreCollection> gsfElectronCores;
3276  iEvent.getByToken(electronCoreCollection_, gsfElectronCores);
3277  edm::Handle<GsfTrackCollection> gsfElectronTracks;
3278  iEvent.getByToken(electronTrackCollection_, gsfElectronTracks);
3279  edm::Handle<ElectronSeedCollection> gsfElectronSeeds;
3280  iEvent.getByToken(electronSeedCollection_, gsfElectronSeeds);
3282  iEvent.getByToken(mcTruthCollection_, genParticles);
3283  edm::Handle<reco::BeamSpot> theBeamSpot;
3284  iEvent.getByToken(beamSpotTag_, theBeamSpot);
3285 
3286  edm::Handle<edm::ValueMap<double> > isoFromDepsTk03Handle;
3287  iEvent.getByToken(isoFromDepsTk03Tag_, isoFromDepsTk03Handle);
3288 
3289  edm::Handle<edm::ValueMap<double> > isoFromDepsTk04Handle;
3290  iEvent.getByToken(isoFromDepsTk04Tag_, isoFromDepsTk04Handle);
3291 
3292  edm::Handle<edm::ValueMap<double> > isoFromDepsEcalFull03Handle;
3293  iEvent.getByToken(isoFromDepsEcalFull03Tag_, isoFromDepsEcalFull03Handle);
3294 
3295  edm::Handle<edm::ValueMap<double> > isoFromDepsEcalFull04Handle;
3296  iEvent.getByToken(isoFromDepsEcalFull04Tag_, isoFromDepsEcalFull04Handle);
3297 
3298  edm::Handle<edm::ValueMap<double> > isoFromDepsEcalReduced03Handle;
3299  iEvent.getByToken(isoFromDepsEcalReduced03Tag_, isoFromDepsEcalReduced03Handle);
3300 
3301  edm::Handle<edm::ValueMap<double> > isoFromDepsEcalReduced04Handle;
3302  iEvent.getByToken(isoFromDepsEcalReduced04Tag_, isoFromDepsEcalReduced04Handle);
3303 
3304  edm::Handle<edm::ValueMap<double> > isoFromDepsHcal03Handle;
3305  iEvent.getByToken(isoFromDepsHcal03Tag_, isoFromDepsHcal03Handle);
3306 
3307  edm::Handle<edm::ValueMap<double> > isoFromDepsHcal04Handle;
3308  iEvent.getByToken(isoFromDepsHcal04Tag_, isoFromDepsHcal04Handle);
3309 
3310  edm::Handle<reco::VertexCollection> vertexCollectionHandle;
3311  iEvent.getByToken(offlineVerticesCollection_, vertexCollectionHandle);
3312  if (!vertexCollectionHandle.isValid()) {
3313  edm::LogInfo("ElectronMcSignalValidator::analyze") << "vertexCollectionHandle KO";
3314  } else {
3315  edm::LogInfo("ElectronMcSignalValidator::analyze") << "vertexCollectionHandle OK";
3316  }
3317 
3318  edm::LogInfo("ElectronMcSignalValidator::analyze")
3319  << "Treating event " << iEvent.id() << " with " << gsfElectrons.product()->size() << " electrons";
3320  h1_recEleNum->Fill((*gsfElectrons).size());
3321  h1_recCoreNum->Fill((*gsfElectronCores).size());
3322  h1_recTrackNum->Fill((*gsfElectronTracks).size());
3323  h1_recSeedNum->Fill((*gsfElectronSeeds).size());
3324  h1_recOfflineVertices->Fill((*vertexCollectionHandle).size());
3325 
3326  //===============================================
3327  // all rec electrons
3328  //===============================================
3329 
3330  reco::GsfElectronCollection::const_iterator gsfIter;
3331  // mee only
3332  for (gsfIter = gsfElectrons->begin(); gsfIter != gsfElectrons->end(); gsfIter++) {
3333  // preselect electrons
3334  // if (gsfIter->pt()>maxPt_ || std::abs(gsfIter->eta())>maxAbsEta_) continue ;
3335 
3336  //
3337  float enrj1 = gsfIter->ecalEnergy();
3338 
3339  reco::GsfElectronCollection::const_iterator gsfIter2;
3340  for (gsfIter2 = gsfIter + 1; gsfIter2 != gsfElectrons->end(); gsfIter2++) {
3341  math::XYZTLorentzVector p12 = (*gsfIter).p4() + (*gsfIter2).p4();
3342  float mee2 = p12.Dot(p12);
3343  float enrj2 = gsfIter2->ecalEnergy();
3344  h1_ele_mee_all->Fill(sqrt(mee2));
3345  h2_ele_E2mnE1vsMee_all->Fill(sqrt(mee2), enrj2 - enrj1);
3346  if (gsfIter->ecalDrivenSeed() && gsfIter2->ecalDrivenSeed()) {
3347  h2_ele_E2mnE1vsMee_egeg_all->Fill(sqrt(mee2), enrj2 - enrj1);
3348  }
3349  if (gsfIter->charge() * gsfIter2->charge() < 0.) {
3350  h1_ele_mee_os->Fill(sqrt(mee2));
3351  if (gsfIter->isEB() && gsfIter2->isEB()) {
3352  h1_ele_mee_os_ebeb->Fill(sqrt(mee2));
3353  }
3354  if ((gsfIter->isEB() && gsfIter2->isEE()) || (gsfIter->isEE() && gsfIter2->isEB()))
3355  h1_ele_mee_os_ebee->Fill(sqrt(mee2));
3356  if (gsfIter->isEE() && gsfIter2->isEE()) {
3357  h1_ele_mee_os_eeee->Fill(sqrt(mee2));
3358  }
3359  if ((gsfIter->classification() == GsfElectron::GOLDEN && gsfIter2->classification() == GsfElectron::GOLDEN) ||
3360  (gsfIter->classification() == GsfElectron::GOLDEN && gsfIter2->classification() == GsfElectron::BIGBREM) ||
3361  (gsfIter->classification() == GsfElectron::BIGBREM && gsfIter2->classification() == GsfElectron::GOLDEN) ||
3362  (gsfIter->classification() == GsfElectron::BIGBREM && gsfIter2->classification() == GsfElectron::BIGBREM)) {
3363  h1_ele_mee_os_gg->Fill(sqrt(mee2));
3364  } else if ((gsfIter->classification() == GsfElectron::SHOWERING &&
3365  gsfIter2->classification() == GsfElectron::SHOWERING) ||
3366  (gsfIter->classification() == GsfElectron::SHOWERING && gsfIter2->isGap()) ||
3367  (gsfIter->isGap() && gsfIter2->classification() == GsfElectron::SHOWERING) ||
3368  (gsfIter->isGap() && gsfIter2->isGap())) {
3369  h1_ele_mee_os_bb->Fill(sqrt(mee2));
3370  } else {
3371  h1_ele_mee_os_gb->Fill(sqrt(mee2));
3372  }
3373  }
3374  }
3375  }
3376 
3377  for (gsfIter = gsfElectrons->begin(); gsfIter != gsfElectrons->end(); gsfIter++) {
3378  // preselect electrons
3379  if (gsfIter->pt() > maxPt_ || std::abs(gsfIter->eta()) > maxAbsEta_)
3380  continue;
3381 
3382  //
3383  h1_ele_EoverP_all->Fill(gsfIter->eSuperClusterOverP());
3384  h1_ele_EseedOP_all->Fill(gsfIter->eSeedClusterOverP());
3385  h1_ele_EoPout_all->Fill(gsfIter->eSeedClusterOverPout());
3386  h1_ele_EeleOPout_all->Fill(gsfIter->eEleClusterOverPout());
3387  h1_ele_dEtaSc_propVtx_all->Fill(gsfIter->deltaEtaSuperClusterTrackAtVtx());
3388  h1_ele_dPhiSc_propVtx_all->Fill(gsfIter->deltaPhiSuperClusterTrackAtVtx());
3389  h1_ele_dEtaCl_propOut_all->Fill(gsfIter->deltaEtaSeedClusterTrackAtCalo());
3390  h1_ele_dPhiCl_propOut_all->Fill(gsfIter->deltaPhiSeedClusterTrackAtCalo());
3391  h1_ele_HoE_all->Fill(gsfIter->hcalOverEcal());
3392  h1_ele_HoE_bc_all->Fill(gsfIter->hcalOverEcalBc());
3393  h1_ele_TIP_all->Fill(EleRelPoint(gsfIter->vertex(), theBeamSpot->position()).perp());
3394  h1_ele_vertexEta_all->Fill(gsfIter->eta());
3395  h1_ele_vertexPt_all->Fill(gsfIter->pt());
3396  h1_ele_Et_all->Fill(gsfIter->ecalEnergy() / cosh(gsfIter->superCluster()->eta()));
3397 
3398  // conversion rejection
3399  int flags = gsfIter->convFlags();
3400  if (flags == -9999) {
3401  flags = -1;
3402  }
3404  if (flags >= 0.) {
3405  h1_ele_convDist_all->Fill(gsfIter->convDist());
3406  h1_ele_convDcot_all->Fill(gsfIter->convDcot());
3407  h1_ele_convRadius_all->Fill(gsfIter->convRadius());
3408  }
3409  }
3410 
3411  //===============================================
3412  // charge mis-ID
3413  //===============================================
3414 
3415  int mcNum = 0, gamNum = 0, eleNum = 0;
3416  bool matchingID, matchingMotherID;
3417 
3418  reco::GenParticleCollection::const_iterator mcIter;
3419  for (mcIter = genParticles->begin(); mcIter != genParticles->end(); mcIter++) {
3420  /* // DEBUG LINES - KEEP IT !
3421  std::cout << "\nevt ID = " << iEvent.id() ;
3422  std::cout << ", mcIter position : " << mcIter - genParticles->begin() << std::endl ;
3423  std::cout << "pdgID : " << mcIter->pdgId() << ", Pt : " << mcIter->pt() << ", eta : " << mcIter->eta() << ", phi : " << mcIter->phi() << std::endl;
3424  // DEBUG LINES - KEEP IT ! */
3425 
3426  // select requested matching gen particle
3427  matchingID = false;
3428  for (unsigned int i = 0; i < matchingIDs_.size(); i++) {
3429  if (mcIter->pdgId() == matchingIDs_[i]) {
3430  matchingID = true;
3431  /* // DEBUG LINES - KEEP IT !
3432  std::cout << "\nMatching mis-reco : matchingIDs_.size() = " << matchingIDs_.size() << ", evt ID = " << iEvent.id() ;
3433  std::cout << ", mcIter pdgID : " << mcIter->pdgId() << ", matchingID : " << matchingID << std::endl ;
3434  // DEBUG LINES - KEEP IT ! */
3435  }
3436  }
3437  if (matchingID) {
3438  // select requested mother matching gen particle
3439  // always include single particle with no mother
3440  const Candidate *mother = mcIter->mother();
3441  matchingMotherID = false;
3442  for (unsigned int i = 0; i < matchingMotherIDs_.size(); i++) {
3443  /* // DEBUG LINES - KEEP IT !
3444  std::cout << "Matching : matchingMotherID[" << ii << "] : "<< matchingMotherIDs_[ii] << ", evt ID = " << iEvent.id() << ", mother : " << mother ;
3445  if (mother != 0) {
3446  std::cout << "mother : " << mother << ", mother pdgID : " << mother->pdgId() << std::endl ;
3447  std::cout << "mother pdgID : " << mother->pdgId() << ", Pt : " << mother->pt() << ", eta : " << mother->eta() << ", phi : " << mother->phi() << std::endl;
3448  }
3449  else {
3450  std::cout << std::endl;
3451  }
3452  // DEBUG LINES - KEEP IT ! */
3453 
3454  if (mother == nullptr) {
3455  matchingMotherID = true;
3456  } else if (mother->pdgId() == matchingMotherIDs_[i]) {
3457  if (mother->numberOfDaughters() <= 2) {
3458  matchingMotherID = true;
3459  /* // DEBUG LINES - KEEP IT !
3460  std::cout << "Matching mis-reco : matchingMotherID[" << i << "] : " << matchingMotherIDs_[i] << ", evt ID = " << iEvent.id() << ", mother : " << mother ; // debug lines
3461  std::cout << "evt ID = " << iEvent.id() ; // debug lines
3462  std::cout << " - nb of Daughters : " << mother->numberOfDaughters() << " - pdgId() : " << mother->pdgId() << std::endl; // debug lines
3463  // DEBUG LINES - KEEP IT ! */
3464  }
3465  } // end of mother if test
3466  }
3467  if (matchingMotherID) {
3468  if (mcIter->pt() > maxPt_ || std::abs(mcIter->eta()) > maxAbsEta_) {
3469  continue;
3470  }
3471  // suppress the endcaps
3472  //if (std::abs(mcIter->eta()) > 1.5) continue;
3473  // select central z
3474  //if ( std::abs(mcIter->production_vertex()->position().z())>50.) continue;
3475 
3476  // looking for the best matching gsf electron
3477  bool okGsfFound = false;
3478  double gsfOkRatio = 999999.;
3479 
3480  // find best matched electron
3481  reco::GsfElectron bestGsfElectron;
3482  reco::GsfElectronCollection::const_iterator gsfIter;
3483  for (gsfIter = gsfElectrons->begin(); gsfIter != gsfElectrons->end(); gsfIter++) {
3484  double dphi = gsfIter->phi() - mcIter->phi();
3485  if (std::abs(dphi) > CLHEP::pi) {
3486  dphi = dphi < 0 ? (CLHEP::twopi) + dphi : dphi - CLHEP::twopi;
3487  }
3488  double deltaR2 = (gsfIter->eta() - mcIter->eta()) * (gsfIter->eta() - mcIter->eta()) + dphi * dphi;
3489  if (deltaR2 < deltaR2_) {
3490  double mc_charge = mcIter->pdgId() == 11 ? -1. : 1.;
3491  h1_ele_ChargeMnChargeTrue->Fill(std::abs(gsfIter->charge() - mc_charge));
3492  // require here a charge mismatch
3493  if (((mcIter->pdgId() == 11) && (gsfIter->charge() > 0.)) ||
3494  ((mcIter->pdgId() == -11) && (gsfIter->charge() < 0.))) {
3495  double tmpGsfRatio = gsfIter->p() / mcIter->p();
3496  if (std::abs(tmpGsfRatio - 1) < std::abs(gsfOkRatio - 1)) {
3497  gsfOkRatio = tmpGsfRatio;
3498  bestGsfElectron = *gsfIter;
3499  okGsfFound = true;
3500  }
3501  }
3502  }
3503  } // loop over rec ele to look for the best one
3504 
3505  // analysis when the mc track is found
3506  if (okGsfFound) {
3507  // generated distributions for matched electrons
3508  h1_mc_Pt_matched_qmisid->Fill(mcIter->pt());
3509  h1_mc_Phi_matched_qmisid->Fill(mcIter->phi());
3510  h1_mc_AbsEta_matched_qmisid->Fill(std::abs(mcIter->eta()));
3511  h1_mc_Eta_matched_qmisid->Fill(mcIter->eta());
3512  h1_mc_Z_matched_qmisid->Fill(mcIter->vz());
3513  }
3514  }
3515  }
3516  }
3517 
3518  //===============================================
3519  // association mc-reco
3520  //===============================================
3521 
3522  for (mcIter = genParticles->begin(); mcIter != genParticles->end(); mcIter++) {
3523  // number of mc particles
3524  mcNum++;
3525 
3526  // counts photons
3527  if (mcIter->pdgId() == 22) {
3528  gamNum++;
3529  }
3530 
3531  // select requested matching gen particle
3532  matchingID = false;
3533  for (unsigned int i = 0; i < matchingIDs_.size(); i++) {
3534  if (mcIter->pdgId() == matchingIDs_[i]) {
3535  matchingID = true;
3536  }
3537  }
3538  if (!matchingID)
3539  continue;
3540 
3541  // select requested mother matching gen particle
3542  // always include single particle with no mother
3543  const Candidate *mother = mcIter->mother();
3544  matchingMotherID = false;
3545  for (unsigned int i = 0; i < matchingMotherIDs_.size(); i++) {
3546  if ((mother == nullptr) || ((mother != nullptr) && mother->pdgId() == matchingMotherIDs_[i])) {
3547  matchingMotherID = true;
3548  /* // DEBUG LINES - KEEP IT !
3549  std::cout << "Matching mc-reco : matchingMotherID[" << i << "] : " << matchingMotherIDs_[i] << ", evt ID = " << iEvent.id() << ", mother : " << mother ;
3550  if (mother != 0) {
3551  std::cout << ", mother pdgID : " << mother->pdgId() << std::endl ;
3552  }
3553  else {
3554  std::cout << std::endl ;
3555  }
3556  // DEBUG LINES - KEEP IT ! */
3557  }
3558  }
3559  if (!matchingMotherID)
3560  continue;
3561 
3562  // electron preselection
3563  if (mcIter->pt() > maxPt_ || std::abs(mcIter->eta()) > maxAbsEta_) {
3564  continue;
3565  }
3566 
3567  // suppress the endcaps
3568  //if (std::abs(mcIter->eta()) > 1.5) continue;
3569  // select central z
3570  //if ( std::abs(mcIter->production_vertex()->position().z())>50.) continue;
3571 
3572  eleNum++;
3573  h1_mc_Eta->Fill(mcIter->eta());
3574  h1_mc_AbsEta->Fill(std::abs(mcIter->eta()));
3575  h1_mc_P->Fill(mcIter->p());
3576  h1_mc_Pt->Fill(mcIter->pt());
3577  h1_mc_Phi->Fill(mcIter->phi());
3578  h1_mc_Z->Fill(mcIter->vz());
3579  h2_mc_PtEta->Fill(mcIter->eta(), mcIter->pt());
3580 
3581  // find best matched electron
3582  bool okGsfFound = false;
3583  bool passMiniAODSelection = true;
3584  double gsfOkRatio = 999999.;
3585  reco::GsfElectron bestGsfElectron;
3586  reco::GsfElectronRef bestGsfElectronRef;
3587  reco::GsfElectronCollection::const_iterator gsfIter;
3589  for (gsfIter = gsfElectrons->begin(), iElectron = 0; gsfIter != gsfElectrons->end(); gsfIter++, iElectron++) {
3590  // temporary cut for pt < 5.
3591  double dphi = gsfIter->phi() - mcIter->phi();
3592  if (std::abs(dphi) > CLHEP::pi) {
3593  dphi = dphi < 0 ? (CLHEP::twopi) + dphi : dphi - CLHEP::twopi;
3594  }
3595  double deltaR2 = (gsfIter->eta() - mcIter->eta()) * (gsfIter->eta() - mcIter->eta()) + dphi * dphi;
3596  if (deltaR2 < deltaR2_) {
3597  if (((mcIter->pdgId() == 11) && (gsfIter->charge() < 0.)) ||
3598  ((mcIter->pdgId() == -11) && (gsfIter->charge() > 0.))) {
3599  double tmpGsfRatio = gsfIter->p() / mcIter->p();
3600  if (std::abs(tmpGsfRatio - 1) < std::abs(gsfOkRatio - 1)) {
3601  gsfOkRatio = tmpGsfRatio;
3602  bestGsfElectron = *gsfIter;
3603  bestGsfElectronRef = reco::GsfElectronRef(gsfElectrons, iElectron);
3604  okGsfFound = true;
3605 
3606  //std::cout << "evt ID : " << iEvent.id() << " - Pt : " << bestGsfElectron.pt() << " - eta : " << bestGsfElectron.eta() << " - phi : " << bestGsfElectron.phi() << std::endl; // debug lines
3607  }
3608  }
3609  }
3610  } // loop over rec ele to look for the best one
3611  if (!okGsfFound)
3612  continue;
3613 
3614  //------------------------------------
3615  // analysis when the mc track is found
3616  //------------------------------------
3617  passMiniAODSelection = bestGsfElectron.pt() >= 5.;
3618 
3619  // electron related distributions
3620  h1_ele_charge->Fill(bestGsfElectron.charge());
3621  h2_ele_chargeVsEta->Fill(bestGsfElectron.eta(), bestGsfElectron.charge());
3622  h2_ele_chargeVsPhi->Fill(bestGsfElectron.phi(), bestGsfElectron.charge());
3623  h2_ele_chargeVsPt->Fill(bestGsfElectron.pt(), bestGsfElectron.charge());
3624  h1_ele_vertexP->Fill(bestGsfElectron.p());
3625  h1_ele_vertexPt->Fill(bestGsfElectron.pt());
3626  if (bestGsfElectron.scSigmaIEtaIEta() == 0.)
3627  h1_ele_vertexPt_nocut->Fill(bestGsfElectron.pt());
3628  h1_ele_Et->Fill(bestGsfElectron.ecalEnergy() / cosh(bestGsfElectron.superCluster()->eta()));
3629  h2_ele_vertexPtVsEta->Fill(bestGsfElectron.eta(), bestGsfElectron.pt());
3630  h2_ele_vertexPtVsPhi->Fill(bestGsfElectron.phi(), bestGsfElectron.pt());
3631  h1_ele_vertexEta->Fill(bestGsfElectron.eta());
3632 
3633  h2_scl_EoEtrueVsrecOfflineVertices->Fill((*vertexCollectionHandle).size(),
3634  bestGsfElectron.ecalEnergy() / mcIter->p());
3635  if (bestGsfElectron.isEB())
3636  h2_scl_EoEtrueVsrecOfflineVertices_barrel->Fill((*vertexCollectionHandle).size(),
3637  bestGsfElectron.ecalEnergy() / mcIter->p());
3638  if (bestGsfElectron.isEE())
3639  h2_scl_EoEtrueVsrecOfflineVertices_endcaps->Fill((*vertexCollectionHandle).size(),
3640  bestGsfElectron.ecalEnergy() / mcIter->p());
3641 
3642  // generated distributions for matched electrons
3643  h1_mc_Pt_matched->Fill(mcIter->pt());
3644  h1_mc_Phi_matched->Fill(mcIter->phi());
3645  h1_mc_AbsEta_matched->Fill(std::abs(mcIter->eta()));
3646  h1_mc_Eta_matched->Fill(mcIter->eta());
3647  h2_mc_PtEta_matched->Fill(mcIter->eta(), mcIter->pt());
3648  h2_ele_vertexEtaVsPhi->Fill(bestGsfElectron.phi(), bestGsfElectron.eta());
3649  h1_ele_vertexPhi->Fill(bestGsfElectron.phi());
3650  h1_ele_vertexX->Fill(bestGsfElectron.vertex().x());
3651  h1_ele_vertexY->Fill(bestGsfElectron.vertex().y());
3652  h1_ele_vertexZ->Fill(bestGsfElectron.vertex().z());
3653  h1_mc_Z_matched->Fill(mcIter->vz());
3654  double d = (bestGsfElectron.vertex().x() - mcIter->vx()) * (bestGsfElectron.vertex().x() - mcIter->vx()) +
3655  (bestGsfElectron.vertex().y() - mcIter->vy()) * (bestGsfElectron.vertex().y() - mcIter->vy());
3656  d = sqrt(d);
3658  h2_ele_vertexTIPVsEta->Fill(bestGsfElectron.eta(), d);
3659  h2_ele_vertexTIPVsPhi->Fill(bestGsfElectron.phi(), d);
3660  h2_ele_vertexTIPVsPt->Fill(bestGsfElectron.pt(), d);
3661  h1_ele_EtaMnEtaTrue->Fill(bestGsfElectron.eta() - mcIter->eta());
3662  if (bestGsfElectron.isEB())
3663  h1_ele_EtaMnEtaTrue_barrel->Fill(bestGsfElectron.eta() - mcIter->eta());
3664  if (bestGsfElectron.isEE())
3665  h1_ele_EtaMnEtaTrue_endcaps->Fill(bestGsfElectron.eta() - mcIter->eta());
3666  h2_ele_EtaMnEtaTrueVsEta->Fill(bestGsfElectron.eta(), bestGsfElectron.eta() - mcIter->eta());
3667  h2_ele_EtaMnEtaTrueVsPhi->Fill(bestGsfElectron.phi(), bestGsfElectron.eta() - mcIter->eta());
3668  h2_ele_EtaMnEtaTrueVsPt->Fill(bestGsfElectron.pt(), bestGsfElectron.eta() - mcIter->eta());
3669  h1_ele_PhiMnPhiTrue->Fill(bestGsfElectron.phi() - mcIter->phi());
3670  if (bestGsfElectron.isEB())
3671  h1_ele_PhiMnPhiTrue_barrel->Fill(bestGsfElectron.phi() - mcIter->phi());
3672  if (bestGsfElectron.isEE())
3673  h1_ele_PhiMnPhiTrue_endcaps->Fill(bestGsfElectron.phi() - mcIter->phi());
3674  h1_ele_PhiMnPhiTrue2->Fill(bestGsfElectron.phi() - mcIter->phi());
3675  h2_ele_PhiMnPhiTrueVsEta->Fill(bestGsfElectron.eta(), bestGsfElectron.phi() - mcIter->phi());
3676  h2_ele_PhiMnPhiTrueVsPhi->Fill(bestGsfElectron.phi(), bestGsfElectron.phi() - mcIter->phi());
3677  h2_ele_PhiMnPhiTrueVsPt->Fill(bestGsfElectron.pt(), bestGsfElectron.phi() - mcIter->phi());
3678  h1_ele_PoPtrue->Fill(bestGsfElectron.p() / mcIter->p());
3679  h1_ele_PtoPttrue->Fill(bestGsfElectron.pt() / mcIter->pt());
3680  h2_ele_PoPtrueVsEta->Fill(bestGsfElectron.eta(), bestGsfElectron.p() / mcIter->p());
3681  h2_ele_PoPtrueVsPhi->Fill(bestGsfElectron.phi(), bestGsfElectron.p() / mcIter->p());
3682  h2_ele_PoPtrueVsPt->Fill(bestGsfElectron.py(), bestGsfElectron.p() / mcIter->p());
3683  // if (passMiniAODSelection) { // Pt > 5.
3684  h2_ele_sigmaIetaIetaVsPt->Fill(bestGsfElectron.pt(), bestGsfElectron.scSigmaIEtaIEta());
3685  // }
3686  if (bestGsfElectron.isEB())
3687  h1_ele_PoPtrue_barrel->Fill(bestGsfElectron.p() / mcIter->p());
3688  if (bestGsfElectron.isEE())
3689  h1_ele_PoPtrue_endcaps->Fill(bestGsfElectron.p() / mcIter->p());
3690  if (bestGsfElectron.isEB() && bestGsfElectron.classification() == GsfElectron::GOLDEN)
3691  h1_ele_PoPtrue_golden_barrel->Fill(bestGsfElectron.p() / mcIter->p());
3692  if (bestGsfElectron.isEE() && bestGsfElectron.classification() == GsfElectron::GOLDEN)
3693  h1_ele_PoPtrue_golden_endcaps->Fill(bestGsfElectron.p() / mcIter->p());
3694  if (bestGsfElectron.isEB() && bestGsfElectron.classification() == GsfElectron::SHOWERING)
3695  h1_ele_PoPtrue_showering_barrel->Fill(bestGsfElectron.p() / mcIter->p());
3696  if (bestGsfElectron.isEE() && bestGsfElectron.classification() == GsfElectron::SHOWERING)
3697  h1_ele_PoPtrue_showering_endcaps->Fill(bestGsfElectron.p() / mcIter->p());
3698  if (bestGsfElectron.isEB())
3699  h1_ele_PtoPttrue_barrel->Fill(bestGsfElectron.pt() / mcIter->pt());
3700  if (bestGsfElectron.isEE())
3701  h1_ele_PtoPttrue_endcaps->Fill(bestGsfElectron.pt() / mcIter->pt());
3703  if (bestGsfElectron.isEB())
3705  if (bestGsfElectron.isEE())
3707  h1_ele_combinedP4Error->Fill(bestGsfElectron.p4Error(bestGsfElectron.P4_COMBINATION));
3708  if (bestGsfElectron.isEB())
3709  h1_ele_combinedP4Error_barrel->Fill(bestGsfElectron.p4Error(bestGsfElectron.P4_COMBINATION));
3710  if (bestGsfElectron.isEE())
3711  h1_ele_combinedP4Error_endcaps->Fill(bestGsfElectron.p4Error(bestGsfElectron.P4_COMBINATION));
3712 
3713  // supercluster related distributions
3714  reco::SuperClusterRef sclRef = bestGsfElectron.superCluster();
3715 
3716  h1_scl_En->Fill(bestGsfElectron.ecalEnergy());
3717  if (bestGsfElectron.isEB())
3718  h1_scl_EoEtrue_barrel->Fill(bestGsfElectron.ecalEnergy() / mcIter->p());
3719  if (bestGsfElectron.isEE())
3720  h1_scl_EoEtrue_endcaps->Fill(bestGsfElectron.ecalEnergy() / mcIter->p());
3721  if (bestGsfElectron.isEB() && bestGsfElectron.isEBEtaGap())
3722  h1_scl_EoEtrue_barrel_etagap->Fill(bestGsfElectron.ecalEnergy() / mcIter->p());
3723  if (bestGsfElectron.isEB() && bestGsfElectron.isEBPhiGap())
3724  h1_scl_EoEtrue_barrel_phigap->Fill(bestGsfElectron.ecalEnergy() / mcIter->p());
3725  if (bestGsfElectron.isEBEEGap())
3726  h1_scl_EoEtrue_ebeegap->Fill(bestGsfElectron.ecalEnergy() / mcIter->p());
3727  if (bestGsfElectron.isEE() && bestGsfElectron.isEEDeeGap())
3728  h1_scl_EoEtrue_endcaps_deegap->Fill(bestGsfElectron.ecalEnergy() / mcIter->p());
3729  if (bestGsfElectron.isEE() && bestGsfElectron.isEERingGap())
3730  h1_scl_EoEtrue_endcaps_ringgap->Fill(bestGsfElectron.ecalEnergy() / mcIter->p());
3731  if (bestGsfElectron.isEB())
3732  h1_scl_EoEtrue_barrel_new->Fill(bestGsfElectron.ecalEnergy() / mcIter->p());
3733  if (bestGsfElectron.isEE())
3734  h1_scl_EoEtrue_endcaps_new->Fill(bestGsfElectron.ecalEnergy() / mcIter->p());
3735  if (bestGsfElectron.isEB() && bestGsfElectron.isEBEtaGap())
3736  h1_scl_EoEtrue_barrel_new_etagap->Fill(bestGsfElectron.ecalEnergy() / mcIter->p());
3737  if (bestGsfElectron.isEB() && bestGsfElectron.isEBPhiGap())
3738  h1_scl_EoEtrue_barrel_new_phigap->Fill(bestGsfElectron.ecalEnergy() / mcIter->p());
3739  if (bestGsfElectron.isEBEEGap())
3740  h1_scl_EoEtrue_ebeegap_new->Fill(bestGsfElectron.ecalEnergy() / mcIter->p());
3741  if (bestGsfElectron.isEE() && bestGsfElectron.isEEDeeGap())
3742  h1_scl_EoEtrue_endcaps_new_deegap->Fill(bestGsfElectron.ecalEnergy() / mcIter->p());
3743  if (bestGsfElectron.isEE() && bestGsfElectron.isEERingGap())
3744  h1_scl_EoEtrue_endcaps_new_ringgap->Fill(bestGsfElectron.ecalEnergy() / mcIter->p());
3745 
3746  double R = TMath::Sqrt(sclRef->x() * sclRef->x() + sclRef->y() * sclRef->y() + sclRef->z() * sclRef->z());
3747  double Rt = TMath::Sqrt(sclRef->x() * sclRef->x() + sclRef->y() * sclRef->y());
3748  h1_scl_Et->Fill(sclRef->energy() * (Rt / R));
3749  h2_scl_EtVsEta->Fill(sclRef->eta(), sclRef->energy() * (Rt / R));
3750  h2_scl_EtVsPhi->Fill(sclRef->phi(), sclRef->energy() * (Rt / R));
3751  h1_scl_Eta->Fill(sclRef->eta());
3752  h2_scl_EtaVsPhi->Fill(sclRef->phi(), sclRef->eta());
3753  h1_scl_Phi->Fill(sclRef->phi());
3754  h1_scl_SigEtaEta->Fill(bestGsfElectron.scSigmaEtaEta());
3755  if (bestGsfElectron.isEB())
3756  h1_scl_SigEtaEta_barrel->Fill(bestGsfElectron.scSigmaEtaEta());
3757  if (bestGsfElectron.isEE())
3758  h1_scl_SigEtaEta_endcaps->Fill(bestGsfElectron.scSigmaEtaEta());
3759  h1_scl_SigIEtaIEta->Fill(bestGsfElectron.scSigmaIEtaIEta());
3760  if (bestGsfElectron.isEB())
3761  h1_scl_SigIEtaIEta_barrel->Fill(bestGsfElectron.scSigmaIEtaIEta());
3762  if (bestGsfElectron.isEE())
3763  h1_scl_SigIEtaIEta_endcaps->Fill(bestGsfElectron.scSigmaIEtaIEta());
3764  if (passMiniAODSelection) { // Pt > 5.
3765  h1_scl_SigIEtaIEta_mAOD->Fill(bestGsfElectron.scSigmaIEtaIEta());
3766  if (bestGsfElectron.isEB())
3768  if (bestGsfElectron.isEE())
3770  }
3772  if (bestGsfElectron.isEB())
3774  if (bestGsfElectron.isEE())
3776  h1_scl_E1x5->Fill(bestGsfElectron.scE1x5());
3777  if (bestGsfElectron.isEB())
3778  h1_scl_E1x5_barrel->Fill(bestGsfElectron.scE1x5());
3779  if (bestGsfElectron.isEE())
3780  h1_scl_E1x5_endcaps->Fill(bestGsfElectron.scE1x5());
3781  h1_scl_E2x5max->Fill(bestGsfElectron.scE2x5Max());
3782  if (bestGsfElectron.isEB())
3783  h1_scl_E2x5max_barrel->Fill(bestGsfElectron.scE2x5Max());
3784  if (bestGsfElectron.isEE())
3785  h1_scl_E2x5max_endcaps->Fill(bestGsfElectron.scE2x5Max());
3786  h1_scl_E5x5->Fill(bestGsfElectron.scE5x5());
3787  if (bestGsfElectron.isEB())
3788  h1_scl_E5x5_barrel->Fill(bestGsfElectron.scE5x5());
3789  if (bestGsfElectron.isEE())
3790  h1_scl_E5x5_endcaps->Fill(bestGsfElectron.scE5x5());
3791  float pfEnergy = 0.;
3792  if (!bestGsfElectron.parentSuperCluster().isNull())
3793  pfEnergy = bestGsfElectron.parentSuperCluster()->energy();
3794  h2_scl_EoEtruePfVsEg->Fill(bestGsfElectron.ecalEnergy() / mcIter->p(), pfEnergy / mcIter->p());
3795  /*New from 06 05 2016*/
3796  // h1_scl_ESFrac->Fill( sclRef->preshowerEnergy() / sclRef->rawEnergy() );
3797  if (bestGsfElectron.isEE())
3798  h1_scl_ESFrac_endcaps->Fill(sclRef->preshowerEnergy() / sclRef->rawEnergy());
3799 
3800  float Etot = 0.;
3801  CaloCluster_iterator it = bestGsfElectron.superCluster()->clustersBegin();
3802  CaloCluster_iterator itend = bestGsfElectron.superCluster()->clustersEnd();
3803  for (; it != itend; ++it) {
3804  Etot += (*it)->energy();
3805  }
3806  h1_scl_bcl_EtotoEtrue->Fill(Etot / mcIter->p());
3807  if (bestGsfElectron.isEB())
3808  h1_scl_bcl_EtotoEtrue_barrel->Fill(Etot / mcIter->p());
3809  if (bestGsfElectron.isEE())
3810  h1_scl_bcl_EtotoEtrue_endcaps->Fill(Etot / mcIter->p());
3811 
3812  // track related distributions
3814  h2_ele_ambiguousTracksVsEta->Fill(bestGsfElectron.eta(), bestGsfElectron.ambiguousGsfTracksSize());
3815  h2_ele_ambiguousTracksVsPhi->Fill(bestGsfElectron.phi(), bestGsfElectron.ambiguousGsfTracksSize());
3816  h2_ele_ambiguousTracksVsPt->Fill(bestGsfElectron.pt(), bestGsfElectron.ambiguousGsfTracksSize());
3817  if (!readAOD_) // track extra does not exist in AOD
3818  {
3819  h1_ele_foundHits->Fill(bestGsfElectron.gsfTrack()->numberOfValidHits());
3820  if (bestGsfElectron.isEB())
3821  h1_ele_foundHits_barrel->Fill(bestGsfElectron.gsfTrack()->numberOfValidHits());
3822  if (bestGsfElectron.isEE())
3823  h1_ele_foundHits_endcaps->Fill(bestGsfElectron.gsfTrack()->numberOfValidHits());
3824  h2_ele_foundHitsVsEta->Fill(bestGsfElectron.eta(), bestGsfElectron.gsfTrack()->numberOfValidHits());
3825  if (passMiniAODSelection) { // Pt > 5.
3826  h2_ele_foundHitsVsEta_mAOD->Fill(bestGsfElectron.eta(), bestGsfElectron.gsfTrack()->numberOfValidHits());
3827  }
3828  h2_ele_foundHitsVsPhi->Fill(bestGsfElectron.phi(), bestGsfElectron.gsfTrack()->numberOfValidHits());
3829  h2_ele_foundHitsVsPt->Fill(bestGsfElectron.pt(), bestGsfElectron.gsfTrack()->numberOfValidHits());
3830  h1_ele_lostHits->Fill(bestGsfElectron.gsfTrack()->numberOfLostHits());
3831  if (bestGsfElectron.isEB())
3832  h1_ele_lostHits_barrel->Fill(bestGsfElectron.gsfTrack()->numberOfLostHits());
3833  if (bestGsfElectron.isEE())
3834  h1_ele_lostHits_endcaps->Fill(bestGsfElectron.gsfTrack()->numberOfLostHits());
3835  h2_ele_lostHitsVsEta->Fill(bestGsfElectron.eta(), bestGsfElectron.gsfTrack()->numberOfLostHits());
3836  h2_ele_lostHitsVsPhi->Fill(bestGsfElectron.phi(), bestGsfElectron.gsfTrack()->numberOfLostHits());
3837  h2_ele_lostHitsVsPt->Fill(bestGsfElectron.pt(), bestGsfElectron.gsfTrack()->numberOfLostHits());
3838  h1_ele_chi2->Fill(bestGsfElectron.gsfTrack()->normalizedChi2());
3839  if (bestGsfElectron.isEB())
3840  h1_ele_chi2_barrel->Fill(bestGsfElectron.gsfTrack()->normalizedChi2());
3841  if (bestGsfElectron.isEE())
3842  h1_ele_chi2_endcaps->Fill(bestGsfElectron.gsfTrack()->normalizedChi2());
3843  h2_ele_chi2VsEta->Fill(bestGsfElectron.eta(), bestGsfElectron.gsfTrack()->normalizedChi2());
3844  h2_ele_chi2VsPhi->Fill(bestGsfElectron.phi(), bestGsfElectron.gsfTrack()->normalizedChi2());
3845  h2_ele_chi2VsPt->Fill(bestGsfElectron.pt(), bestGsfElectron.gsfTrack()->normalizedChi2());
3846  }
3847  // from gsf track interface, hence using mean
3848  if (!readAOD_) // track extra does not exist in AOD
3849  {
3850  h1_ele_PinMnPout->Fill(bestGsfElectron.gsfTrack()->innerMomentum().R() -
3851  bestGsfElectron.gsfTrack()->outerMomentum().R());
3852  h1_ele_outerP->Fill(bestGsfElectron.gsfTrack()->outerMomentum().R());
3853  h1_ele_outerPt->Fill(bestGsfElectron.gsfTrack()->outerMomentum().Rho());
3854  }
3855  // from electron interface, hence using mode
3856  h1_ele_PinMnPout_mode->Fill(bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R());
3857  h2_ele_PinMnPoutVsEta_mode->Fill(bestGsfElectron.eta(),
3858  bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R());
3859  h2_ele_PinMnPoutVsPhi_mode->Fill(bestGsfElectron.phi(),
3860  bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R());
3861  h2_ele_PinMnPoutVsPt_mode->Fill(bestGsfElectron.pt(),
3862  bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R());
3863  h2_ele_PinMnPoutVsE_mode->Fill(bestGsfElectron.caloEnergy(),
3864  bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R());
3865  if (!readAOD_) // track extra does not exist in AOD
3866  {
3868  bestGsfElectron.gsfTrack()->normalizedChi2(),
3869  bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R());
3870  }
3871  h1_ele_outerP_mode->Fill(bestGsfElectron.trackMomentumOut().R());
3872  h2_ele_outerPVsEta_mode->Fill(bestGsfElectron.eta(), bestGsfElectron.trackMomentumOut().R());
3873  h1_ele_outerPt_mode->Fill(bestGsfElectron.trackMomentumOut().Rho());
3874  h2_ele_outerPtVsEta_mode->Fill(bestGsfElectron.eta(), bestGsfElectron.trackMomentumOut().Rho());
3875  h2_ele_outerPtVsPhi_mode->Fill(bestGsfElectron.phi(), bestGsfElectron.trackMomentumOut().Rho());
3876  h2_ele_outerPtVsPt_mode->Fill(bestGsfElectron.pt(), bestGsfElectron.trackMomentumOut().Rho());
3877 
3878  if (!readAOD_) // track extra does not exist in AOD
3879  {
3880  edm::RefToBase<TrajectorySeed> seed = bestGsfElectron.gsfTrack()->extra()->seedRef();
3881  ElectronSeedRef elseed = seed.castTo<ElectronSeedRef>();
3882  h1_ele_seed_subdet2->Fill(elseed->subDet(1));
3883  h1_ele_seed_mask->Fill(elseed->hitsMask());
3884  if (elseed->subDet(1) == 1) {
3885  h1_ele_seed_mask_bpix->Fill(elseed->hitsMask());
3886  } else if (elseed->subDet(1) == 2) {
3887  h1_ele_seed_mask_fpix->Fill(elseed->hitsMask());
3888  } else if (elseed->subDet(1) == 6) {
3889  h1_ele_seed_mask_tec->Fill(elseed->hitsMask());
3890  }
3891 
3892  if (elseed->dPhiNeg(1) != std::numeric_limits<float>::infinity()) {
3893  h1_ele_seed_dphi2->Fill(elseed->dPhiNeg(1));
3894  h2_ele_seed_dphi2VsEta->Fill(bestGsfElectron.eta(), elseed->dPhiNeg(1));
3895  h2_ele_seed_dphi2VsPt->Fill(bestGsfElectron.pt(), elseed->dPhiNeg(1));
3896  } else {
3897  }
3898  if (elseed->dPhiPos(1) != std::numeric_limits<float>::infinity()) {
3899  h1_ele_seed_dphi2pos->Fill(elseed->dPhiPos(1));
3900  h2_ele_seed_dphi2posVsEta->Fill(bestGsfElectron.eta(), elseed->dPhiPos(1));
3901  h2_ele_seed_dphi2posVsPt->Fill(bestGsfElectron.pt(), elseed->dPhiPos(1));
3902  }
3903  if (elseed->dRZNeg(1) != std::numeric_limits<float>::infinity()) {
3904  h1_ele_seed_drz2->Fill(elseed->dRZNeg(1));
3905  h2_ele_seed_drz2VsEta->Fill(bestGsfElectron.eta(), elseed->dRZNeg(1));
3906  h2_ele_seed_drz2VsPt->Fill(bestGsfElectron.pt(), elseed->dRZNeg(1));
3907  }
3908  if (elseed->dRZPos(1) != std::numeric_limits<float>::infinity()) {
3909  h1_ele_seed_drz2pos->Fill(elseed->dRZPos(1));
3910  h2_ele_seed_drz2posVsEta->Fill(bestGsfElectron.eta(), elseed->dRZPos(1));
3911  h2_ele_seed_drz2posVsPt->Fill(bestGsfElectron.pt(), elseed->dRZPos(1));
3912  }
3913  }
3914 
3915  // match distributions
3916  h1_ele_EoP->Fill(bestGsfElectron.eSuperClusterOverP());
3917  if (bestGsfElectron.isEB())
3918  h1_ele_EoP_barrel->Fill(bestGsfElectron.eSuperClusterOverP());
3919  if (bestGsfElectron.isEE())
3920  h1_ele_EoP_endcaps->Fill(bestGsfElectron.eSuperClusterOverP());
3921  h2_ele_EoPVsEta->Fill(bestGsfElectron.eta(), bestGsfElectron.eSuperClusterOverP());
3922  h2_ele_EoPVsPhi->Fill(bestGsfElectron.phi(), bestGsfElectron.eSuperClusterOverP());
3923  h2_ele_EoPVsE->Fill(bestGsfElectron.caloEnergy(), bestGsfElectron.eSuperClusterOverP());
3924  h1_ele_EseedOP->Fill(bestGsfElectron.eSeedClusterOverP());
3925  if (bestGsfElectron.isEB())
3926  h1_ele_EseedOP_barrel->Fill(bestGsfElectron.eSeedClusterOverP());
3927  if (bestGsfElectron.isEE())
3928  h1_ele_EseedOP_endcaps->Fill(bestGsfElectron.eSeedClusterOverP());
3929  h2_ele_EseedOPVsEta->Fill(bestGsfElectron.eta(), bestGsfElectron.eSeedClusterOverP());
3930  h2_ele_EseedOPVsPhi->Fill(bestGsfElectron.phi(), bestGsfElectron.eSeedClusterOverP());
3931  h2_ele_EseedOPVsE->Fill(bestGsfElectron.caloEnergy(), bestGsfElectron.eSeedClusterOverP());
3932  h1_ele_EoPout->Fill(bestGsfElectron.eSeedClusterOverPout());
3933  if (bestGsfElectron.isEB())
3934  h1_ele_EoPout_barrel->Fill(bestGsfElectron.eSeedClusterOverPout());
3935  if (bestGsfElectron.isEE())
3936  h1_ele_EoPout_endcaps->Fill(bestGsfElectron.eSeedClusterOverPout());
3937  h2_ele_EoPoutVsEta->Fill(bestGsfElectron.eta(), bestGsfElectron.eSeedClusterOverPout());
3938  h2_ele_EoPoutVsPhi->Fill(bestGsfElectron.phi(), bestGsfElectron.eSeedClusterOverPout());
3939  h2_ele_EoPoutVsE->Fill(bestGsfElectron.caloEnergy(), bestGsfElectron.eSeedClusterOverPout());
3940  h1_ele_EeleOPout->Fill(bestGsfElectron.eEleClusterOverPout());
3941  if (bestGsfElectron.isEB())
3942  h1_ele_EeleOPout_barrel->Fill(bestGsfElectron.eEleClusterOverPout());
3943  if (bestGsfElectron.isEE())
3945  h2_ele_EeleOPoutVsEta->Fill(bestGsfElectron.eta(), bestGsfElectron.eEleClusterOverPout());
3946  h2_ele_EeleOPoutVsPhi->Fill(bestGsfElectron.phi(), bestGsfElectron.eEleClusterOverPout());
3947  h2_ele_EeleOPoutVsE->Fill(bestGsfElectron.caloEnergy(), bestGsfElectron.eEleClusterOverPout());
3949  if (passMiniAODSelection) { // Pt > 5.
3951  }
3952  if (bestGsfElectron.isEB())
3954  if (bestGsfElectron.isEE())
3956  if (passMiniAODSelection) { // Pt > 5.
3957  if (bestGsfElectron.isEB())
3959  if (bestGsfElectron.isEE())
3961  }
3962  h2_ele_dEtaScVsEta_propVtx->Fill(bestGsfElectron.eta(), bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
3963  h2_ele_dEtaScVsPhi_propVtx->Fill(bestGsfElectron.phi(), bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
3964  h2_ele_dEtaScVsPt_propVtx->Fill(bestGsfElectron.pt(), bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
3966  if (bestGsfElectron.isEB())
3968  if (bestGsfElectron.isEE())
3970  h2_ele_dPhiScVsEta_propVtx->Fill(bestGsfElectron.eta(), bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
3971  h2_ele_dPhiScVsPhi_propVtx->Fill(bestGsfElectron.phi(), bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
3972  h2_ele_dPhiScVsPt_propVtx->Fill(bestGsfElectron.pt(), bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
3974  if (bestGsfElectron.isEB())
3976  if (bestGsfElectron.isEE())
3978  h2_ele_dEtaClVsEta_propOut->Fill(bestGsfElectron.eta(), bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
3979  h2_ele_dEtaClVsPhi_propOut->Fill(bestGsfElectron.phi(), bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
3980  h2_ele_dEtaClVsPt_propOut->Fill(bestGsfElectron.pt(), bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
3982  if (passMiniAODSelection) { // Pt > 5.
3984  }
3985  if (bestGsfElectron.isEB())
3987  if (bestGsfElectron.isEE())
3989  if (passMiniAODSelection) { // Pt > 5.
3990  if (bestGsfElectron.isEB())
3992  if (bestGsfElectron.isEE())
3994  }
3995  h2_ele_dPhiClVsEta_propOut->Fill(bestGsfElectron.eta(), bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
3996  h2_ele_dPhiClVsPhi_propOut->Fill(bestGsfElectron.phi(), bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
3997  h2_ele_dPhiClVsPt_propOut->Fill(bestGsfElectron.pt(), bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
3999  if (bestGsfElectron.isEB())
4001  if (bestGsfElectron.isEE())
4003  h2_ele_dEtaEleClVsEta_propOut->Fill(bestGsfElectron.eta(), bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
4004  h2_ele_dEtaEleClVsPhi_propOut->Fill(bestGsfElectron.phi(), bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
4005  h2_ele_dEtaEleClVsPt_propOut->Fill(bestGsfElectron.pt(), bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
4007  if (bestGsfElectron.isEB())
4009  if (bestGsfElectron.isEE())
4011  h2_ele_dPhiEleClVsEta_propOut->Fill(bestGsfElectron.eta(), bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
4012  h2_ele_dPhiEleClVsPhi_propOut->Fill(bestGsfElectron.phi(), bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
4013  h2_ele_dPhiEleClVsPt_propOut->Fill(bestGsfElectron.pt(), bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
4014  h1_ele_HoE->Fill(bestGsfElectron.hcalOverEcal());
4015  if (passMiniAODSelection) { // Pt > 5.
4016  h1_ele_HoE_mAOD->Fill(bestGsfElectron.hcalOverEcal());
4017  }
4018  h1_ele_HoE_bc->Fill(bestGsfElectron.hcalOverEcalBc());
4019  if (bestGsfElectron.isEB())
4020  h1_ele_HoE_bc_barrel->Fill(bestGsfElectron.hcalOverEcalBc());
4021  if (bestGsfElectron.isEE())
4022  h1_ele_HoE_bc_endcaps->Fill(bestGsfElectron.hcalOverEcalBc());
4023  if (bestGsfElectron.isEB())
4024  h1_ele_HoE_barrel->Fill(bestGsfElectron.hcalOverEcal());
4025  if (bestGsfElectron.isEE())
4026  h1_ele_HoE_endcaps->Fill(bestGsfElectron.hcalOverEcal());
4027  if (passMiniAODSelection) { // Pt > 5.
4028  if (bestGsfElectron.isEB())
4029  h1_ele_HoE_mAOD_barrel->Fill(bestGsfElectron.hcalOverEcal());
4030  if (bestGsfElectron.isEE())
4031  h1_ele_HoE_mAOD_endcaps->Fill(bestGsfElectron.hcalOverEcal());
4032  }
4033  if (!bestGsfElectron.isEBEtaGap() && !bestGsfElectron.isEBPhiGap() && !bestGsfElectron.isEBEEGap() &&
4034  !bestGsfElectron.isEERingGap() && !bestGsfElectron.isEEDeeGap())
4035  h1_ele_HoE_fiducial->Fill(bestGsfElectron.hcalOverEcal());
4036  h2_ele_HoEVsEta->Fill(bestGsfElectron.eta(), bestGsfElectron.hcalOverEcal());
4037  h2_ele_HoEVsPhi->Fill(bestGsfElectron.phi(), bestGsfElectron.hcalOverEcal());
4038  h2_ele_HoEVsE->Fill(bestGsfElectron.caloEnergy(), bestGsfElectron.hcalOverEcal());
4039 
4040  //classes
4041  int eleClass = bestGsfElectron.classification();
4042  if (bestGsfElectron.isEE())
4043  eleClass += 10;
4044  h1_ele_classes->Fill(eleClass);
4045 
4046  if (bestGsfElectron.classification() == GsfElectron::GOLDEN && bestGsfElectron.isEB())
4047  h1_scl_EoEtrueGolden_barrel->Fill(sclRef->energy() / mcIter->p());
4048  if (bestGsfElectron.classification() == GsfElectron::GOLDEN && bestGsfElectron.isEE())
4049  h1_scl_EoEtrueGolden_endcaps->Fill(sclRef->energy() / mcIter->p());
4050  if (bestGsfElectron.classification() == GsfElectron::SHOWERING && bestGsfElectron.isEB())
4051  h1_scl_EoEtrueShowering_barrel->Fill(sclRef->energy() / mcIter->p());
4052  if (bestGsfElectron.classification() == GsfElectron::SHOWERING && bestGsfElectron.isEE())
4053  h1_scl_EoEtrueShowering_endcaps->Fill(sclRef->energy() / mcIter->p());
4054 
4055  //eleClass = eleClass%100; // get rid of barrel/endcap distinction
4056  h1_ele_eta->Fill(std::abs(bestGsfElectron.eta()));
4057  if (bestGsfElectron.classification() == GsfElectron::GOLDEN)
4058  h1_ele_eta_golden->Fill(std::abs(bestGsfElectron.eta()));
4059  if (bestGsfElectron.classification() == GsfElectron::BIGBREM)
4060  h1_ele_eta_bbrem->Fill(std::abs(bestGsfElectron.eta()));
4061  if (bestGsfElectron.classification() == GsfElectron::SHOWERING)
4062  h1_ele_eta_shower->Fill(std::abs(bestGsfElectron.eta()));
4063 
4064  // fbrem
4065 
4066  double fbrem_mode = bestGsfElectron.fbrem();
4067  h1_ele_fbrem->Fill(fbrem_mode);
4068  if (passMiniAODSelection) { // Pt > 5.
4069  h1_ele_fbrem_mAOD->Fill(fbrem_mode);
4070  }
4071  if (bestGsfElectron.isEB()) {
4072  double fbrem_mode_barrel = bestGsfElectron.fbrem();
4073  h1_ele_fbrem_barrel->Fill(fbrem_mode_barrel);
4074  if (passMiniAODSelection) { // Pt > 5.
4075  h1_ele_fbrem_mAOD_barrel->Fill(fbrem_mode_barrel);
4076  }
4077  }
4078 
4079  if (bestGsfElectron.isEE()) {
4080  double fbrem_mode_endcaps = bestGsfElectron.fbrem();
4081  h1_ele_fbrem_endcaps->Fill(fbrem_mode_endcaps);
4082  if (passMiniAODSelection) { // Pt > 5.
4083  h1_ele_fbrem_mAOD_endcaps->Fill(fbrem_mode_endcaps);
4084  }
4085  }
4086 
4087  double superclusterfbrem_mode = bestGsfElectron.superClusterFbrem();
4088  h1_ele_superclusterfbrem->Fill(superclusterfbrem_mode);
4089 
4090  if (bestGsfElectron.isEB()) {
4091  double superclusterfbrem_mode_barrel = bestGsfElectron.superClusterFbrem();
4092  h1_ele_superclusterfbrem_barrel->Fill(superclusterfbrem_mode_barrel);
4093  }
4094 
4095  if (bestGsfElectron.isEE()) {
4096  double superclusterfbrem_mode_endcaps = bestGsfElectron.superClusterFbrem();
4097  h1_ele_superclusterfbrem_endcaps->Fill(superclusterfbrem_mode_endcaps);
4098  }
4099 
4100  p1_ele_fbremVsEta_mode->Fill(bestGsfElectron.eta(), fbrem_mode);
4101 
4102  if (!readAOD_) // track extra does not exist in AOD
4103  {
4104  double fbrem_mean =
4105  1. - bestGsfElectron.gsfTrack()->outerMomentum().R() / bestGsfElectron.gsfTrack()->innerMomentum().R();
4106  p1_ele_fbremVsEta_mean->Fill(bestGsfElectron.eta(), fbrem_mean);
4107  }
4108 
4109  //
4110 
4111  if (bestGsfElectron.classification() == GsfElectron::GOLDEN)
4112  h2_ele_PinVsPoutGolden_mode->Fill(bestGsfElectron.trackMomentumOut().R(),
4113  bestGsfElectron.trackMomentumAtVtx().R());
4114  if (bestGsfElectron.classification() == GsfElectron::SHOWERING)
4115  h2_ele_PinVsPoutShowering_mode->Fill(bestGsfElectron.trackMomentumOut().R(),
4116  bestGsfElectron.trackMomentumAtVtx().R());
4117  if (!readAOD_) // track extra not available in AOD
4118  {
4119  if (bestGsfElectron.classification() == GsfElectron::GOLDEN)
4120  h2_ele_PinVsPoutGolden_mean->Fill(bestGsfElectron.gsfTrack()->outerMomentum().R(),
4121  bestGsfElectron.gsfTrack()->innerMomentum().R());
4122  if (bestGsfElectron.classification() == GsfElectron::SHOWERING)
4123  h2_ele_PinVsPoutShowering_mean->Fill(bestGsfElectron.gsfTrack()->outerMomentum().R(),
4124  bestGsfElectron.gsfTrack()->innerMomentum().R());
4125  }
4126  if (bestGsfElectron.classification() == GsfElectron::GOLDEN)
4127  h2_ele_PtinVsPtoutGolden_mode->Fill(bestGsfElectron.trackMomentumOut().Rho(),
4128  bestGsfElectron.trackMomentumAtVtx().Rho());
4129  if (bestGsfElectron.classification() == GsfElectron::SHOWERING)
4130  h2_ele_PtinVsPtoutShowering_mode->Fill(bestGsfElectron.trackMomentumOut().Rho(),
4131  bestGsfElectron.trackMomentumAtVtx().Rho());
4132  if (!readAOD_) // track extra not available in AOD
4133  {
4134  if (bestGsfElectron.classification() == GsfElectron::GOLDEN)
4135  h2_ele_PtinVsPtoutGolden_mean->Fill(bestGsfElectron.gsfTrack()->outerMomentum().Rho(),
4136  bestGsfElectron.gsfTrack()->innerMomentum().Rho());
4137  if (bestGsfElectron.classification() == GsfElectron::SHOWERING)
4138  h2_ele_PtinVsPtoutShowering_mean->Fill(bestGsfElectron.gsfTrack()->outerMomentum().Rho(),
4139  bestGsfElectron.gsfTrack()->innerMomentum().Rho());
4140  }
4141 
4142  // provenance and pflow data
4143  h1_ele_mva->Fill(bestGsfElectron.mva_e_pi());
4144  if (bestGsfElectron.isEB())
4145  h1_ele_mva_barrel->Fill(bestGsfElectron.mva_e_pi());
4146  if (bestGsfElectron.isEE())
4147  h1_ele_mva_endcaps->Fill(bestGsfElectron.mva_e_pi());
4148  h1_ele_mva_isolated->Fill(bestGsfElectron.mva_Isolated());
4149  if (bestGsfElectron.isEB())
4150  h1_ele_mva_barrel_isolated->Fill(bestGsfElectron.mva_Isolated());
4151  if (bestGsfElectron.isEE())
4152  h1_ele_mva_endcaps_isolated->Fill(bestGsfElectron.mva_Isolated());
4153  if (bestGsfElectron.ecalDrivenSeed())
4154  h1_ele_provenance->Fill(1.);
4155  if (bestGsfElectron.trackerDrivenSeed())
4156  h1_ele_provenance->Fill(-1.);
4157  if (bestGsfElectron.trackerDrivenSeed() || bestGsfElectron.ecalDrivenSeed())
4158  h1_ele_provenance->Fill(0.);
4159  if (bestGsfElectron.trackerDrivenSeed() && !bestGsfElectron.ecalDrivenSeed())
4160  h1_ele_provenance->Fill(-2.);
4161  if (!bestGsfElectron.trackerDrivenSeed() && bestGsfElectron.ecalDrivenSeed())
4162  h1_ele_provenance->Fill(2.);
4163 
4164  if (bestGsfElectron.ecalDrivenSeed() && bestGsfElectron.isEB())
4166  if (bestGsfElectron.trackerDrivenSeed() && bestGsfElectron.isEB())
4168  if ((bestGsfElectron.trackerDrivenSeed() || bestGsfElectron.ecalDrivenSeed()) && bestGsfElectron.isEB())
4170  if (bestGsfElectron.trackerDrivenSeed() && !bestGsfElectron.ecalDrivenSeed() && bestGsfElectron.isEB())
4172  if (!bestGsfElectron.trackerDrivenSeed() && bestGsfElectron.ecalDrivenSeed() && bestGsfElectron.isEB())
4174  if (bestGsfElectron.ecalDrivenSeed() && bestGsfElectron.isEE())
4176  if (bestGsfElectron.trackerDrivenSeed() && bestGsfElectron.isEE())
4178  if ((bestGsfElectron.trackerDrivenSeed() || bestGsfElectron.ecalDrivenSeed()) && bestGsfElectron.isEE())
4180  if (bestGsfElectron.trackerDrivenSeed() && !bestGsfElectron.ecalDrivenSeed() && bestGsfElectron.isEE())
4182  if (!bestGsfElectron.trackerDrivenSeed() && bestGsfElectron.ecalDrivenSeed() && bestGsfElectron.isEE())
4184 
4185  if (bestGsfElectron.isGsfCtfScPixChargeConsistent())
4186  h1_ele_chargeInfo->Fill(-1.0);
4187  if (bestGsfElectron.isGsfScPixChargeConsistent())
4188  h1_ele_chargeInfo->Fill(0.);
4189  if (bestGsfElectron.isGsfCtfChargeConsistent())
4190  h1_ele_chargeInfo->Fill(1.0);
4191 
4192  // Pflow isolation
4194  if (bestGsfElectron.isEB())
4196  if (bestGsfElectron.isEE())
4198 
4200  if (bestGsfElectron.isEB())
4202  if (bestGsfElectron.isEE())
4204 
4206  if (bestGsfElectron.isEB())
4208  if (bestGsfElectron.isEE())
4210 
4211  // -- pflow over pT
4213  bestGsfElectron.pt());
4214  if (bestGsfElectron.isEB())
4216  bestGsfElectron.pt());
4217  if (bestGsfElectron.isEE())
4219  bestGsfElectron.pt());
4220  if (passMiniAODSelection) { // Pt > 5.
4222  bestGsfElectron.pt());
4223  if (bestGsfElectron.isEB())
4225  bestGsfElectron.pt());
4226  if (bestGsfElectron.isEE())
4228  bestGsfElectron.pt());
4229  }
4230 
4232  bestGsfElectron.pt());
4233  if (bestGsfElectron.isEB())
4235  bestGsfElectron.pt());
4236  if (bestGsfElectron.isEE())
4238  bestGsfElectron.pt());
4239  if (passMiniAODSelection) { // Pt > 5.
4241  bestGsfElectron.pt());
4242  if (bestGsfElectron.isEB())
4244  bestGsfElectron.pt());
4245  if (bestGsfElectron.isEE())
4247  bestGsfElectron.pt());
4248  }
4249 
4250  h1_ele_photonRelativeIso->Fill(bestGsfElectron.pfIsolationVariables().sumPhotonEt / bestGsfElectron.pt());
4251  if (bestGsfElectron.isEB())
4252  h1_ele_photonRelativeIso_barrel->Fill(bestGsfElectron.pfIsolationVariables().sumPhotonEt / bestGsfElectron.pt());
4253  if (bestGsfElectron.isEE())
4254  h1_ele_photonRelativeIso_endcaps->Fill(bestGsfElectron.pfIsolationVariables().sumPhotonEt / bestGsfElectron.pt());
4255  if (passMiniAODSelection) { // Pt > 5.
4256  h1_ele_photonRelativeIso_mAOD->Fill(bestGsfElectron.pfIsolationVariables().sumPhotonEt / bestGsfElectron.pt());
4257  if (bestGsfElectron.isEB())
4259  bestGsfElectron.pt());
4260  if (bestGsfElectron.isEE())
4262  bestGsfElectron.pt());
4263  }
4264 
4265  // isolation
4266  h1_ele_tkSumPt_dr03->Fill(bestGsfElectron.dr03TkSumPt());
4267  if (bestGsfElectron.isEB())
4268  h1_ele_tkSumPt_dr03_barrel->Fill(bestGsfElectron.dr03TkSumPt());
4269  if (bestGsfElectron.isEE())
4270  h1_ele_tkSumPt_dr03_endcaps->Fill(bestGsfElectron.dr03TkSumPt());
4272  if (bestGsfElectron.isEB())
4274  if (bestGsfElectron.isEE())
4277  if (bestGsfElectron.isEB())
4279  if (bestGsfElectron.isEE())
4282  if (bestGsfElectron.isEB())
4284  if (bestGsfElectron.isEE())
4287  if (bestGsfElectron.isEB())
4289  if (bestGsfElectron.isEE())
4292  if (bestGsfElectron.isEB())
4294  if (bestGsfElectron.isEE())
4296  h1_ele_tkSumPt_dr04->Fill(bestGsfElectron.dr04TkSumPt());
4297  if (bestGsfElectron.isEB())
4298  h1_ele_tkSumPt_dr04_barrel->Fill(bestGsfElectron.dr04TkSumPt());
4299  if (bestGsfElectron.isEE())
4300  h1_ele_tkSumPt_dr04_endcaps->Fill(bestGsfElectron.dr04TkSumPt());
4302  if (bestGsfElectron.isEB())
4304  if (bestGsfElectron.isEE())
4307  if (bestGsfElectron.isEB())
4309  if (bestGsfElectron.isEE())
4312  if (bestGsfElectron.isEB())
4314  if (bestGsfElectron.isEE())
4316 
4318  if (bestGsfElectron.isEB())
4320  if (bestGsfElectron.isEE())
4323  if (bestGsfElectron.isEB())
4325  if (bestGsfElectron.isEE())
4327 
4329  if (bestGsfElectron.isEB())
4331  if (bestGsfElectron.isEE())
4334  if (bestGsfElectron.isEB())
4336  if (bestGsfElectron.isEE())
4338 
4339  // conversion rejection
4340  int flags = bestGsfElectron.convFlags();
4341  if (flags == -9999) {
4342  flags = -1;
4343  }
4345  if (flags >= 0.) {
4346  h1_ele_convDist->Fill(bestGsfElectron.convDist());
4347  h1_ele_convDcot->Fill(bestGsfElectron.convDcot());
4348  h1_ele_convRadius->Fill(bestGsfElectron.convRadius());
4349  }
4350 
4351  } // loop over mc particle
4352  h1_mcNum->Fill(mcNum);
4353  h1_eleNum->Fill(eleNum);
4354 }
ElectronMcSignalValidator::h1_ele_eta_bbrem
MonitorElement * h1_ele_eta_bbrem
Definition: ElectronMcSignalValidator.h:456
reco::GsfElectron::deltaEtaSeedClusterTrackAtCalo
float deltaEtaSeedClusterTrackAtCalo() const
Definition: GsfElectron.h:234
reco::GsfElectron::convFlags
int convFlags() const
Definition: GsfElectron.h:588
ElectronMcSignalValidator::p2D_nbin
int p2D_nbin
Definition: ElectronMcSignalValidator.h:72
ElectronMcSignalValidator::mcTruthCollection_
edm::EDGetTokenT< reco::GenParticleCollection > mcTruthCollection_
Definition: ElectronMcSignalValidator.h:33
ElectronMcSignalValidator::h1_ele_tkSumPt_dr04_endcaps
MonitorElement * h1_ele_tkSumPt_dr04_endcaps
Definition: ElectronMcSignalValidator.h:552
ElectronMcSignalValidator::h2_ele_dPhiClVsPhi_propOut
MonitorElement * h2_ele_dPhiClVsPhi_propOut
Definition: ElectronMcSignalValidator.h:420
reco::GsfElectron::convDcot
float convDcot() const
Definition: GsfElectron.h:591
ElectronMcSignalValidator::h1_ele_HoE
MonitorElement * h1_ele_HoE
Definition: ElectronMcSignalValidator.h:459
ElectronMcSignalValidator::p1_ele_fbremVsEta_mode
MonitorElement * p1_ele_fbremVsEta_mode
Definition: ElectronMcSignalValidator.h:482
ElectronMcSignalValidator::h1_ele_hcalTowerSumEtBc_dr03_depth2_barrel
MonitorElement * h1_ele_hcalTowerSumEtBc_dr03_depth2_barrel
Definition: ElectronMcSignalValidator.h:574
ElectronMcSignalValidator::h1_ele_PhiMnPhiTrue
MonitorElement * h1_ele_PhiMnPhiTrue
Definition: ElectronMcSignalValidator.h:344
ElectronMcSignalValidator::eop_nbin
int eop_nbin
Definition: ElectronMcSignalValidator.h:104
ElectronMcSignalValidator::h2_ele_outerPtVsEta_mode
MonitorElement * h2_ele_outerPtVsEta_mode
Definition: ElectronMcSignalValidator.h:364
ElectronMcSignalValidator::h1_ele_hcalTowerSumEtBc_dr03_depth1_endcaps
MonitorElement * h1_ele_hcalTowerSumEtBc_dr03_depth1_endcaps
Definition: ElectronMcSignalValidator.h:572
ElectronMcSignalValidator::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: ElectronMcSignalValidator.cc:579
ElectronMcSignalValidator::h1_mc_AbsEta_matched_qmisid
MonitorElement * h1_mc_AbsEta_matched_qmisid
Definition: ElectronMcSignalValidator.h:168
ElectronMcSignalValidator::h1_ele_hcalTowerSumEtBc_dr04_depth1_endcaps
MonitorElement * h1_ele_hcalTowerSumEtBc_dr04_depth1_endcaps
Definition: ElectronMcSignalValidator.h:578
ElectronMcSignalValidator::h1_ele_convDist
MonitorElement * h1_ele_convDist
Definition: ElectronMcSignalValidator.h:586
reco::GsfElectron::isEE
bool isEE() const
Definition: GsfElectron.h:337
reco::GsfElectron::dr04EcalRecHitSumEt
float dr04EcalRecHitSumEt() const
Definition: GsfElectron.h:543
ElectronMcSignalValidator::h1_ele_chargeInfo
MonitorElement * h1_ele_chargeInfo
Definition: ElectronMcSignalValidator.h:172
ElectronMcSignalValidator::h1_ele_dEtaSc_propVtx_all_barrel
MonitorElement * h1_ele_dEtaSc_propVtx_all_barrel
Definition: ElectronMcSignalValidator.h:187
ElectronMcSignalValidator::core_max
double core_max
Definition: ElectronMcSignalValidator.h:129
ElectronMcSignalValidator::h1_ele_PoPtrue_golden_barrel
MonitorElement * h1_ele_PoPtrue_golden_barrel
Definition: ElectronMcSignalValidator.h:330
ElectronMcSignalValidator::h1_ele_vertexAbsEta
MonitorElement * h1_ele_vertexAbsEta
Definition: ElectronMcSignalValidator.h:233
ElectronMcSignalValidator::h1_scl_E1x5_barrel
MonitorElement * h1_scl_E1x5_barrel
Definition: ElectronMcSignalValidator.h:288
ElectronMcSignalValidator::h2_ele_vertexPtVsEta
MonitorElement * h2_ele_vertexPtVsEta
Definition: ElectronMcSignalValidator.h:228
ElectronMcSignalValidator::h1_scl_SigEtaEta_endcaps
MonitorElement * h1_scl_SigEtaEta_endcaps
Definition: ElectronMcSignalValidator.h:277
Handle.h
ElectronMcSignalValidator::h1_ele_EoP_endcaps
MonitorElement * h1_ele_EoP_endcaps
Definition: ElectronMcSignalValidator.h:369
ElectronMcSignalValidator::h2_mc_PtEta_matched
MonitorElement * h2_mc_PtEta_matched
Definition: ElectronMcSignalValidator.h:165
ElectronMcSignalValidator::hoe_max
double hoe_max
Definition: ElectronMcSignalValidator.h:113
ElectronDqmAnalyzerBase::setBookEfficiencyFlag
void setBookEfficiencyFlag(const bool &)
Definition: ElectronDqmAnalyzerBase.cc:34
ElectronMcSignalValidator::h1_scl_EoEtrue_endcaps_ringgap
MonitorElement * h1_scl_EoEtrue_endcaps_ringgap
Definition: ElectronMcSignalValidator.h:256
ElectronMcSignalValidator::h1_ele_EeleOPout_all_barrel
MonitorElement * h1_ele_EeleOPout_all_barrel
Definition: ElectronMcSignalValidator.h:184
mps_fire.i
i
Definition: mps_fire.py:428
ElectronMcSignalValidator::h1_ele_dPhiCl_propOut_all
MonitorElement * h1_ele_dPhiCl_propOut_all
Definition: ElectronMcSignalValidator.h:195
reco::GsfElectron::dr03TkSumPt
float dr03TkSumPt() const
Definition: GsfElectron.h:529
ElectronMcSignalValidator::h1_ele_photonRelativeIso_mAOD_endcaps
MonitorElement * h1_ele_photonRelativeIso_mAOD_endcaps
Definition: ElectronMcSignalValidator.h:536
ElectronMcSignalValidator::h1_scl_EoEtrueGolden_endcaps
MonitorElement * h1_scl_EoEtrueGolden_endcaps
Definition: ElectronMcSignalValidator.h:494
reco::GsfElectron::hcalDepth1OverEcalBc
float hcalDepth1OverEcalBc() const
Definition: GsfElectron.h:431
ElectronMcSignalValidator::h1_ele_hcalTowerSumEt_dr04_depth1_endcaps
MonitorElement * h1_ele_hcalTowerSumEt_dr04_depth1_endcaps
Definition: ElectronMcSignalValidator.h:558
reco::GsfElectron::isEB
bool isEB() const
Definition: GsfElectron.h:336
ElectronMcSignalValidator::h2_ele_dPhiClVsPt_propOut
MonitorElement * h2_ele_dPhiClVsPt_propOut
Definition: ElectronMcSignalValidator.h:421
reco::GsfElectron::scE1x5
float scE1x5() const
Definition: GsfElectron.h:473
ElectronMcSignalValidator::h1_ele_chargedHadronRelativeIso_endcaps
MonitorElement * h1_ele_chargedHadronRelativeIso_endcaps
Definition: ElectronMcSignalValidator.h:521
ElectronMcSignalValidator::h2_ele_EtaMnEtaTrueVsPhi
MonitorElement * h2_ele_EtaMnEtaTrueVsPhi
Definition: ElectronMcSignalValidator.h:342
ElectronDqmAnalyzerBase::bookH2withSumw2
MonitorElement * bookH2withSumw2(DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="COLZ")
Definition: ElectronDqmAnalyzerBase.cc:140
reco::GsfElectron::gsfTrack
GsfTrackRef gsfTrack() const override
reference to a GsfTrack
Definition: GsfElectron.h:164
ElectronMcSignalValidator::h2_ele_EseedOPVsE
MonitorElement * h2_ele_EseedOPVsE
Definition: ElectronMcSignalValidator.h:378
MessageLogger.h
genParticles2HepMC_cfi.genParticles
genParticles
Definition: genParticles2HepMC_cfi.py:4
reco::GsfElectron::trackMomentumOut
math::XYZVectorF trackMomentumOut() const
Definition: GsfElectron.h:278
ElectronMcSignalValidator::h1_ele_HoE_all_barrel
MonitorElement * h1_ele_HoE_all_barrel
Definition: ElectronMcSignalValidator.h:202
ElectronMcSignalValidator::h2_ele_EtaMnEtaTrueVsEta
MonitorElement * h2_ele_EtaMnEtaTrueVsEta
Definition: ElectronMcSignalValidator.h:341
ElectronMcSignalValidator::h1_ele_convFlags_all
MonitorElement * h1_ele_convFlags_all
Definition: ElectronMcSignalValidator.h:585
ElectronMcSignalValidator::h1_ele_dEtaSc_propVtx_mAOD_barrel
MonitorElement * h1_ele_dEtaSc_propVtx_mAOD_barrel
Definition: ElectronMcSignalValidator.h:396
ElectronMcSignalValidator::error_nbin
int error_nbin
Definition: ElectronMcSignalValidator.h:117
ElectronMcSignalValidator::h1_scl_EoEtrue_barrel_new
MonitorElement * h1_scl_EoEtrue_barrel_new
Definition: ElectronMcSignalValidator.h:257
ElectronMcSignalValidator::h1_ele_EoverP_all
MonitorElement * h1_ele_EoverP_all
Definition: ElectronMcSignalValidator.h:174
ElectronMcSignalValidator::h1_scl_Eta
MonitorElement * h1_scl_Eta
Definition: ElectronMcSignalValidator.h:268
ElectronMcSignalValidator::h2_ele_seed_drz2posVsPt
MonitorElement * h2_ele_seed_drz2posVsPt
Definition: ElectronMcSignalValidator.h:451
ElectronMcSignalValidator::h2_scl_EtaVsPhi
MonitorElement * h2_scl_EtaVsPhi
Definition: ElectronMcSignalValidator.h:267
ElectronMcSignalValidator::h2_ele_seed_drz2posVsEta
MonitorElement * h2_ele_seed_drz2posVsEta
Definition: ElectronMcSignalValidator.h:450
ElectronMcSignalValidator::h2_ele_foundHitsVsEta_mAOD
MonitorElement * h2_ele_foundHitsVsEta_mAOD
Definition: ElectronMcSignalValidator.h:308
ElectronMcSignalValidator::h1_ele_dEtaSc_propVtx_barrel
MonitorElement * h1_ele_dEtaSc_propVtx_barrel
Definition: ElectronMcSignalValidator.h:393
ElectronMcSignalValidator::h2_ele_lostHitsVsPt
MonitorElement * h2_ele_lostHitsVsPt
Definition: ElectronMcSignalValidator.h:316
ElectronMcSignalValidator::h1_scl_E1x5_endcaps
MonitorElement * h1_scl_E1x5_endcaps
Definition: ElectronMcSignalValidator.h:289
ElectronMcSignalValidator::h1_ele_foundHits_barrel
MonitorElement * h1_ele_foundHits_barrel
Definition: ElectronMcSignalValidator.h:305
ElectronMcSignalValidator::ele_max
double ele_max
Definition: ElectronMcSignalValidator.h:126
ElectronMcSignalValidator::isoFromDepsEcalReduced03Tag_
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsEcalReduced03Tag_
Definition: ElectronMcSignalValidator.h:46
ElectronMcSignalValidator::deltaR2_
double deltaR2_
Definition: ElectronMcSignalValidator.h:60
reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx
float deltaPhiSuperClusterTrackAtVtx() const
Definition: GsfElectron.h:236
ElectronMcSignalValidator::p1_ele_fbremVsEta_mean
MonitorElement * p1_ele_fbremVsEta_mean
Definition: ElectronMcSignalValidator.h:483
reco::GsfElectron::parentSuperCluster
virtual SuperClusterRef parentSuperCluster() const
Definition: GsfElectron.h:168
ElectronMcSignalValidator::h1_ele_dEtaCl_propOut
MonitorElement * h1_ele_dEtaCl_propOut
Definition: ElectronMcSignalValidator.h:407
ElectronMcSignalValidator::h1_scl_E2x5max_endcaps
MonitorElement * h1_scl_E2x5max_endcaps
Definition: ElectronMcSignalValidator.h:292
ElectronMcSignalValidator::h1_ele_hcalTowerSumEt_dr04_depth2
MonitorElement * h1_ele_hcalTowerSumEt_dr04_depth2
Definition: ElectronMcSignalValidator.h:559
ElectronMcSignalValidator::h2_ele_PtinVsPtoutGolden_mode
MonitorElement * h2_ele_PtinVsPtoutGolden_mode
Definition: ElectronMcSignalValidator.h:489
ElectronMcSignalValidator::opv_nbin
int opv_nbin
Definition: ElectronMcSignalValidator.h:121
ElectronMcSignalValidator::h1_mc_Pt
MonitorElement * h1_mc_Pt
Definition: ElectronMcSignalValidator.h:155
ElectronMcSignalValidator::h1_ele_mva
MonitorElement * h1_ele_mva
Definition: ElectronMcSignalValidator.h:498
ElectronMcSignalValidator::h2_ele_chi2VsPt
MonitorElement * h2_ele_chi2VsPt
Definition: ElectronMcSignalValidator.h:322
ElectronMcSignalValidator::h1_scl_EoEtrueShowering_endcaps
MonitorElement * h1_scl_EoEtrueShowering_endcaps
Definition: ElectronMcSignalValidator.h:496
reco::GsfElectron::isEERingGap
bool isEERingGap() const
Definition: GsfElectron.h:345
edm::Run
Definition: Run.h:45
ElectronDqmAnalyzerBase
Definition: ElectronDqmAnalyzerBase.h:19
ElectronMcSignalValidator::phi_nbin
int phi_nbin
Definition: ElectronMcSignalValidator.h:93
ElectronMcSignalValidator::h1_ele_outerPt
MonitorElement * h1_ele_outerPt
Definition: ElectronMcSignalValidator.h:362
ElectronMcSignalValidator::h1_ele_chargedHadronIso_barrel
MonitorElement * h1_ele_chargedHadronIso_barrel
Definition: ElectronMcSignalValidator.h:510
ElectronMcSignalValidator::h1_ele_vertexPt_all
MonitorElement * h1_ele_vertexPt_all
Definition: ElectronMcSignalValidator.h:206
edm::Ref::isNull
bool isNull() const
Checks for null.
Definition: Ref.h:235
ElectronMcSignalValidator::eta2D_nbin
int eta2D_nbin
Definition: ElectronMcSignalValidator.h:83
ElectronMcSignalValidator::eop_max
double eop_max
Definition: ElectronMcSignalValidator.h:106
reco::GsfElectron::dr04HcalDepth1TowerSumEt
float dr04HcalDepth1TowerSumEt() const
Definition: GsfElectron.h:544
ElectronMcSignalValidator::h1_ele_hcalTowerSumEtBc_dr03_depth2_endcaps
MonitorElement * h1_ele_hcalTowerSumEtBc_dr03_depth2_endcaps
Definition: ElectronMcSignalValidator.h:575
ElectronMcSignalValidator::h1_ele_EoverP_all_barrel
MonitorElement * h1_ele_EoverP_all_barrel
Definition: ElectronMcSignalValidator.h:175
ElectronMcSignalValidator::h1_scl_bcl_EtotoEtrue_barrel
MonitorElement * h1_scl_bcl_EtotoEtrue_barrel
Definition: ElectronMcSignalValidator.h:297
ElectronMcSignalValidator::h1_ele_neutralHadronIso_endcaps
MonitorElement * h1_ele_neutralHadronIso_endcaps
Definition: ElectronMcSignalValidator.h:514
ElectronMcSignalValidator::h1_ele_hcalTowerSumEt_dr03_depth2_endcaps
MonitorElement * h1_ele_hcalTowerSumEt_dr03_depth2_endcaps
Definition: ElectronMcSignalValidator.h:549
ElectronMcSignalValidator::h1_ele_Et
MonitorElement * h1_ele_Et
Definition: ElectronMcSignalValidator.h:227
ElectronMcSignalValidator::h1_ele_HoE_bc_barrel
MonitorElement * h1_ele_HoE_bc_barrel
Definition: ElectronMcSignalValidator.h:463
ElectronMcSignalValidator::h1_ele_outerPt_mode
MonitorElement * h1_ele_outerPt_mode
Definition: ElectronMcSignalValidator.h:363
ElectronMcSignalValidator::h2_ele_dEtaClVsPhi_propOut
MonitorElement * h2_ele_dEtaClVsPhi_propOut
Definition: ElectronMcSignalValidator.h:411
ElectronMcSignalValidator::h1_ele_neutralHadronRelativeIso_barrel
MonitorElement * h1_ele_neutralHadronRelativeIso_barrel
Definition: ElectronMcSignalValidator.h:523
ElectronMcSignalValidator::deta_nbin
int deta_nbin
Definition: ElectronMcSignalValidator.h:86
ElectronMcSignalValidator::h2_ele_dPhiScVsPt_propVtx
MonitorElement * h2_ele_dPhiScVsPt_propVtx
Definition: ElectronMcSignalValidator.h:406
ElectronMcSignalValidator::h1_ele_convRadius_all
MonitorElement * h1_ele_convRadius_all
Definition: ElectronMcSignalValidator.h:591
ElectronMcSignalValidator::h1_ele_charge
MonitorElement * h1_ele_charge
Definition: ElectronMcSignalValidator.h:220
ElectronMcSignalValidator::eta_nbin
int eta_nbin
Definition: ElectronMcSignalValidator.h:82
ElectronMcSignalValidator::h2_ele_PhiMnPhiTrueVsPt
MonitorElement * h2_ele_PhiMnPhiTrueVsPt
Definition: ElectronMcSignalValidator.h:350
ElectronMcSignalValidator::h2_ele_foundHitsVsPt
MonitorElement * h2_ele_foundHitsVsPt
Definition: ElectronMcSignalValidator.h:310
ElectronMcSignalValidator::h2_ele_outerPVsEta_mode
MonitorElement * h2_ele_outerPVsEta_mode
Definition: ElectronMcSignalValidator.h:361
ElectronMcSignalValidator::h1_ele_mva_barrel
MonitorElement * h1_ele_mva_barrel
Definition: ElectronMcSignalValidator.h:499
ElectronMcSignalValidator::h2_ele_dEtaScVsPhi_propVtx
MonitorElement * h2_ele_dEtaScVsPhi_propVtx
Definition: ElectronMcSignalValidator.h:399
ElectronMcSignalValidator::h1_ele_tkSumPt_dr03_barrel
MonitorElement * h1_ele_tkSumPt_dr03_barrel
Definition: ElectronMcSignalValidator.h:539
ElectronMcSignalValidator::h1_ele_seed_mask
MonitorElement * h1_ele_seed_mask
Definition: ElectronMcSignalValidator.h:436
ElectronMcSignalValidator::h2_ele_dEtaEleClVsPhi_propOut
MonitorElement * h2_ele_dEtaEleClVsPhi_propOut
Definition: ElectronMcSignalValidator.h:426
reco::GsfElectron::scE2x5Max
float scE2x5Max() const
Definition: GsfElectron.h:474
ElectronMcSignalValidator::h1_ele_PoPtrue_showering_endcaps
MonitorElement * h1_ele_PoPtrue_showering_endcaps
Definition: ElectronMcSignalValidator.h:333
ElectronMcSignalValidator::poptrue_nbin
int poptrue_nbin
Definition: ElectronMcSignalValidator.h:114
reco::GsfElectron::P4_COMBINATION
Definition: GsfElectron.h:769
reco::GsfElectron::isGsfCtfChargeConsistent
bool isGsfCtfChargeConsistent() const
Definition: GsfElectron.h:138
ElectronMcSignalValidator::h1_ele_HoE_mAOD_endcaps
MonitorElement * h1_ele_HoE_mAOD_endcaps
Definition: ElectronMcSignalValidator.h:471
ElectronMcSignalValidator::h2_ele_PhiMnPhiTrueVsPhi
MonitorElement * h2_ele_PhiMnPhiTrueVsPhi
Definition: ElectronMcSignalValidator.h:349
ElectronMcSignalValidator::h2_ele_HoEVsPhi
MonitorElement * h2_ele_HoEVsPhi
Definition: ElectronMcSignalValidator.h:467
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
ElectronMcSignalValidator::h1_ele_PtoPttrue
MonitorElement * h1_ele_PtoPttrue
Definition: ElectronMcSignalValidator.h:334
ElectronMcSignalValidator::h1_ele_dPhiSc_propVtx_all
MonitorElement * h1_ele_dPhiSc_propVtx_all
Definition: ElectronMcSignalValidator.h:189
ElectronMcSignalValidator::h1_ele_vertexX
MonitorElement * h1_ele_vertexX
Definition: ElectronMcSignalValidator.h:235
ElectronMcSignalValidator::h1_ele_HoE_barrel
MonitorElement * h1_ele_HoE_barrel
Definition: ElectronMcSignalValidator.h:461
ElectronMcSignalValidator::h1_ele_dPhiSc_propVtx_barrel
MonitorElement * h1_ele_dPhiSc_propVtx_barrel
Definition: ElectronMcSignalValidator.h:402
ElectronMcSignalValidator::h1_ele_hcalTowerSumEt_dr04_depth1
MonitorElement * h1_ele_hcalTowerSumEt_dr04_depth1
Definition: ElectronMcSignalValidator.h:556
ElectronMcSignalValidator::h1_ele_convDist_all
MonitorElement * h1_ele_convDist_all
Definition: ElectronMcSignalValidator.h:587
ElectronMcSignalValidator::h1_ele_ecalRecHitSumEt_dr04_endcaps
MonitorElement * h1_ele_ecalRecHitSumEt_dr04_endcaps
Definition: ElectronMcSignalValidator.h:555
edm::PtrVectorItr
Definition: PtrVector.h:51
reco::GsfElectron::p4Error
float p4Error(P4Kind kind) const
Definition: GsfElectron.cc:224
ElectronMcSignalValidator::lhits_nbin
int lhits_nbin
Definition: ElectronMcSignalValidator.h:80
ElectronMcSignalValidator::h1_ele_lostHits
MonitorElement * h1_ele_lostHits
Definition: ElectronMcSignalValidator.h:311
ElectronMcSignalValidator::h1_ele_hcalTowerSumEt_dr04_depth1_barrel
MonitorElement * h1_ele_hcalTowerSumEt_dr04_depth1_barrel
Definition: ElectronMcSignalValidator.h:557
ElectronMcSignalValidator::isoFromDepsEcalFull04Tag_
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsEcalFull04Tag_
Definition: ElectronMcSignalValidator.h:45
DQMStore.h
ElectronMcSignalValidator::h1_scl_EoEtrue_endcaps_new_deegap
MonitorElement * h1_scl_EoEtrue_endcaps_new_deegap
Definition: ElectronMcSignalValidator.h:262
ElectronMcSignalValidator::h1_ele_chargedHadronRelativeIso
MonitorElement * h1_ele_chargedHadronRelativeIso
Definition: ElectronMcSignalValidator.h:519
ElectronMcSignalValidator::h1_ele_hcalTowerSumEtBc_dr04_depth1
MonitorElement * h1_ele_hcalTowerSumEtBc_dr04_depth1
Definition: ElectronMcSignalValidator.h:576
ElectronMcSignalValidator::h1_recEleNum
MonitorElement * h1_recEleNum
Definition: ElectronMcSignalValidator.h:143
ElectronMcSignalValidator::h1_ele_PhiMnPhiTrue_endcaps
MonitorElement * h1_ele_PhiMnPhiTrue_endcaps
Definition: ElectronMcSignalValidator.h:346
ElectronMcSignalValidator::h1_ele_superclusterfbrem
MonitorElement * h1_ele_superclusterfbrem
Definition: ElectronMcSignalValidator.h:479
reco::GsfElectron::deltaPhiSeedClusterTrackAtCalo
float deltaPhiSeedClusterTrackAtCalo() const
Definition: GsfElectron.h:237
ElectronMcSignalValidator::h1_ele_EoP
MonitorElement * h1_ele_EoP
Definition: ElectronMcSignalValidator.h:367
ElectronMcSignalValidator::h1_scl_SigIEtaIEta_mAOD
MonitorElement * h1_scl_SigIEtaIEta_mAOD
Definition: ElectronMcSignalValidator.h:281
ElectronMcSignalValidator::h1_ele_hcalDepth2OverEcalBc_endcaps
MonitorElement * h1_ele_hcalDepth2OverEcalBc_endcaps
Definition: ElectronMcSignalValidator.h:568
ElectronMcSignalValidator::isoFromDepsHcal04Tag_
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsHcal04Tag_
Definition: ElectronMcSignalValidator.h:49
ElectronMcSignalValidator::h1_ele_dPhiCl_propOut
MonitorElement * h1_ele_dPhiCl_propOut
Definition: ElectronMcSignalValidator.h:413
EDAnalyzer.h
ElectronMcSignalValidator::h1_ele_superclusterfbrem_endcaps
MonitorElement * h1_ele_superclusterfbrem_endcaps
Definition: ElectronMcSignalValidator.h:481
ElectronMcSignalValidator::h1_ele_eta_golden
MonitorElement * h1_ele_eta_golden
Definition: ElectronMcSignalValidator.h:455
ElectronMcSignalValidator::h1_mc_Phi_matched_qmisid
MonitorElement * h1_mc_Phi_matched_qmisid
Definition: ElectronMcSignalValidator.h:170
ElectronMcSignalValidator::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: ElectronMcSignalValidator.cc:3271
ElectronDqmAnalyzerBase::bookH1withSumw2
MonitorElement * bookH1withSumw2(DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, const std::string &titleX="", const std::string &titleY="Events", Option_t *option="E1 P")
Definition: ElectronDqmAnalyzerBase.cc:83
ElectronMcSignalValidator::h2_ele_PinVsPoutShowering_mean
MonitorElement * h2_ele_PinVsPoutShowering_mean
Definition: ElectronMcSignalValidator.h:488
ElectronMcSignalValidator::h2_ele_E2mnE1vsMee_egeg_all
MonitorElement * h2_ele_E2mnE1vsMee_egeg_all
Definition: ElectronMcSignalValidator.h:218
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition: LeafCandidate.h:146
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
ElectronMcSignalValidator::ele_nbin
int ele_nbin
Definition: ElectronMcSignalValidator.h:124
ElectronUtilities.h
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
ElectronMcSignalValidator::h2_ele_seed_dphi2posVsEta
MonitorElement * h2_ele_seed_dphi2posVsEta
Definition: ElectronMcSignalValidator.h:444
ElectronMcSignalValidator::h1_ele_vertexZ
MonitorElement * h1_ele_vertexZ
Definition: ElectronMcSignalValidator.h:237
infinity
const double infinity
Definition: CSCChamberFitter.cc:10
ElectronMcSignalValidator::h1_ele_PinMnPout
MonitorElement * h1_ele_PinMnPout
Definition: ElectronMcSignalValidator.h:351
ElectronMcSignalValidator::h2_ele_ambiguousTracksVsEta
MonitorElement * h2_ele_ambiguousTracksVsEta
Definition: ElectronMcSignalValidator.h:301
ElectronMcSignalValidator::eop2D_nbin
int eop2D_nbin
Definition: ElectronMcSignalValidator.h:105
ElectronMcSignalValidator::h1_ele_classes
MonitorElement * h1_ele_classes
Definition: ElectronMcSignalValidator.h:453
ElectronMcSignalValidator::seed_nbin
int seed_nbin
Definition: ElectronMcSignalValidator.h:133
ElectronMcSignalValidator::h1_ele_mee_os_gg
MonitorElement * h1_ele_mee_os_gg
Definition: ElectronMcSignalValidator.h:213
ElectronMcSignalValidator::h1_ele_dPhiCl_propOut_all_endcaps
MonitorElement * h1_ele_dPhiCl_propOut_all_endcaps
Definition: ElectronMcSignalValidator.h:197
ElectronMcSignalValidator::h1_ele_fbrem_endcaps
MonitorElement * h1_ele_fbrem_endcaps
Definition: ElectronMcSignalValidator.h:475
ElectronMcSignalValidator::h1_scl_EoEtrue_endcaps_deegap
MonitorElement * h1_scl_EoEtrue_endcaps_deegap
Definition: ElectronMcSignalValidator.h:255
perp
T perp() const
Magnitude of transverse component.
Definition: Basic3DVectorLD.h:133
reco::Candidate::mother
virtual const Candidate * mother(size_type i=0) const =0
return pointer to mother
ElectronMcSignalValidator::h2_scl_EoEtrueVsrecOfflineVertices_endcaps
MonitorElement * h2_scl_EoEtrueVsrecOfflineVertices_endcaps
Definition: ElectronMcSignalValidator.h:150
ElectronMcSignalValidator::maxPt_
double maxPt_
Definition: ElectronMcSignalValidator.h:58
ElectronMcSignalValidator::h2_ele_vertexTIPVsPt
MonitorElement * h2_ele_vertexTIPVsPt
Definition: ElectronMcSignalValidator.h:241
ElectronMcSignalValidator::h2_ele_PhiMnPhiTrueVsEta
MonitorElement * h2_ele_PhiMnPhiTrueVsEta
Definition: ElectronMcSignalValidator.h:348
ElectronMcSignalValidator::h2_ele_dPhiEleClVsPhi_propOut
MonitorElement * h2_ele_dPhiEleClVsPhi_propOut
Definition: ElectronMcSignalValidator.h:432
ElectronMcSignalValidator::h1_ele_provenance
MonitorElement * h1_ele_provenance
Definition: ElectronMcSignalValidator.h:504
ElectronMcSignalValidator::h1_scl_SigIEtaIEta_mAOD_barrel
MonitorElement * h1_scl_SigIEtaIEta_mAOD_barrel
Definition: ElectronMcSignalValidator.h:282
electronIsolatorFromEffectiveArea_cfi.gsfElectrons
gsfElectrons
Definition: electronIsolatorFromEffectiveArea_cfi.py:4
edm::Handle
Definition: AssociativeIterator.h:50
ElectronMcSignalValidator::h1_ele_seed_mask_bpix
MonitorElement * h1_ele_seed_mask_bpix
Definition: ElectronMcSignalValidator.h:437
ElectronMcSignalValidator::h1_scl_bcl_EtotoEtrue
MonitorElement * h1_scl_bcl_EtotoEtrue
Definition: ElectronMcSignalValidator.h:296
reco::GsfElectron::fbrem
float fbrem() const
Definition: GsfElectron.h:734
ElectronMcSignalValidator::h1_ele_dPhiCl_propOut_barrel
MonitorElement * h1_ele_dPhiCl_propOut_barrel
Definition: ElectronMcSignalValidator.h:414
ElectronMcSignalValidator::h2_ele_vertexEtaVsPhi
MonitorElement * h2_ele_vertexEtaVsPhi
Definition: ElectronMcSignalValidator.h:232
ElectronMcSignalValidator::h1_mc_AbsEta_matched
MonitorElement * h1_mc_AbsEta_matched
Definition: ElectronMcSignalValidator.h:161
ElectronMcSignalValidator::h1_scl_SigIEtaIEta_mAOD_endcaps
MonitorElement * h1_scl_SigIEtaIEta_mAOD_endcaps
Definition: ElectronMcSignalValidator.h:283
ElectronMcSignalValidator::h1_ele_hcalTowerSumEt_dr03_depth1_barrel
MonitorElement * h1_ele_hcalTowerSumEt_dr03_depth1_barrel
Definition: ElectronMcSignalValidator.h:545
ElectronMcSignalValidator::h1_scl_E2x5max
MonitorElement * h1_scl_E2x5max
Definition: ElectronMcSignalValidator.h:290
ElectronMcSignalValidator::pteff_nbin
int pteff_nbin
Definition: ElectronMcSignalValidator.h:76
ElectronMcSignalValidator::electronCollection_
edm::EDGetTokenT< reco::GsfElectronCollection > electronCollection_
Definition: ElectronMcSignalValidator.h:34
ElectronMcSignalValidator::h1_scl_full5x5_sigmaIetaIeta_barrel
MonitorElement * h1_scl_full5x5_sigmaIetaIeta_barrel
Definition: ElectronMcSignalValidator.h:285
BasicClusterFwd.h
ElectronMcSignalValidator::h2_ele_PinMnPoutVsE_mode
MonitorElement * h2_ele_PinMnPoutVsE_mode
Definition: ElectronMcSignalValidator.h:356
ElectronMcSignalValidator::fhits_max
double fhits_max
Definition: ElectronMcSignalValidator.h:79
ElectronMcSignalValidator::h1_ele_EseedOP_all
MonitorElement * h1_ele_EseedOP_all
Definition: ElectronMcSignalValidator.h:177
ElectronMcSignalValidator::h1_ele_EeleOPout_barrel
MonitorElement * h1_ele_EeleOPout_barrel
Definition: ElectronMcSignalValidator.h:386
ElectronSeedFwd.h
edm::Ref
Definition: AssociativeIterator.h:58
reco::GsfElectron::mva_e_pi
float mva_e_pi() const
Definition: GsfElectron.h:673
ElectronMcSignalValidator::h1_ele_chargedHadronRelativeIso_mAOD
MonitorElement * h1_ele_chargedHadronRelativeIso_mAOD
Definition: ElectronMcSignalValidator.h:528
ElectronMcSignalValidator::isoFromDepsTk03Tag_
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsTk03Tag_
Definition: ElectronMcSignalValidator.h:42
ElectronMcSignalValidator::h1_ele_combinedP4Error
MonitorElement * h1_ele_combinedP4Error
Definition: ElectronMcSignalValidator.h:245
ElectronMcSignalValidator::matchingMotherIDs_
std::vector< int > matchingMotherIDs_
Definition: ElectronMcSignalValidator.h:62
ElectronMcSignalValidator::h1_scl_EoEtrue_endcaps
MonitorElement * h1_scl_EoEtrue_endcaps
Definition: ElectronMcSignalValidator.h:251
ElectronMcSignalValidator::h1_ele_hcalDepth1OverEcalBc_endcaps
MonitorElement * h1_ele_hcalDepth1OverEcalBc_endcaps
Definition: ElectronMcSignalValidator.h:565
GenParticle.h
ElectronMcSignalValidator::h1_ele_EtaMnEtaTrue_barrel
MonitorElement * h1_ele_EtaMnEtaTrue_barrel
Definition: ElectronMcSignalValidator.h:339
ElectronMcSignalValidator::h1_ele_EoverP_all_endcaps
MonitorElement * h1_ele_EoverP_all_endcaps
Definition: ElectronMcSignalValidator.h:176
ElectronMcSignalValidator::h2_ele_EoPoutVsPhi
MonitorElement * h2_ele_EoPoutVsPhi
Definition: ElectronMcSignalValidator.h:383
ElectronMcSignalValidator::h1_ele_chi2_endcaps
MonitorElement * h1_ele_chi2_endcaps
Definition: ElectronMcSignalValidator.h:319
ElectronMcSignalValidator::h2_ele_PinVsPoutGolden_mean
MonitorElement * h2_ele_PinVsPoutGolden_mean
Definition: ElectronMcSignalValidator.h:487
ElectronMcSignalValidator::h1_scl_EoEtrue_barrel_new_phigap
MonitorElement * h1_scl_EoEtrue_barrel_new_phigap
Definition: ElectronMcSignalValidator.h:260
ElectronMcSignalValidator::readAOD_
bool readAOD_
Definition: ElectronMcSignalValidator.h:40
ElectronMcSignalValidator::h1_ele_mee_os_gb
MonitorElement * h1_ele_mee_os_gb
Definition: ElectronMcSignalValidator.h:214
reco::GsfElectron::mva_Isolated
float mva_Isolated() const
Definition: GsfElectron.h:672
ElectronMcSignalValidator::h2_ele_vertexTIPVsEta
MonitorElement * h2_ele_vertexTIPVsEta
Definition: ElectronMcSignalValidator.h:239
ElectronMcSignalValidator::h1_scl_EoEtrue_endcaps_new_ringgap
MonitorElement * h1_scl_EoEtrue_endcaps_new_ringgap
Definition: ElectronMcSignalValidator.h:263
reco::GsfElectron::isGsfCtfScPixChargeConsistent
bool isGsfCtfScPixChargeConsistent() const
Definition: GsfElectron.h:136
ElectronMcSignalValidator::h1_ele_hcalTowerSumEtBc_dr04_depth2_barrel
MonitorElement * h1_ele_hcalTowerSumEtBc_dr04_depth2_barrel
Definition: ElectronMcSignalValidator.h:580
fileCollector.seed
seed
Definition: fileCollector.py:127
ElectronMcSignalValidator::h1_ele_EseedOP_all_barrel
MonitorElement * h1_ele_EseedOP_all_barrel
Definition: ElectronMcSignalValidator.h:178
ElectronMcSignalValidator::h2_ele_HoEVsEta
MonitorElement * h2_ele_HoEVsEta
Definition: ElectronMcSignalValidator.h:466
ElectronMcSignalValidator::h1_ele_EeleOPout_all
MonitorElement * h1_ele_EeleOPout_all
Definition: ElectronMcSignalValidator.h:183
ElectronMcSignalValidator::outputFile_
std::string outputFile_
Definition: ElectronMcSignalValidator.h:64
ElectronMcSignalValidator::h1_scl_SigIEtaIEta
MonitorElement * h1_scl_SigIEtaIEta
Definition: ElectronMcSignalValidator.h:278
ElectronMcSignalValidator::h1_ele_neutralHadronRelativeIso_mAOD
MonitorElement * h1_ele_neutralHadronRelativeIso_mAOD
Definition: ElectronMcSignalValidator.h:531
ElectronMcSignalValidator::poptrue_max
double poptrue_max
Definition: ElectronMcSignalValidator.h:116
ElectronMcSignalValidator::beamSpotTag_
edm::EDGetTokenT< reco::BeamSpot > beamSpotTag_
Definition: ElectronMcSignalValidator.h:39
ElectronMcSignalValidator::h1_scl_SigIEtaIEta_endcaps
MonitorElement * h1_scl_SigIEtaIEta_endcaps
Definition: ElectronMcSignalValidator.h:280
ElectronMcSignalValidator::h1_mc_Z
MonitorElement * h1_mc_Z
Definition: ElectronMcSignalValidator.h:157
ElectronMcSignalValidator::h1_ele_dEtaCl_propOut_all
MonitorElement * h1_ele_dEtaCl_propOut_all
Definition: ElectronMcSignalValidator.h:192
ElectronMcSignalValidator::phi_max
double phi_max
Definition: ElectronMcSignalValidator.h:96
MakerMacros.h
reco::GsfElectron::PflowIsolationVariables::sumPhotonEt
float sumPhotonEt
sum pt of PF photons // old float photonIso ;
Definition: GsfElectron.h:610
ElectronMcSignalValidator::h1_ele_dEtaCl_propOut_endcaps
MonitorElement * h1_ele_dEtaCl_propOut_endcaps
Definition: ElectronMcSignalValidator.h:409
EleRelPoint
Definition: ElectronUtilities.h:25
reco::GsfElectron::ambiguousGsfTracksSize
GsfTrackRefVector::size_type ambiguousGsfTracksSize() const
Definition: GsfElectron.h:690
ElectronMcSignalValidator::h1_scl_EoEtrueGolden_barrel
MonitorElement * h1_scl_EoEtrueGolden_barrel
Definition: ElectronMcSignalValidator.h:493
ElectronMcSignalValidator::mee_min
double mee_min
Definition: ElectronMcSignalValidator.h:109
ElectronMcSignalValidator::h2_ele_EseedOPVsEta
MonitorElement * h2_ele_EseedOPVsEta
Definition: ElectronMcSignalValidator.h:376
ElectronMcSignalValidator::h1_ele_dPhiEleCl_propOut_endcaps
MonitorElement * h1_ele_dPhiEleCl_propOut_endcaps
Definition: ElectronMcSignalValidator.h:430
ElectronMcSignalValidator::isoFromDepsTk04Tag_
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsTk04Tag_
Definition: ElectronMcSignalValidator.h:43
ElectronMcSignalValidator::h1_ele_chargedHadronRelativeIso_mAOD_endcaps
MonitorElement * h1_ele_chargedHadronRelativeIso_mAOD_endcaps
Definition: ElectronMcSignalValidator.h:530
trigger::size_type
uint16_t size_type
Definition: TriggerTypeDefs.h:18
ElectronMcSignalValidator::h1_ele_mee_os_bb
MonitorElement * h1_ele_mee_os_bb
Definition: ElectronMcSignalValidator.h:215
ElectronMcSignalValidator::h1_ele_hcalTowerSumEtBc_dr04_depth2_endcaps
MonitorElement * h1_ele_hcalTowerSumEtBc_dr04_depth2_endcaps
Definition: ElectronMcSignalValidator.h:581
reco::GsfElectron::dr04HcalDepth1TowerSumEtBc
float dr04HcalDepth1TowerSumEtBc() const
Definition: GsfElectron.h:547
ElectronMcSignalValidator::h1_ele_dPhiCl_propOut_mAOD_barrel
MonitorElement * h1_ele_dPhiCl_propOut_mAOD_barrel
Definition: ElectronMcSignalValidator.h:417
ElectronMcSignalValidator::h1_ele_PoPtrue_endcaps
MonitorElement * h1_ele_PoPtrue_endcaps
Definition: ElectronMcSignalValidator.h:326
ElectronMcSignalValidator::h2_ele_foundHitsVsEta
MonitorElement * h2_ele_foundHitsVsEta
Definition: ElectronMcSignalValidator.h:307
BeamSpot.h
ElectronMcSignalValidator::h1_scl_En
MonitorElement * h1_scl_En
Definition: ElectronMcSignalValidator.h:249
ElectronMcSignalValidator::h1_ele_dEtaSc_propVtx_mAOD
MonitorElement * h1_ele_dEtaSc_propVtx_mAOD
Definition: ElectronMcSignalValidator.h:395
ElectronMcSignalValidator::h1_ele_dPhiSc_propVtx_all_barrel
MonitorElement * h1_ele_dPhiSc_propVtx_all_barrel
Definition: ElectronMcSignalValidator.h:190
ElectronMcSignalValidator::h1_mc_Z_matched
MonitorElement * h1_mc_Z_matched
Definition: ElectronMcSignalValidator.h:164
ElectronMcSignalValidator::h2_ele_PoPtrueVsPt
MonitorElement * h2_ele_PoPtrueVsPt
Definition: ElectronMcSignalValidator.h:329
ElectronMcSignalValidator::h1_ele_dPhiCl_propOut_mAOD_endcaps
MonitorElement * h1_ele_dPhiCl_propOut_mAOD_endcaps
Definition: ElectronMcSignalValidator.h:418
ElectronMcSignalValidator::maxAbsEta_
double maxAbsEta_
Definition: ElectronMcSignalValidator.h:59
reco::LeafCandidate::py
double py() const final
y coordinate of momentum vector
Definition: LeafCandidate.h:142
ElectronMcSignalValidator::h2_ele_PinMnPoutVsChi2_mode
MonitorElement * h2_ele_PinMnPoutVsChi2_mode
Definition: ElectronMcSignalValidator.h:357
ElectronMcSignalValidator::h1_scl_ESFrac_endcaps
MonitorElement * h1_scl_ESFrac_endcaps
Definition: ElectronMcSignalValidator.h:271
ElectronMcSignalValidator::h1_scl_EoEtrueShowering_barrel
MonitorElement * h1_scl_EoEtrueShowering_barrel
Definition: ElectronMcSignalValidator.h:495
ElectronMcSignalValidator::pt_max
double pt_max
Definition: ElectronMcSignalValidator.h:77
Service.h
ElectronMcSignalValidator::h1_ele_seed_subdet2
MonitorElement * h1_ele_seed_subdet2
Definition: ElectronMcSignalValidator.h:435
ElectronMcSignalValidator::h1_ele_foundHits
MonitorElement * h1_ele_foundHits
Definition: ElectronMcSignalValidator.h:304
ElectronMcSignalValidator::h1_ele_hcalDepth2OverEcalBc
MonitorElement * h1_ele_hcalDepth2OverEcalBc
Definition: ElectronMcSignalValidator.h:566
ElectronMcSignalValidator::h1_ele_EoPout_endcaps
MonitorElement * h1_ele_EoPout_endcaps
Definition: ElectronMcSignalValidator.h:381
ElectronMcSignalValidator::h1_recCoreNum
MonitorElement * h1_recCoreNum
Definition: ElectronMcSignalValidator.h:144
ElectronMcSignalValidator::h1_ele_mva_barrel_isolated
MonitorElement * h1_ele_mva_barrel_isolated
Definition: ElectronMcSignalValidator.h:502
ElectronMcSignalValidator::h1_mc_Eta_matched
MonitorElement * h1_mc_Eta_matched
Definition: ElectronMcSignalValidator.h:160
ElectronMcSignalValidator::h1_ele_fbrem_mAOD_barrel
MonitorElement * h1_ele_fbrem_mAOD_barrel
Definition: ElectronMcSignalValidator.h:477
ElectronMcSignalValidator::h1_ele_hcalTowerSumEt_dr03_depth1
MonitorElement * h1_ele_hcalTowerSumEt_dr03_depth1
Definition: ElectronMcSignalValidator.h:544
reco::GsfElectron::dr04HcalDepth2TowerSumEtBc
float dr04HcalDepth2TowerSumEtBc() const
Definition: GsfElectron.h:548
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
ElectronMcSignalValidator::h1_ele_dPhiCl_propOut_mAOD
MonitorElement * h1_ele_dPhiCl_propOut_mAOD
Definition: ElectronMcSignalValidator.h:416
ElectronMcSignalValidator::h2_ele_PinMnPoutVsPhi_mode
MonitorElement * h2_ele_PinMnPoutVsPhi_mode
Definition: ElectronMcSignalValidator.h:354
ElectronMcSignalValidator::electronCoreCollection_
edm::EDGetTokenT< reco::GsfElectronCoreCollection > electronCoreCollection_
Definition: ElectronMcSignalValidator.h:35
reco::GsfElectron::hcalDepth2OverEcalBc
float hcalDepth2OverEcalBc() const
Definition: GsfElectron.h:432
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
reco::GsfElectron::trackMomentumAtVtx
math::XYZVectorF trackMomentumAtVtx() const
Definition: GsfElectron.h:276
ElectronMcSignalValidator::h2_ele_dPhiEleClVsEta_propOut
MonitorElement * h2_ele_dPhiEleClVsEta_propOut
Definition: ElectronMcSignalValidator.h:431
ElectronMcSignalValidator::h1_ele_ambiguousTracks
MonitorElement * h1_ele_ambiguousTracks
Definition: ElectronMcSignalValidator.h:300
ElectronMcSignalValidator::h1_mc_Phi
MonitorElement * h1_mc_Phi
Definition: ElectronMcSignalValidator.h:156
reco::GsfElectron::ecalDrivenSeed
bool ecalDrivenSeed() const
Definition: GsfElectron.h:166
ElectronMcSignalValidator::h2_ele_vertexTIPVsPhi
MonitorElement * h2_ele_vertexTIPVsPhi
Definition: ElectronMcSignalValidator.h:240
ElectronDqmAnalyzerBase::setBookIndex
void setBookIndex(short)
Definition: ElectronDqmAnalyzerBase.cc:32
ElectronMcSignalValidator::xyz_nbin
int xyz_nbin
Definition: ElectronMcSignalValidator.h:70
ElectronMcSignalValidator::h2_ele_dEtaClVsEta_propOut
MonitorElement * h2_ele_dEtaClVsEta_propOut
Definition: ElectronMcSignalValidator.h:410
ElectronMcSignalValidator::h1_ele_dEtaCl_propOut_barrel
MonitorElement * h1_ele_dEtaCl_propOut_barrel
Definition: ElectronMcSignalValidator.h:408
reco::GsfElectron::isEEDeeGap
bool isEEDeeGap() const
Definition: GsfElectron.h:344
ElectronDqmAnalyzerBase::bookH2
MonitorElement * bookH2(DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="COLZ")
Definition: ElectronDqmAnalyzerBase.cc:111
ElectronMcSignalValidator::h1_ele_mva_endcaps
MonitorElement * h1_ele_mva_endcaps
Definition: ElectronMcSignalValidator.h:500
ElectronMcSignalValidator::h1_scl_E5x5_endcaps
MonitorElement * h1_scl_E5x5_endcaps
Definition: ElectronMcSignalValidator.h:295
ElectronMcSignalValidator::h1_ele_provenance_endcaps
MonitorElement * h1_ele_provenance_endcaps
Definition: ElectronMcSignalValidator.h:506
ElectronMcSignalValidator::h2_ele_dPhiClVsEta_propOut
MonitorElement * h2_ele_dPhiClVsEta_propOut
Definition: ElectronMcSignalValidator.h:419
reco::GsfElectronRef
edm::Ref< GsfElectronCollection > GsfElectronRef
reference to an object in a collection of GsfElectron objects
Definition: GsfElectronFwd.h:21
reco::Candidate::numberOfDaughters
virtual size_type numberOfDaughters() const =0
number of daughters
ElectronMcSignalValidator::h1_ele_ecalRecHitSumEt_dr03_endcaps
MonitorElement * h1_ele_ecalRecHitSumEt_dr03_endcaps
Definition: ElectronMcSignalValidator.h:543
ElectronMcSignalValidator::h1_ele_dPhiEleCl_propOut
MonitorElement * h1_ele_dPhiEleCl_propOut
Definition: ElectronMcSignalValidator.h:428
ElectronMcSignalValidator::h1_ele_chargedHadronIso_endcaps
MonitorElement * h1_ele_chargedHadronIso_endcaps
Definition: ElectronMcSignalValidator.h:511
ElectronMcSignalValidator::h1_ele_mee_os_eeee
MonitorElement * h1_ele_mee_os_eeee
Definition: ElectronMcSignalValidator.h:212
ElectronMcSignalValidator::mee_max
double mee_max
Definition: ElectronMcSignalValidator.h:110
reco::GsfElectron::convDist
float convDist() const
Definition: GsfElectron.h:590
ElectronMcSignalValidator::h1_recOfflineVertices
MonitorElement * h1_recOfflineVertices
Definition: ElectronMcSignalValidator.h:147
ElectronMcSignalValidator::dphimatch_min
double dphimatch_min
Definition: ElectronMcSignalValidator.h:102
ElectronMcSignalValidator::h1_ele_hcalTowerSumEt_dr03_depth1_endcaps
MonitorElement * h1_ele_hcalTowerSumEt_dr03_depth1_endcaps
Definition: ElectronMcSignalValidator.h:546
ElectronMcSignalValidator::pt_nbin
int pt_nbin
Definition: ElectronMcSignalValidator.h:74
ElectronMcSignalValidator::lhits_max
double lhits_max
Definition: ElectronMcSignalValidator.h:81
ElectronMcSignalValidator::h1_ele_ecalEnergyError
MonitorElement * h1_ele_ecalEnergyError
Definition: ElectronMcSignalValidator.h:242
ElectronMcSignalValidator::h1_ele_hcalTowerSumEtBc_dr03_depth1
MonitorElement * h1_ele_hcalTowerSumEtBc_dr03_depth1
Definition: ElectronMcSignalValidator.h:570
ElectronMcSignalValidator::h2_ele_EoPVsE
MonitorElement * h2_ele_EoPVsE
Definition: ElectronMcSignalValidator.h:372
ElectronMcSignalValidator::track_max
double track_max
Definition: ElectronMcSignalValidator.h:132
reco::GsfElectron
Definition: GsfElectron.h:35
ElectronMcSignalValidator::h1_ele_HoE_fiducial
MonitorElement * h1_ele_HoE_fiducial
Definition: ElectronMcSignalValidator.h:465
ElectronMcSignalValidator::phi2D_nbin
int phi2D_nbin
Definition: ElectronMcSignalValidator.h:94
ElectronMcSignalValidator::h1_ele_ecalRecHitSumEt_dr03_barrel
MonitorElement * h1_ele_ecalRecHitSumEt_dr03_barrel
Definition: ElectronMcSignalValidator.h:542
ElectronMcSignalValidator::set_StatOverflowFlag
bool set_StatOverflowFlag
Definition: ElectronMcSignalValidator.h:120
reco::GsfElectron::correctedEcalEnergyError
float correctedEcalEnergyError() const
Definition: GsfElectron.h:807
reco::BeamSpot::position
const Point & position() const
position
Definition: BeamSpot.h:59
ElectronMcSignalValidator::h2_ele_EtaMnEtaTrueVsPt
MonitorElement * h2_ele_EtaMnEtaTrueVsPt
Definition: ElectronMcSignalValidator.h:343
ElectronMcSignalValidator::h1_ele_hcalDepth2OverEcalBc_barrel
MonitorElement * h1_ele_hcalDepth2OverEcalBc_barrel
Definition: ElectronMcSignalValidator.h:567
ElectronMcSignalValidator::h1_scl_EoEtrue_endcaps_new
MonitorElement * h1_scl_EoEtrue_endcaps_new
Definition: ElectronMcSignalValidator.h:258
ElectronMcSignalValidator::h1_ele_HoE_all_endcaps
MonitorElement * h1_ele_HoE_all_endcaps
Definition: ElectronMcSignalValidator.h:203
ElectronMcSignalValidator::h1_ele_dEtaSc_propVtx_all
MonitorElement * h1_ele_dEtaSc_propVtx_all
Definition: ElectronMcSignalValidator.h:186
ElectronMcSignalValidator::h2_ele_chargeVsEta
MonitorElement * h2_ele_chargeVsEta
Definition: ElectronMcSignalValidator.h:221
ElectronMcSignalValidator::h1_ele_fbrem_barrel
MonitorElement * h1_ele_fbrem_barrel
Definition: ElectronMcSignalValidator.h:474
ElectronMcSignalValidator::h1_scl_E2x5max_barrel
MonitorElement * h1_scl_E2x5max_barrel
Definition: ElectronMcSignalValidator.h:291
ElectronMcSignalValidator::h1_ele_tkSumPt_dr03
MonitorElement * h1_ele_tkSumPt_dr03
Definition: ElectronMcSignalValidator.h:538
GsfElectron.h
ElectronMcSignalValidator::phi_min
double phi_min
Definition: ElectronMcSignalValidator.h:95
ElectronMcSignalValidator::h2_ele_seed_drz2VsEta
MonitorElement * h2_ele_seed_drz2VsEta
Definition: ElectronMcSignalValidator.h:447
ElectronMcSignalValidator::h1_mc_Phi_matched
MonitorElement * h1_mc_Phi_matched
Definition: ElectronMcSignalValidator.h:163
ElectronMcSignalValidator::h1_ele_ecalRecHitSumEt_dr04_barrel
MonitorElement * h1_ele_ecalRecHitSumEt_dr04_barrel
Definition: ElectronMcSignalValidator.h:554
ElectronMcSignalValidator::h2_ele_PtinVsPtoutShowering_mean
MonitorElement * h2_ele_PtinVsPtoutShowering_mean
Definition: ElectronMcSignalValidator.h:492
ElectronMcSignalValidator::h2_scl_EoEtrueVsrecOfflineVertices
MonitorElement * h2_scl_EoEtrueVsrecOfflineVertices
Definition: ElectronMcSignalValidator.h:148
ElectronMcSignalValidator::h1_ele_ecalRecHitSumEt_dr03
MonitorElement * h1_ele_ecalRecHitSumEt_dr03
Definition: ElectronMcSignalValidator.h:541
ElectronMcSignalValidator::h1_ele_HoE_mAOD_barrel
MonitorElement * h1_ele_HoE_mAOD_barrel
Definition: ElectronMcSignalValidator.h:470
ElectronMcSignalValidator::h2_ele_PtinVsPtoutShowering_mode
MonitorElement * h2_ele_PtinVsPtoutShowering_mode
Definition: ElectronMcSignalValidator.h:490
ElectronMcSignalValidator::h2_ele_outerPtVsPhi_mode
MonitorElement * h2_ele_outerPtVsPhi_mode
Definition: ElectronMcSignalValidator.h:365
ElectronMcSignalValidator::h1_ele_hcalTowerSumEtBc_dr03_depth1_barrel
MonitorElement * h1_ele_hcalTowerSumEtBc_dr03_depth1_barrel
Definition: ElectronMcSignalValidator.h:571
ElectronMcSignalValidator::h1_ele_EtaMnEtaTrue_endcaps
MonitorElement * h1_ele_EtaMnEtaTrue_endcaps
Definition: ElectronMcSignalValidator.h:340
ElectronMcSignalValidator::h1_ele_ecalRecHitSumEt_dr04
MonitorElement * h1_ele_ecalRecHitSumEt_dr04
Definition: ElectronMcSignalValidator.h:553
ElectronMcSignalValidator::h1_ele_hcalTowerSumEtBc_dr03_depth2
MonitorElement * h1_ele_hcalTowerSumEtBc_dr03_depth2
Definition: ElectronMcSignalValidator.h:573
ElectronMcSignalValidator::h1_scl_Phi
MonitorElement * h1_scl_Phi
Definition: ElectronMcSignalValidator.h:269
ElectronMcSignalValidator::h1_ele_dPhiEleCl_propOut_barrel
MonitorElement * h1_ele_dPhiEleCl_propOut_barrel
Definition: ElectronMcSignalValidator.h:429
ElectronMcSignalValidator::h1_mc_AbsEta
MonitorElement * h1_mc_AbsEta
Definition: ElectronMcSignalValidator.h:153
ElectronMcSignalValidator::h1_ele_dEtaCl_propOut_all_endcaps
MonitorElement * h1_ele_dEtaCl_propOut_all_endcaps
Definition: ElectronMcSignalValidator.h:194
ElectronMcSignalValidator::detamatch2D_nbin
int detamatch2D_nbin
Definition: ElectronMcSignalValidator.h:90
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ElectronMcSignalValidator::h2_ele_seed_dphi2VsPt
MonitorElement * h2_ele_seed_dphi2VsPt
Definition: ElectronMcSignalValidator.h:442
Vertex.h
ElectronMcSignalValidator::h1_ele_superclusterfbrem_barrel
MonitorElement * h1_ele_superclusterfbrem_barrel
Definition: ElectronMcSignalValidator.h:480
reco::GsfElectron::superClusterFbrem
float superClusterFbrem() const
Definition: GsfElectron.h:728
ElectronMcSignalValidator::opv_max
double opv_max
Definition: ElectronMcSignalValidator.h:123
ElectronMcSignalValidator::h2_ele_dEtaScVsPt_propVtx
MonitorElement * h2_ele_dEtaScVsPt_propVtx
Definition: ElectronMcSignalValidator.h:400
EcalSubdetector.h
ElectronMcSignalValidator::h1_ele_PtoPttrue_barrel
MonitorElement * h1_ele_PtoPttrue_barrel
Definition: ElectronMcSignalValidator.h:335
ElectronMcSignalValidator::core_min
double core_min
Definition: ElectronMcSignalValidator.h:128
ElectronMcSignalValidator::h1_ele_chi2_barrel
MonitorElement * h1_ele_chi2_barrel
Definition: ElectronMcSignalValidator.h:318
ElectronMcSignalValidator::h1_ele_tkSumPt_dr04
MonitorElement * h1_ele_tkSumPt_dr04
Definition: ElectronMcSignalValidator.h:550
ElectronMcSignalValidator::h1_mc_Eta
MonitorElement * h1_mc_Eta
Definition: ElectronMcSignalValidator.h:152
ElectronMcSignalValidator::h1_ele_convDcot
MonitorElement * h1_ele_convDcot
Definition: ElectronMcSignalValidator.h:588
ElectronMcSignalValidator::h1_ele_mee_os
MonitorElement * h1_ele_mee_os
Definition: ElectronMcSignalValidator.h:209
ElectronMcSignalValidator::seed_min
double seed_min
Definition: ElectronMcSignalValidator.h:134
ElectronMcSignalValidator::h1_ele_photonRelativeIso_barrel
MonitorElement * h1_ele_photonRelativeIso_barrel
Definition: ElectronMcSignalValidator.h:526
ElectronMcSignalValidator::eta_min
double eta_min
Definition: ElectronMcSignalValidator.h:84
ElectronMcSignalValidator::h1_ele_HoE_all
MonitorElement * h1_ele_HoE_all
Definition: ElectronMcSignalValidator.h:201
ElectronMcSignalValidator::h1_ele_neutralHadronRelativeIso_mAOD_endcaps
MonitorElement * h1_ele_neutralHadronRelativeIso_mAOD_endcaps
Definition: ElectronMcSignalValidator.h:533
ElectronMcSignalValidator::detamatch_min
double detamatch_min
Definition: ElectronMcSignalValidator.h:91
ElectronMcSignalValidator::electronSeedCollection_
edm::EDGetTokenT< reco::ElectronSeedCollection > electronSeedCollection_
Definition: ElectronMcSignalValidator.h:37
ElectronMcSignalValidator::h1_ele_EeleOPout
MonitorElement * h1_ele_EeleOPout
Definition: ElectronMcSignalValidator.h:385
ElectronMcSignalValidator::deta_min
double deta_min
Definition: ElectronMcSignalValidator.h:87
ElectronMcSignalValidator::h1_ele_fbrem_mAOD_endcaps
MonitorElement * h1_ele_fbrem_mAOD_endcaps
Definition: ElectronMcSignalValidator.h:478
ElectronMcSignalValidator::h1_recSeedNum
MonitorElement * h1_recSeedNum
Definition: ElectronMcSignalValidator.h:146
ElectronMcSignalValidator::ele_min
double ele_min
Definition: ElectronMcSignalValidator.h:125
ElectronMcSignalValidator::h1_ele_HoE_mAOD
MonitorElement * h1_ele_HoE_mAOD
Definition: ElectronMcSignalValidator.h:469
ElectronMcSignalValidator::h1_scl_EoEtrue_ebeegap_new
MonitorElement * h1_scl_EoEtrue_ebeegap_new
Definition: ElectronMcSignalValidator.h:261
edm::ParameterSet
Definition: ParameterSet.h:47
ElectronMcSignalValidator::h1_ele_eta_shower
MonitorElement * h1_ele_eta_shower
Definition: ElectronMcSignalValidator.h:457
ElectronMcSignalValidator::h1_ele_mee_all
MonitorElement * h1_ele_mee_all
Definition: ElectronMcSignalValidator.h:208
ElectronMcSignalValidator::h1_ele_hcalTowerSumEt_dr04_depth2_endcaps
MonitorElement * h1_ele_hcalTowerSumEt_dr04_depth2_endcaps
Definition: ElectronMcSignalValidator.h:561
ElectronMcSignalValidator::h1_scl_SigEtaEta_barrel
MonitorElement * h1_scl_SigEtaEta_barrel
Definition: ElectronMcSignalValidator.h:276
ElectronMcSignalValidator::h1_ele_Et_all
MonitorElement * h1_ele_Et_all
Definition: ElectronMcSignalValidator.h:207
ElectronMcSignalValidator::isoFromDepsEcalReduced04Tag_
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsEcalReduced04Tag_
Definition: ElectronMcSignalValidator.h:47
reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx
float deltaEtaSuperClusterTrackAtVtx() const
Definition: GsfElectron.h:233
ElectronMcSignalValidator::h1_scl_full5x5_sigmaIetaIeta
MonitorElement * h1_scl_full5x5_sigmaIetaIeta
Definition: ElectronMcSignalValidator.h:284
ElectronMcSignalValidator::h2_ele_E2mnE1vsMee_all
MonitorElement * h2_ele_E2mnE1vsMee_all
Definition: ElectronMcSignalValidator.h:217
Event.h
ElectronMcSignalValidator::dphimatch_max
double dphimatch_max
Definition: ElectronMcSignalValidator.h:103
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition: LeafCandidate.h:152
ElectronMcSignalValidator::h1_ele_lostHits_barrel
MonitorElement * h1_ele_lostHits_barrel
Definition: ElectronMcSignalValidator.h:312
ElectronMcSignalValidator::h1_scl_Et
MonitorElement * h1_scl_Et
Definition: ElectronMcSignalValidator.h:264
ElectronMcSignalValidator::h1_ele_EeleOPout_all_endcaps
MonitorElement * h1_ele_EeleOPout_all_endcaps
Definition: ElectronMcSignalValidator.h:185
ElectronMcSignalValidator::h1_ele_HoE_bc
MonitorElement * h1_ele_HoE_bc
Definition: ElectronMcSignalValidator.h:460
ElectronMcSignalValidator::h1_ele_dEtaEleCl_propOut_endcaps
MonitorElement * h1_ele_dEtaEleCl_propOut_endcaps
Definition: ElectronMcSignalValidator.h:424
reco::GsfElectron::full5x5_sigmaIetaIeta
float full5x5_sigmaIetaIeta() const
Definition: GsfElectron.h:443
ElectronMcSignalValidator::offlineVerticesCollection_
edm::EDGetTokenT< reco::VertexCollection > offlineVerticesCollection_
Definition: ElectronMcSignalValidator.h:38
ElectronMcSignalValidator::deltaR_
double deltaR_
Definition: ElectronMcSignalValidator.h:60
ElectronMcSignalValidator::track_nbin
int track_nbin
Definition: ElectronMcSignalValidator.h:130
ElectronMcSignalValidator::p_nbin
int p_nbin
Definition: ElectronMcSignalValidator.h:71
reco::GsfElectron::scE5x5
float scE5x5() const
Definition: GsfElectron.h:475
ElectronMcSignalValidator::h2_ele_EeleOPoutVsE
MonitorElement * h2_ele_EeleOPoutVsE
Definition: ElectronMcSignalValidator.h:390
ElectronMcSignalValidator::fhits_nbin
int fhits_nbin
Definition: ElectronMcSignalValidator.h:78
ElectronMcSignalValidator::inputInternalPath_
std::string inputInternalPath_
Definition: ElectronMcSignalValidator.h:65
ElectronMcSignalValidator::h1_mcNum
MonitorElement * h1_mcNum
Definition: ElectronMcSignalValidator.h:139
ElectronMcSignalValidator::h1_ele_hcalTowerSumEt_dr04_depth2_barrel
MonitorElement * h1_ele_hcalTowerSumEt_dr04_depth2_barrel
Definition: ElectronMcSignalValidator.h:560
ElectronMcSignalValidator::h2_ele_dPhiScVsPhi_propVtx
MonitorElement * h2_ele_dPhiScVsPhi_propVtx
Definition: ElectronMcSignalValidator.h:405
ElectronMcSignalValidator::h1_ele_dEtaSc_propVtx_endcaps
MonitorElement * h1_ele_dEtaSc_propVtx_endcaps
Definition: ElectronMcSignalValidator.h:394
reco::GsfElectron::dr03HcalDepth1TowerSumEt
float dr03HcalDepth1TowerSumEt() const
Definition: GsfElectron.h:532
ElectronMcSignalValidator::h1_ele_EseedOP_barrel
MonitorElement * h1_ele_EseedOP_barrel
Definition: ElectronMcSignalValidator.h:374
ElectronMcSignalValidator::h1_ele_mee_os_ebeb
MonitorElement * h1_ele_mee_os_ebeb
Definition: ElectronMcSignalValidator.h:210
ElectronMcSignalValidator::h2_ele_chargeVsPhi
MonitorElement * h2_ele_chargeVsPhi
Definition: ElectronMcSignalValidator.h:222
ElectronMcSignalValidator::h2_ele_PinMnPoutVsEta_mode
MonitorElement * h2_ele_PinMnPoutVsEta_mode
Definition: ElectronMcSignalValidator.h:353
ElectronMcSignalValidator::h2_ele_seed_drz2VsPt
MonitorElement * h2_ele_seed_drz2VsPt
Definition: ElectronMcSignalValidator.h:448
ElectronMcSignalValidator::h1_ele_photonIso
MonitorElement * h1_ele_photonIso
Definition: ElectronMcSignalValidator.h:515
ElectronMcSignalValidator::h1_ele_EtaMnEtaTrue
MonitorElement * h1_ele_EtaMnEtaTrue
Definition: ElectronMcSignalValidator.h:338
ElectronMcSignalValidator::h1_ele_chargedHadronIso
MonitorElement * h1_ele_chargedHadronIso
Definition: ElectronMcSignalValidator.h:509
ElectronMcSignalValidator::h1_ele_dEtaSc_propVtx_all_endcaps
MonitorElement * h1_ele_dEtaSc_propVtx_all_endcaps
Definition: ElectronMcSignalValidator.h:188
ElectronMcSignalValidator::h1_ele_EseedOP_endcaps
MonitorElement * h1_ele_EseedOP_endcaps
Definition: ElectronMcSignalValidator.h:375
ElectronMcSignalValidator::h1_ele_HoE_bc_all
MonitorElement * h1_ele_HoE_bc_all
Definition: ElectronMcSignalValidator.h:204
ElectronMcSignalValidator::h1_ele_outerP_mode
MonitorElement * h1_ele_outerP_mode
Definition: ElectronMcSignalValidator.h:360
ElectronMcSignalValidator::h1_ele_EoPout_all
MonitorElement * h1_ele_EoPout_all
Definition: ElectronMcSignalValidator.h:180
ElectronMcSignalValidator::h2_ele_dEtaScVsEta_propVtx
MonitorElement * h2_ele_dEtaScVsEta_propVtx
Definition: ElectronMcSignalValidator.h:398
iEvent
int iEvent
Definition: GenABIO.cc:224
ElectronMcSignalValidator::h2_ele_EoPVsEta
MonitorElement * h2_ele_EoPVsEta
Definition: ElectronMcSignalValidator.h:370
ElectronMcSignalValidator::h1_ele_vertexEta
MonitorElement * h1_ele_vertexEta
Definition: ElectronMcSignalValidator.h:231
reco::GsfElectron::eSeedClusterOverP
float eSeedClusterOverP() const
Definition: GsfElectron.h:230
reco::GsfElectron::dr04TkSumPt
float dr04TkSumPt() const
Definition: GsfElectron.h:541
reco::GsfElectron::hcalOverEcalBc
float hcalOverEcalBc() const
Definition: GsfElectron.h:433
ElectronMcSignalValidator::h1_ele_vertexY
MonitorElement * h1_ele_vertexY
Definition: ElectronMcSignalValidator.h:236
ElectronMcSignalValidator::h1_ele_EoPout_barrel
MonitorElement * h1_ele_EoPout_barrel
Definition: ElectronMcSignalValidator.h:380
ElectronMcSignalValidator::h1_ele_TIP_all
MonitorElement * h1_ele_TIP_all
Definition: ElectronMcSignalValidator.h:198
ElectronMcSignalValidator::h1_ele_chargedHadronRelativeIso_mAOD_barrel
MonitorElement * h1_ele_chargedHadronRelativeIso_mAOD_barrel
Definition: ElectronMcSignalValidator.h:529
GsfTrack.h
ElectronDqmAnalyzerBase::bookH1
MonitorElement * bookH1(DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, const std::string &titleX="", const std::string &titleY="Events", Option_t *option="E1 P")
Definition: ElectronDqmAnalyzerBase.cc:57
ElectronMcSignalValidator::track_min
double track_min
Definition: ElectronMcSignalValidator.h:131
ElectronMcSignalValidator::h2_ele_PinVsPoutGolden_mode
MonitorElement * h2_ele_PinVsPoutGolden_mode
Definition: ElectronMcSignalValidator.h:485
ElectronMcSignalValidator::enerror_max
double enerror_max
Definition: ElectronMcSignalValidator.h:118
ElectronMcSignalValidator::inputFile_
std::string inputFile_
Definition: ElectronMcSignalValidator.h:63
ElectronMcSignalValidator::h1_ele_lostHits_endcaps
MonitorElement * h1_ele_lostHits_endcaps
Definition: ElectronMcSignalValidator.h:313
ElectronMcSignalValidator::h1_ele_eta
MonitorElement * h1_ele_eta
Definition: ElectronMcSignalValidator.h:454
ElectronMcSignalValidator::h1_ele_EoPout_all_barrel
MonitorElement * h1_ele_EoPout_all_barrel
Definition: ElectronMcSignalValidator.h:181
ElectronMcSignalValidator::h1_mc_P
MonitorElement * h1_mc_P
Definition: ElectronMcSignalValidator.h:154
ElectronMcSignalValidator::h1_ele_photonIso_endcaps
MonitorElement * h1_ele_photonIso_endcaps
Definition: ElectronMcSignalValidator.h:517
ElectronMcSignalValidator::h1_ele_ChargeMnChargeTrue
MonitorElement * h1_ele_ChargeMnChargeTrue
Definition: ElectronMcSignalValidator.h:337
reco::LeafCandidate::charge
int charge() const final
electric charge
Definition: LeafCandidate.h:106
reco::GsfElectron::isEBEtaGap
bool isEBEtaGap() const
Definition: GsfElectron.h:341
ElectronMcSignalValidator::h1_scl_SigEtaEta
MonitorElement * h1_scl_SigEtaEta
Definition: ElectronMcSignalValidator.h:275
ElectronMcSignalValidator::h1_ele_EoPout_all_endcaps
MonitorElement * h1_ele_EoPout_all_endcaps
Definition: ElectronMcSignalValidator.h:182
ElectronMcSignalValidator::h1_ele_vertexP
MonitorElement * h1_ele_vertexP
Definition: ElectronMcSignalValidator.h:224
edm::EventSetup
Definition: EventSetup.h:57
ElectronMcSignalValidator::mee_nbin
int mee_nbin
Definition: ElectronMcSignalValidator.h:108
ElectronMcSignalValidator::h1_ele_convFlags
MonitorElement * h1_ele_convFlags
Definition: ElectronMcSignalValidator.h:584
ElectronMcSignalValidator::h2_ele_PinMnPoutVsPt_mode
MonitorElement * h2_ele_PinMnPoutVsPt_mode
Definition: ElectronMcSignalValidator.h:355
ElectronMcSignalValidator::h1_mc_Z_matched_qmisid
MonitorElement * h1_mc_Z_matched_qmisid
Definition: ElectronMcSignalValidator.h:171
ElectronMcSignalValidator::h1_ele_provenance_barrel
MonitorElement * h1_ele_provenance_barrel
Definition: ElectronMcSignalValidator.h:505
ElectronMcSignalValidator::h1_scl_E5x5_barrel
MonitorElement * h1_scl_E5x5_barrel
Definition: ElectronMcSignalValidator.h:294
ElectronMcSignalValidator::dphimatch2D_nbin
int dphimatch2D_nbin
Definition: ElectronMcSignalValidator.h:101
ElectronDqmAnalyzerBase::setBookStatOverflowFlag
void setBookStatOverflowFlag(const bool &)
Definition: ElectronDqmAnalyzerBase.cc:36
ElectronMcSignalValidator::h1_ele_dPhiSc_propVtx_endcaps
MonitorElement * h1_ele_dPhiSc_propVtx_endcaps
Definition: ElectronMcSignalValidator.h:403
ElectronMcSignalValidator::h1_ele_PoPtrue_showering_barrel
MonitorElement * h1_ele_PoPtrue_showering_barrel
Definition: ElectronMcSignalValidator.h:332
ElectronMcSignalValidator::h2_ele_EseedOPVsPhi
MonitorElement * h2_ele_EseedOPVsPhi
Definition: ElectronMcSignalValidator.h:377
ElectronMcSignalValidator::h1_scl_EoEtrue_barrel_phigap
MonitorElement * h1_scl_EoEtrue_barrel_phigap
Definition: ElectronMcSignalValidator.h:253
ElectronMcSignalValidator::h1_scl_E1x5
MonitorElement * h1_scl_E1x5
Definition: ElectronMcSignalValidator.h:287
ElectronMcSignalValidator::h2_ele_lostHitsVsPhi
MonitorElement * h2_ele_lostHitsVsPhi
Definition: ElectronMcSignalValidator.h:315
reco::Candidate::pdgId
virtual int pdgId() const =0
PDG identifier.
reco::GsfElectron::dr03HcalDepth1TowerSumEtBc
float dr03HcalDepth1TowerSumEtBc() const
Definition: GsfElectron.h:535
ElectronMcSignalValidator::h1_ele_TIP_all_barrel
MonitorElement * h1_ele_TIP_all_barrel
Definition: ElectronMcSignalValidator.h:199
reco::GsfElectron::PflowIsolationVariables::sumNeutralHadronEt
float sumNeutralHadronEt
sum pt of neutral hadrons // old float neutralHadronIso ;
Definition: GsfElectron.h:609
reco::GsfElectron::hcalOverEcal
float hcalOverEcal() const
Definition: GsfElectron.h:427
ElectronMcSignalValidator::h1_ele_PoPtrue_barrel
MonitorElement * h1_ele_PoPtrue_barrel
Definition: ElectronMcSignalValidator.h:325
ElectronMcSignalValidator::h1_ele_PhiMnPhiTrue2
MonitorElement * h1_ele_PhiMnPhiTrue2
Definition: ElectronMcSignalValidator.h:347
ElectronMcSignalValidator::h2_ele_dEtaEleClVsPt_propOut
MonitorElement * h2_ele_dEtaEleClVsPt_propOut
Definition: ElectronMcSignalValidator.h:427
ElectronMcSignalValidator::h1_ele_convDcot_all
MonitorElement * h1_ele_convDcot_all
Definition: ElectronMcSignalValidator.h:589
ElectronMcSignalValidator::detamatch_max
double detamatch_max
Definition: ElectronMcSignalValidator.h:92
reco::LeafCandidate::vertex
const Point & vertex() const override
vertex position (overwritten by PF...)
Definition: LeafCandidate.h:165
ElectronMcSignalValidator::h1_ele_photonRelativeIso_mAOD
MonitorElement * h1_ele_photonRelativeIso_mAOD
Definition: ElectronMcSignalValidator.h:534
ElectronMcSignalValidator::seed_max
double seed_max
Definition: ElectronMcSignalValidator.h:135
ElectronMcSignalValidator::h1_ele_EseedOP
MonitorElement * h1_ele_EseedOP
Definition: ElectronMcSignalValidator.h:373
ElectronMcSignalValidator::h2_ele_dEtaClVsPt_propOut
MonitorElement * h2_ele_dEtaClVsPt_propOut
Definition: ElectronMcSignalValidator.h:412
reco::Candidate
Definition: Candidate.h:27
ElectronMcSignalValidator::h1_ele_hcalTowerSumEt_dr03_depth2
MonitorElement * h1_ele_hcalTowerSumEt_dr03_depth2
Definition: ElectronMcSignalValidator.h:547
ValueMap.h
ElectronMcSignalValidator::h1_ele_chi2
MonitorElement * h1_ele_chi2
Definition: ElectronMcSignalValidator.h:317
ElectronMcSignalValidator::pt2D_nbin
int pt2D_nbin
Definition: ElectronMcSignalValidator.h:75
ElectronMcSignalValidator::h1_ele_photonRelativeIso_endcaps
MonitorElement * h1_ele_photonRelativeIso_endcaps
Definition: ElectronMcSignalValidator.h:527
VertexFwd.h
ElectronMcSignalValidator::h1_ele_dEtaEleCl_propOut_barrel
MonitorElement * h1_ele_dEtaEleCl_propOut_barrel
Definition: ElectronMcSignalValidator.h:423
ElectronMcSignalValidator::h1_ele_chargedHadronRelativeIso_barrel
MonitorElement * h1_ele_chargedHadronRelativeIso_barrel
Definition: ElectronMcSignalValidator.h:520
ElectronMcSignalValidator::h2_ele_ambiguousTracksVsPhi
MonitorElement * h2_ele_ambiguousTracksVsPhi
Definition: ElectronMcSignalValidator.h:302
ElectronDqmAnalyzerBase::bookP1
MonitorElement * bookP1(DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="E1 P")
Definition: ElectronDqmAnalyzerBase.cc:171
ElectronMcSignalValidator::h2_ele_vertexPtVsPhi
MonitorElement * h2_ele_vertexPtVsPhi
Definition: ElectronMcSignalValidator.h:229
reco::GsfElectron::dr03HcalDepth2TowerSumEtBc
float dr03HcalDepth2TowerSumEtBc() const
Definition: GsfElectron.h:536
ElectronMcSignalValidator::h1_ele_neutralHadronRelativeIso_endcaps
MonitorElement * h1_ele_neutralHadronRelativeIso_endcaps
Definition: ElectronMcSignalValidator.h:524
ElectronMcSignalValidator::h1_ele_dPhiSc_propVtx
MonitorElement * h1_ele_dPhiSc_propVtx
Definition: ElectronMcSignalValidator.h:401
ElectronMcSignalValidator::h1_ele_HoE_endcaps
MonitorElement * h1_ele_HoE_endcaps
Definition: ElectronMcSignalValidator.h:462
ElectronMcSignalValidator::h1_ele_dEtaCl_propOut_all_barrel
MonitorElement * h1_ele_dEtaCl_propOut_all_barrel
Definition: ElectronMcSignalValidator.h:193
ElectronMcSignalValidator::h2_ele_EoPoutVsEta
MonitorElement * h2_ele_EoPoutVsEta
Definition: ElectronMcSignalValidator.h:382
ElectronMcSignalValidator::hoe_nbin
int hoe_nbin
Definition: ElectronMcSignalValidator.h:111
ElectronMcSignalValidator::h1_recTrackNum
MonitorElement * h1_recTrackNum
Definition: ElectronMcSignalValidator.h:145
ElectronMcSignalValidator::set_EfficiencyFlag
bool set_EfficiencyFlag
Definition: ElectronMcSignalValidator.h:119
ElectronMcSignalValidator::h1_scl_full5x5_sigmaIetaIeta_endcaps
MonitorElement * h1_scl_full5x5_sigmaIetaIeta_endcaps
Definition: ElectronMcSignalValidator.h:286
ElectronMcSignalValidator::h1_ele_fbrem
MonitorElement * h1_ele_fbrem
Definition: ElectronMcSignalValidator.h:473
ElectronMcSignalValidator::h2_ele_PoPtrueVsPhi
MonitorElement * h2_ele_PoPtrueVsPhi
Definition: ElectronMcSignalValidator.h:328
ElectronMcSignalValidator::h2_ele_chi2VsEta
MonitorElement * h2_ele_chi2VsEta
Definition: ElectronMcSignalValidator.h:320
ElectronMcSignalValidator::dphi_nbin
int dphi_nbin
Definition: ElectronMcSignalValidator.h:97
ElectronMcSignalValidator::h1_ele_dPhiSc_propVtx_all_endcaps
MonitorElement * h1_ele_dPhiSc_propVtx_all_endcaps
Definition: ElectronMcSignalValidator.h:191
ElectronMcSignalValidator::h2_ele_lostHitsVsEta
MonitorElement * h2_ele_lostHitsVsEta
Definition: ElectronMcSignalValidator.h:314
ElectronMcSignalValidator::h1_ele_dPhiCl_propOut_all_barrel
MonitorElement * h1_ele_dPhiCl_propOut_all_barrel
Definition: ElectronMcSignalValidator.h:196
ElectronMcSignalValidator::h1_ele_PinMnPout_mode
MonitorElement * h1_ele_PinMnPout_mode
Definition: ElectronMcSignalValidator.h:352
ElectronMcSignalValidator::h2_scl_EtVsEta
MonitorElement * h2_scl_EtVsEta
Definition: ElectronMcSignalValidator.h:265
ElectronMcSignalValidator::h1_ele_photonRelativeIso_mAOD_barrel
MonitorElement * h1_ele_photonRelativeIso_mAOD_barrel
Definition: ElectronMcSignalValidator.h:535
ElectronMcSignalValidator::h2_scl_EoEtruePfVsEg
MonitorElement * h2_scl_EoEtruePfVsEg
Definition: ElectronMcSignalValidator.h:273
ElectronMcSignalValidator::h2_mc_PtEta
MonitorElement * h2_mc_PtEta
Definition: ElectronMcSignalValidator.h:158
reco::GsfElectron::convRadius
float convRadius() const
Definition: GsfElectron.h:592
ElectronMcSignalValidator::h1_ele_PoPtrue_golden_endcaps
MonitorElement * h1_ele_PoPtrue_golden_endcaps
Definition: ElectronMcSignalValidator.h:331
ElectronMcSignalValidator::h1_ele_hcalDepth1OverEcalBc_barrel
MonitorElement * h1_ele_hcalDepth1OverEcalBc_barrel
Definition: ElectronMcSignalValidator.h:564
ElectronMcSignalValidator::electronTrackCollection_
edm::EDGetTokenT< reco::GsfTrackCollection > electronTrackCollection_
Definition: ElectronMcSignalValidator.h:36
ElectronMcSignalValidator::h1_ele_neutralHadronRelativeIso
MonitorElement * h1_ele_neutralHadronRelativeIso
Definition: ElectronMcSignalValidator.h:522
ElectronMcSignalValidator::h1_ele_vertexPhi
MonitorElement * h1_ele_vertexPhi
Definition: ElectronMcSignalValidator.h:234
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition: LeafCandidate.h:148
ElectronMcSignalValidator::h1_ele_tkSumPt_dr03_endcaps
MonitorElement * h1_ele_tkSumPt_dr03_endcaps
Definition: ElectronMcSignalValidator.h:540
SuperClusterFwd.h
ElectronMcSignalValidator::h1_ele_dPhiCl_propOut_endcaps
MonitorElement * h1_ele_dPhiCl_propOut_endcaps
Definition: ElectronMcSignalValidator.h:415
ElectronMcSignalValidator::h1_ele_ecalEnergyError_barrel
MonitorElement * h1_ele_ecalEnergyError_barrel
Definition: ElectronMcSignalValidator.h:243
ElectronMcSignalValidator::h2_ele_dPhiScVsEta_propVtx
MonitorElement * h2_ele_dPhiScVsEta_propVtx
Definition: ElectronMcSignalValidator.h:404
HLTMuonOfflineAnalyzer_cfi.deltaR2
deltaR2
Definition: HLTMuonOfflineAnalyzer_cfi.py:105
ElectronMcSignalValidator::core_nbin
int core_nbin
Definition: ElectronMcSignalValidator.h:127
reco::GsfElectron::scSigmaEtaEta
float scSigmaEtaEta() const
Definition: GsfElectron.h:471
ElectronMcSignalValidator::h1_ele_convRadius
MonitorElement * h1_ele_convRadius
Definition: ElectronMcSignalValidator.h:590
ElectronMcSignalValidator::dphimatch_nbin
int dphimatch_nbin
Definition: ElectronMcSignalValidator.h:100
ElectronMcSignalValidator::h1_eleNum
MonitorElement * h1_eleNum
Definition: ElectronMcSignalValidator.h:140
reco::GsfElectron::isEBEEGap
bool isEBEEGap() const
Definition: GsfElectron.h:339
ElectronMcSignalValidator::h2_ele_seed_dphi2posVsPt
MonitorElement * h2_ele_seed_dphi2posVsPt
Definition: ElectronMcSignalValidator.h:445
ElectronMcSignalValidator::h2_ele_seed_dphi2VsEta
MonitorElement * h2_ele_seed_dphi2VsEta
Definition: ElectronMcSignalValidator.h:441
math::XYZTLorentzVector
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
ElectronMcSignalValidator::h1_ele_seed_mask_tec
MonitorElement * h1_ele_seed_mask_tec
Definition: ElectronMcSignalValidator.h:439
ElectronMcSignalValidator::deta_max
double deta_max
Definition: ElectronMcSignalValidator.h:88
ElectronMcSignalValidator::h2_ele_dPhiEleClVsPt_propOut
MonitorElement * h2_ele_dPhiEleClVsPt_propOut
Definition: ElectronMcSignalValidator.h:433
ElectronMcSignalValidator::h2_ele_HoEVsE
MonitorElement * h2_ele_HoEVsE
Definition: ElectronMcSignalValidator.h:468
ElectronMcSignalValidator::h1_scl_E5x5
MonitorElement * h1_scl_E5x5
Definition: ElectronMcSignalValidator.h:293
reco::LeafCandidate::p
double p() const final
magnitude of momentum vector
Definition: LeafCandidate.h:123
ElectronMcSignalValidator::h2_ele_foundHitsVsPhi
MonitorElement * h2_ele_foundHitsVsPhi
Definition: ElectronMcSignalValidator.h:309
ElectronMcSignalValidator::matchingIDs_
std::vector< int > matchingIDs_
Definition: ElectronMcSignalValidator.h:61
ElectronMcSignalValidator::h2_ele_EoPoutVsE
MonitorElement * h2_ele_EoPoutVsE
Definition: ElectronMcSignalValidator.h:384
ElectronMcSignalValidator::h2_ele_ambiguousTracksVsPt
MonitorElement * h2_ele_ambiguousTracksVsPt
Definition: ElectronMcSignalValidator.h:303
reco::GsfElectron::deltaEtaEleClusterTrackAtCalo
float deltaEtaEleClusterTrackAtCalo() const
Definition: GsfElectron.h:235
reco::GsfElectron::eSuperClusterOverP
float eSuperClusterOverP() const
Definition: GsfElectron.h:229
ElectronMcSignalValidator::h1_ele_hcalDepth1OverEcalBc
MonitorElement * h1_ele_hcalDepth1OverEcalBc
Definition: ElectronMcSignalValidator.h:563
reco::GsfElectron::classification
Classification classification() const
Definition: GsfElectron.h:730
ElectronMcSignalValidator::hoe_min
double hoe_min
Definition: ElectronMcSignalValidator.h:112
ElectronMcSignalValidator::h1_ele_photonRelativeIso
MonitorElement * h1_ele_photonRelativeIso
Definition: ElectronMcSignalValidator.h:525
ElectronMcSignalValidator::h2_ele_PtinVsPtoutGolden_mean
MonitorElement * h2_ele_PtinVsPtoutGolden_mean
Definition: ElectronMcSignalValidator.h:491
ElectronMcSignalValidator::h1_ele_ecalEnergyError_endcaps
MonitorElement * h1_ele_ecalEnergyError_endcaps
Definition: ElectronMcSignalValidator.h:244
ElectronMcSignalValidator::h1_ele_fbrem_mAOD
MonitorElement * h1_ele_fbrem_mAOD
Definition: ElectronMcSignalValidator.h:476
ElectronMcSignalValidator::h1_ele_foundHits_endcaps
MonitorElement * h1_ele_foundHits_endcaps
Definition: ElectronMcSignalValidator.h:306
reco::GsfElectron::eEleClusterOverPout
float eEleClusterOverPout() const
Definition: GsfElectron.h:232
ElectronMcSignalValidator::h1_ele_vertexTIP
MonitorElement * h1_ele_vertexTIP
Definition: ElectronMcSignalValidator.h:238
reco::GsfElectron::trackerDrivenSeed
bool trackerDrivenSeed() const
Definition: GsfElectron.h:167
ElectronMcSignalValidator::h2_ele_PoPtrueVsEta
MonitorElement * h2_ele_PoPtrueVsEta
Definition: ElectronMcSignalValidator.h:327
ElectronMcSignalValidator::h1_ele_combinedP4Error_barrel
MonitorElement * h1_ele_combinedP4Error_barrel
Definition: ElectronMcSignalValidator.h:246
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
edm::RefToBase< TrajectorySeed >
ElectronMcSignalValidator::detamatch_nbin
int detamatch_nbin
Definition: ElectronMcSignalValidator.h:89
reco::GsfElectron::isEBPhiGap
bool isEBPhiGap() const
Definition: GsfElectron.h:342
ElectronMcSignalValidator::~ElectronMcSignalValidator
~ElectronMcSignalValidator() override
Definition: ElectronMcSignalValidator.cc:3269
ElectronMcSignalValidator::h1_ele_seed_drz2pos
MonitorElement * h1_ele_seed_drz2pos
Definition: ElectronMcSignalValidator.h:449
reco::GsfElectron::eSeedClusterOverPout
float eSeedClusterOverPout() const
Definition: GsfElectron.h:231
reco::GsfElectron::superCluster
SuperClusterRef superCluster() const override
reference to a SuperCluster
Definition: GsfElectron.h:163
ElectronMcSignalValidator::h1_ele_PtoPttrue_endcaps
MonitorElement * h1_ele_PtoPttrue_endcaps
Definition: ElectronMcSignalValidator.h:336
ElectronMcSignalValidator::dphi_min
double dphi_min
Definition: ElectronMcSignalValidator.h:98
ElectronMcSignalValidator::h1_ele_EeleOPout_endcaps
MonitorElement * h1_ele_EeleOPout_endcaps
Definition: ElectronMcSignalValidator.h:387
dqm::implementation::IBooker
Definition: DQMStore.h:43
ElectronMcSignalValidator.h
ElectronMcSignalValidator::h1_ele_mee_os_ebee
MonitorElement * h1_ele_mee_os_ebee
Definition: ElectronMcSignalValidator.h:211
ElectronMcSignalValidator::h1_ele_hcalTowerSumEt_dr03_depth2_barrel
MonitorElement * h1_ele_hcalTowerSumEt_dr03_depth2_barrel
Definition: ElectronMcSignalValidator.h:548
ElectronMcSignalValidator::h2_ele_outerPtVsPt_mode
MonitorElement * h2_ele_outerPtVsPt_mode
Definition: ElectronMcSignalValidator.h:366
ElectronMcSignalValidator::outputInternalPath_
std::string outputInternalPath_
Definition: ElectronMcSignalValidator.h:66
ElectronMcSignalValidator::h2_ele_chi2VsPhi
MonitorElement * h2_ele_chi2VsPhi
Definition: ElectronMcSignalValidator.h:321
ElectronMcSignalValidator::h1_ele_vertexEta_all
MonitorElement * h1_ele_vertexEta_all
Definition: ElectronMcSignalValidator.h:205
ElectronMcSignalValidator::h1_gamNum
MonitorElement * h1_gamNum
Definition: ElectronMcSignalValidator.h:141
ztail.d
d
Definition: ztail.py:151
ElectronMcSignalValidator::poptrue_min
double poptrue_min
Definition: ElectronMcSignalValidator.h:115
ElectronMcSignalValidator::h1_ele_combinedP4Error_endcaps
MonitorElement * h1_ele_combinedP4Error_endcaps
Definition: ElectronMcSignalValidator.h:247
ElectronMcSignalValidator::h1_mc_Pt_matched_qmisid
MonitorElement * h1_mc_Pt_matched_qmisid
Definition: ElectronMcSignalValidator.h:169
ElectronMcSignalValidator::h2_scl_EtVsPhi
MonitorElement * h2_scl_EtVsPhi
Definition: ElectronMcSignalValidator.h:266
ElectronMcSignalValidator::h2_ele_EeleOPoutVsEta
MonitorElement * h2_ele_EeleOPoutVsEta
Definition: ElectronMcSignalValidator.h:388
pi
const Double_t pi
Definition: trackSplitPlot.h:36
ElectronMcSignalValidator::h1_ele_seed_drz2
MonitorElement * h1_ele_seed_drz2
Definition: ElectronMcSignalValidator.h:446
ElectronMcSignalValidator::h1_ele_neutralHadronIso
MonitorElement * h1_ele_neutralHadronIso
Definition: ElectronMcSignalValidator.h:512
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
ElectronMcSignalValidator::h2_scl_EoEtrueVsrecOfflineVertices_barrel
MonitorElement * h2_scl_EoEtrueVsrecOfflineVertices_barrel
Definition: ElectronMcSignalValidator.h:149
reco::GsfElectron::pfIsolationVariables
const PflowIsolationVariables & pfIsolationVariables() const
Definition: GsfElectron.h:658
ElectronMcSignalValidator::h1_ele_photonIso_barrel
MonitorElement * h1_ele_photonIso_barrel
Definition: ElectronMcSignalValidator.h:516
ParameterSet.h
ElectronMcSignalValidator::h1_ele_dEtaEleCl_propOut
MonitorElement * h1_ele_dEtaEleCl_propOut
Definition: ElectronMcSignalValidator.h:422
ElectronDqmAnalyzerBase::setBookPrefix
void setBookPrefix(const std::string &)
Definition: ElectronDqmAnalyzerBase.cc:30
ElectronMcSignalValidator::h1_mc_Pt_matched
MonitorElement * h1_mc_Pt_matched
Definition: ElectronMcSignalValidator.h:162
ElectronMcSignalValidator::h1_ele_neutralHadronIso_barrel
MonitorElement * h1_ele_neutralHadronIso_barrel
Definition: ElectronMcSignalValidator.h:513
ElectronMcSignalValidator::h1_ele_hcalTowerSumEtBc_dr04_depth1_barrel
MonitorElement * h1_ele_hcalTowerSumEtBc_dr04_depth1_barrel
Definition: ElectronMcSignalValidator.h:577
ElectronMcSignalValidator::h1_scl_EoEtrue_barrel
MonitorElement * h1_scl_EoEtrue_barrel
Definition: ElectronMcSignalValidator.h:250
ElectronMcSignalValidator::h1_scl_EoEtrue_barrel_new_etagap
MonitorElement * h1_scl_EoEtrue_barrel_new_etagap
Definition: ElectronMcSignalValidator.h:259
ElectronMcSignalValidator::h1_ele_neutralHadronRelativeIso_mAOD_barrel
MonitorElement * h1_ele_neutralHadronRelativeIso_mAOD_barrel
Definition: ElectronMcSignalValidator.h:532
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
ElectronMcSignalValidator::h1_ele_dEtaSc_propVtx
MonitorElement * h1_ele_dEtaSc_propVtx
Definition: ElectronMcSignalValidator.h:392
ElectronMcSignalValidator::h2_ele_PinVsPoutShowering_mode
MonitorElement * h2_ele_PinVsPoutShowering_mode
Definition: ElectronMcSignalValidator.h:486
ElectronMcSignalValidator::dphi_max
double dphi_max
Definition: ElectronMcSignalValidator.h:99
ElectronMcSignalValidator::h1_ele_mva_isolated
MonitorElement * h1_ele_mva_isolated
Definition: ElectronMcSignalValidator.h:501
ElectronMcSignalValidator::eopmaxsht
double eopmaxsht
Definition: ElectronMcSignalValidator.h:107
ElectronMcSignalValidator::h1_ele_vertexPt
MonitorElement * h1_ele_vertexPt
Definition: ElectronMcSignalValidator.h:225
HLT_FULL_cff.flags
flags
Definition: HLT_FULL_cff.py:13150
edm::Event
Definition: Event.h:73
reco::GsfElectron::caloEnergy
float caloEnergy() const
Definition: GsfElectron.h:823
ElectronMcSignalValidator::h1_scl_SigIEtaIEta_barrel
MonitorElement * h1_scl_SigIEtaIEta_barrel
Definition: ElectronMcSignalValidator.h:279
reco::GsfElectron::scSigmaIEtaIEta
float scSigmaIEtaIEta() const
Definition: GsfElectron.h:472
ElectronMcSignalValidator::h1_ele_seed_dphi2pos
MonitorElement * h1_ele_seed_dphi2pos
Definition: ElectronMcSignalValidator.h:443
ElectronMcSignalValidator::h2_ele_sigmaIetaIetaVsPt
MonitorElement * h2_ele_sigmaIetaIetaVsPt
Definition: ElectronMcSignalValidator.h:358
ElectronMcSignalValidator::isoFromDepsHcal03Tag_
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsHcal03Tag_
Definition: ElectronMcSignalValidator.h:48
reco::GsfElectron::deltaPhiEleClusterTrackAtCalo
float deltaPhiEleClusterTrackAtCalo() const
Definition: GsfElectron.h:238
ElectronMcSignalValidator::h2_ele_chargeVsPt
MonitorElement * h2_ele_chargeVsPt
Definition: ElectronMcSignalValidator.h:223
ElectronMcSignalValidator::h1_ele_vertexPt_5100
MonitorElement * h1_ele_vertexPt_5100
Definition: ElectronMcSignalValidator.h:230
dttmaxenums::R
Definition: DTTMax.h:29
ElectronMcSignalValidator::h1_ele_vertexPt_nocut
MonitorElement * h1_ele_vertexPt_nocut
Definition: ElectronMcSignalValidator.h:226
reco::GsfElectron::isGsfScPixChargeConsistent
bool isGsfScPixChargeConsistent() const
Definition: GsfElectron.h:137
ElectronMcSignalValidator::h1_ele_EoP_barrel
MonitorElement * h1_ele_EoP_barrel
Definition: ElectronMcSignalValidator.h:368
ElectronMcSignalValidator::h1_ele_seed_mask_fpix
MonitorElement * h1_ele_seed_mask_fpix
Definition: ElectronMcSignalValidator.h:438
ElectronMcSignalValidator::h1_ele_hcalTowerSumEtBc_dr04_depth2
MonitorElement * h1_ele_hcalTowerSumEtBc_dr04_depth2
Definition: ElectronMcSignalValidator.h:579
edm::InputTag
Definition: InputTag.h:15
reco::GsfElectron::dr03HcalDepth2TowerSumEt
float dr03HcalDepth2TowerSumEt() const
Definition: GsfElectron.h:533
ElectronMcSignalValidator::h1_scl_EoEtrue_ebeegap
MonitorElement * h1_scl_EoEtrue_ebeegap
Definition: ElectronMcSignalValidator.h:254
ElectronMcSignalValidator::h1_ele_outerP
MonitorElement * h1_ele_outerP
Definition: ElectronMcSignalValidator.h:359
reco::GsfElectron::dr03EcalRecHitSumEt
float dr03EcalRecHitSumEt() const
Definition: GsfElectron.h:531
ElectronMcSignalValidator::h1_ele_PhiMnPhiTrue_barrel
MonitorElement * h1_ele_PhiMnPhiTrue_barrel
Definition: ElectronMcSignalValidator.h:345
ElectronMcSignalValidator::h2_ele_EeleOPoutVsPhi
MonitorElement * h2_ele_EeleOPoutVsPhi
Definition: ElectronMcSignalValidator.h:389
reco::GsfElectron::dr04HcalDepth2TowerSumEt
float dr04HcalDepth2TowerSumEt() const
Definition: GsfElectron.h:545
ElectronMcSignalValidator::h1_scl_bcl_EtotoEtrue_endcaps
MonitorElement * h1_scl_bcl_EtotoEtrue_endcaps
Definition: ElectronMcSignalValidator.h:298
ElectronMcSignalValidator::ElectronMcSignalValidator
ElectronMcSignalValidator(const edm::ParameterSet &conf)
Definition: ElectronMcSignalValidator.cc:46
ElectronMcSignalValidator::h2_ele_EoPVsPhi
MonitorElement * h2_ele_EoPVsPhi
Definition: ElectronMcSignalValidator.h:371
ElectronMcSignalValidator::h1_scl_EoEtrue_barrel_etagap
MonitorElement * h1_scl_EoEtrue_barrel_etagap
Definition: ElectronMcSignalValidator.h:252
ElectronMcSignalValidator::h1_ele_seed_dphi2
MonitorElement * h1_ele_seed_dphi2
Definition: ElectronMcSignalValidator.h:440
reco::GsfElectron::PflowIsolationVariables::sumChargedHadronPt
float sumChargedHadronPt
sum-pt of charged Hadron // old float chargedHadronIso ;
Definition: GsfElectron.h:608
ElectronMcSignalValidator::h1_ele_EseedOP_all_endcaps
MonitorElement * h1_ele_EseedOP_all_endcaps
Definition: ElectronMcSignalValidator.h:179
ElectronSeed.h
ElectronMcSignalValidator::h1_ele_dEtaSc_propVtx_mAOD_endcaps
MonitorElement * h1_ele_dEtaSc_propVtx_mAOD_endcaps
Definition: ElectronMcSignalValidator.h:397
ElectronMcSignalValidator::h1_ele_PoPtrue
MonitorElement * h1_ele_PoPtrue
Definition: ElectronMcSignalValidator.h:324
ElectronMcSignalValidator::h1_ele_TIP_all_endcaps
MonitorElement * h1_ele_TIP_all_endcaps
Definition: ElectronMcSignalValidator.h:200
ElectronMcSignalValidator::p_max
double p_max
Definition: ElectronMcSignalValidator.h:73
ElectronMcSignalValidator::h1_ele_mva_endcaps_isolated
MonitorElement * h1_ele_mva_endcaps_isolated
Definition: ElectronMcSignalValidator.h:503
ElectronMcSignalValidator::eta_max
double eta_max
Definition: ElectronMcSignalValidator.h:85
ElectronMcSignalValidator::opv_min
double opv_min
Definition: ElectronMcSignalValidator.h:122
ElectronMcSignalValidator::h1_ele_EoPout
MonitorElement * h1_ele_EoPout
Definition: ElectronMcSignalValidator.h:379
ElectronMcSignalValidator::h1_ele_tkSumPt_dr04_barrel
MonitorElement * h1_ele_tkSumPt_dr04_barrel
Definition: ElectronMcSignalValidator.h:551
ElectronMcSignalValidator::h1_mc_Eta_matched_qmisid
MonitorElement * h1_mc_Eta_matched_qmisid
Definition: ElectronMcSignalValidator.h:167
reco::GsfElectron::ecalEnergy
float ecalEnergy() const
Definition: GsfElectron.h:820
ElectronMcSignalValidator::isoFromDepsEcalFull03Tag_
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsEcalFull03Tag_
Definition: ElectronMcSignalValidator.h:44
ElectronMcSignalValidator::h2_ele_dEtaEleClVsEta_propOut
MonitorElement * h2_ele_dEtaEleClVsEta_propOut
Definition: ElectronMcSignalValidator.h:425
ElectronMcSignalValidator::h1_ele_HoE_bc_endcaps
MonitorElement * h1_ele_HoE_bc_endcaps
Definition: ElectronMcSignalValidator.h:464