38 #include "CLHEP/Units/GlobalPhysicalConstants.h"
414 using namespace reco;
417 : beamSpot_(conf.getParameter<edm::
InputTag>(
"beamSpot")) {
429 etamin = pset.getParameter<
double>(
"Etamin");
430 etamax = pset.getParameter<
double>(
"Etamax");
431 phimin = pset.getParameter<
double>(
"Phimin");
432 phimax = pset.getParameter<
double>(
"Phimax");
433 ptmax = pset.getParameter<
double>(
"Ptmax");
434 pmax = pset.getParameter<
double>(
"Pmax");
435 eopmax = pset.getParameter<
double>(
"Eopmax");
436 eopmaxsht = pset.getParameter<
double>(
"Eopmaxsht");
437 detamin = pset.getParameter<
double>(
"Detamin");
438 detamax = pset.getParameter<
double>(
"Detamax");
439 dphimin = pset.getParameter<
double>(
"Dphimin");
440 dphimax = pset.getParameter<
double>(
"Dphimax");
441 detamatchmin = pset.getParameter<
double>(
"Detamatchmin");
442 detamatchmax = pset.getParameter<
double>(
"Detamatchmax");
443 dphimatchmin = pset.getParameter<
double>(
"Dphimatchmin");
444 dphimatchmax = pset.getParameter<
double>(
"Dphimatchmax");
445 fhitsmax = pset.getParameter<
double>(
"Fhitsmax");
446 lhitsmax = pset.getParameter<
double>(
"Lhitsmax");
447 nbineta = pset.getParameter<
int>(
"Nbineta");
448 nbineta2D = pset.getParameter<
int>(
"Nbineta2D");
449 nbinp = pset.getParameter<
int>(
"Nbinp");
450 nbinpt = pset.getParameter<
int>(
"Nbinpt");
451 nbinp2D = pset.getParameter<
int>(
"Nbinp2D");
452 nbinpt2D = pset.getParameter<
int>(
"Nbinpt2D");
453 nbinpteff = pset.getParameter<
int>(
"Nbinpteff");
454 nbinphi = pset.getParameter<
int>(
"Nbinphi");
455 nbinphi2D = pset.getParameter<
int>(
"Nbinphi2D");
456 nbineop = pset.getParameter<
int>(
"Nbineop");
457 nbineop2D = pset.getParameter<
int>(
"Nbineop2D");
458 nbinfhits = pset.getParameter<
int>(
"Nbinfhits");
459 nbinlhits = pset.getParameter<
int>(
"Nbinlhits");
460 nbinxyz = pset.getParameter<
int>(
"Nbinxyz");
461 nbindeta = pset.getParameter<
int>(
"Nbindeta");
462 nbindphi = pset.getParameter<
int>(
"Nbindphi");
467 nbinmee = pset.getParameter<
int>(
"Nbinmee");
468 meemin = pset.getParameter<
double>(
"Meemin");
469 meemax = pset.getParameter<
double>(
"Meemax");
470 nbinhoe = pset.getParameter<
int>(
"Nbinhoe");
471 hoemin = pset.getParameter<
double>(
"Hoemin");
472 hoemax = pset.getParameter<
double>(
"Hoemax");
488 if (locJet != std::string::npos) {
489 std::cout <<
"Matching objects are GenJets " << std::endl;
492 std::cout <<
"Didn't recognize input matching objects!! " << std::endl;
496 hlabel =
"h_" + type_ +
"Num";
497 htitle =
"# " + type_ +
"s";
501 histNum_ =
new TH1F(
"h_recEleNum",
"# rec electrons", 20, 0., 20.);
504 hlabel =
"h_matchingObject_eta";
505 htitle = type_ +
" #eta";
507 hlabel =
"h_matchingObject_abseta";
508 htitle = type_ +
" |#eta|";
510 hlabel =
"h_matchingObject_P";
511 htitle = type_ +
" p";
513 hlabel =
"h_matchingObject_Pt";
514 htitle = type_ +
" pt";
516 hlabel =
"h_matchingObject_phi";
517 htitle = type_ +
" phi";
519 hlabel =
"h_matchingObject_z";
520 htitle = type_ +
" z";
529 "ele #eta_{sc} - #eta_{tr}, prop from vertex, all reco electrons",
534 "ele #phi_{sc} - #phi_{tr}, prop from vertex, all reco electrons",
539 "ele #eta_{cl} - #eta_{tr}, prop from outermost, all reco electrons",
544 "ele #phi_{cl} - #phi_{tr}, prop from outermost, all reco electrons",
548 h_ele_TIP_all =
new TH1F(
"h_ele_TIP_all",
"ele vertex transverse radius, all reco electrons", 100, 0., 0.2);
550 new TH1F(
"h_ele_HoE_all",
"ele hadronic energy / em energy, all reco electrons",
nbinhoe,
hoemin,
hoemax);
560 "E2 - E1 vs ele pairs invariant mass, all electrons",
568 "E2 - E1 vs ele pairs invariant mass, ecal driven pairs, all electrons",
579 new TH1F(
"h_ele_matchingObjectPt_matched",
"Efficiency vs matching jet p_{T}",
nbinpteff, 5.,
ptmax);
582 new TH1F(
"h_ele_matchingObjectAbsEta_matched",
"Efficiency vs matching jet |#eta|",
nbineta / 2, 0., 2.5);
585 new TH1F(
"h_ele_matchingObjectEta_matched",
"Efficiency vs matching jet #eta",
nbineta, etamin,
etamax);
588 new TH1F(
"h_ele_matchingObjectPhi_matched",
"Efficiency vs matching jet phi",
nbinphi, phimin,
phimax);
591 new TH1F(
"h_ele_matchingObjectZ_matched",
"Efficiency vs matching jet z",
nbinxyz, -25, 25);
594 h_ele_charge =
new TH1F(
"h_ele_charge",
"ele charge", 5, -2., 2.);
611 h_ele_vertexTIP =
new TH1F(
"h_ele_vertexTIP",
"ele transverse impact parameter (wrt bs)", 90, 0., 0.15);
613 "ele transverse impact parameter (wrt bs) vs eta",
621 "ele transverse impact parameter (wrt bs) vs phi",
629 "h_ele_vertexTIPVsPt",
"ele transverse impact parameter (wrt bs) vs Pt",
nbinpt2D, 0.,
ptmax, 45, 0., 0.15);
631 h_ele_PoPmatchingObject =
new TH1F(
"h_ele_PoPmatchingObject",
"ele momentum / matching jet momentum", 75, 0., 1.5);
633 "ele momentum / matching jet momentum vs eta",
641 "ele momentum / matching jet momentum vs phi",
649 "h_ele_PoPmatchingObjectVsPt",
"ele momentum / matching jet momentum vs eta",
nbinpt2D, 0.,
ptmax, 50, 0., 1.5);
651 new TH1F(
"h_ele_PoPmatchingObject_barrel",
"ele momentum / matching jet momentum, barrel", 75, 0., 1.5);
653 new TH1F(
"h_ele_PoPmatchingObject_endcaps",
"ele momentum / matching jet momentum, endcaps", 75, 0., 1.5);
656 new TH1F(
"h_ele_EtaMnEtamatchingObject",
"ele momentum eta - matching jet eta",
nbindeta,
detamin,
detamax);
658 "ele momentum eta - matching jet eta vs eta",
666 "ele momentum eta - matching jet eta vs phi",
674 "ele momentum eta - matching jet eta vs pt",
682 new TH1F(
"h_ele_PhiMnPhimatchingObject",
"ele momentum phi - matching jet phi",
nbindphi,
dphimin,
dphimax);
684 "ele momentum phi - matching jet phi",
689 "ele momentum phi - matching SC phi vs eta",
697 "ele momentum phi - matching SC phi vs phi",
705 "ele momentum phi - matching SC phi vs pt",
716 new TH1F(
"h_scl_EoEmatchingObject_barrel",
"ele supercluster energy / matching jet energy, barrel", 50, 0.2, 1.2);
718 "h_scl_EoEmatchingObject_endcaps",
"ele supercluster energy / matching jet energy, endcaps", 50, 0.2, 1.2);
729 histSclSigIEtaIEta_ =
new TH1F(
"h_scl_sigietaieta",
"ele supercluster sigma ieta ieta", 100, 0., 0.05);
731 new TH1F(
"h_scl_sigietaieta_barrel",
"ele supercluster sigma ieta ieta, barrel", 100, 0., 0.05);
733 new TH1F(
"h_scl_sigietaieta_endcaps",
"ele supercluster sigma ieta ieta, endcaps", 100, 0., 0.05);
739 new TH1F(
"h_scl_E2x5max_barrel",
"ele supercluster energy in 2x5 max barrel",
nbinp, 0.,
pmax);
741 new TH1F(
"h_scl_E2x5max_endcaps",
"ele supercluster energy in 2x5 max endcaps",
nbinp, 0.,
pmax);
749 new TH2F(
"h_ele_ambiguousTracksVsEta",
"ele # ambiguous tracks vs eta",
nbineta2D, etamin,
etamax, 5, 0., 5.);
751 new TH2F(
"h_ele_ambiguousTracksVsPhi",
"ele # ambiguous tracks vs phi",
nbinphi2D, phimin,
phimax, 5, 0., 5.);
753 new TH2F(
"h_ele_ambiguousTracksVsPt",
"ele # ambiguous tracks vs pt",
nbinpt2D, 0.,
ptmax, 5, 0., 5.);
761 h_ele_lostHits =
new TH1F(
"h_ele_lostHits",
"ele track # lost hits", 5, 0., 5.);
768 h_ele_chi2 =
new TH1F(
"h_ele_chi2",
"ele track #chi^{2}", 100, 0., 15.);
772 h_ele_PinMnPout =
new TH1F(
"h_ele_PinMnPout",
"ele track inner p - outer p, mean",
nbinp, 0., 200.);
775 "ele track inner p - outer p vs eta, mode",
783 "ele track inner p - outer p vs phi, mode",
791 "h_ele_PinMnPoutVsPt_mode",
"ele track inner p - outer p vs pt, mode",
nbinpt2D, 0.,
ptmax,
nbinp2D, 0., 100.);
793 "h_ele_PinMnPoutVsE_mode",
"ele track inner p - outer p vs E, mode",
nbinp2D, 0., 200.,
nbinp2D, 0., 100.);
795 "h_ele_PinMnPoutVsChi2_mode",
"ele track inner p - outer p vs track chi2, mode", 50, 0., 20.,
nbinp2D, 0., 100.);
799 new TH2F(
"h_ele_outerPVsEta_mode",
"ele track outer p vs eta mode",
nbineta2D, etamin,
etamax, 50, 0.,
pmax);
807 new TH2F(
"h_ele_outerPtVsPt_mode",
"ele track outer p_{T} vs pt, mode",
nbinpt2D, 0., 100.,
nbinpt2D, 0.,
ptmax);
826 h_ele_EoPVsE =
new TH2F(
"h_ele_EoPVsE",
"ele E/P_{vertex} vs E", 50, 0.,
pmax, 50, 0., 5.);
834 new TH1F(
"h_ele_EseedOP_eg_barrel",
"ele E_{seed}/P_{vertex}, ecal driven barrel",
nbineop, 0.,
eopmax);
839 new TH1F(
"h_ele_EseedOP_eg_endcaps",
"ele E_{seed}/P_{vertex}, ecal driven, endcaps",
nbineop, 0.,
eopmax);
845 h_ele_EseedOPVsE =
new TH2F(
"h_ele_EseedOPVsE",
"ele E_{seed}/P_{vertex} vs E", 50, 0.,
pmax, 50, 0., 5.);
853 new TH1F(
"h_ele_EoPout_eg_barrel",
"ele E_{seed}/P_{out}, ecal driven, barrel",
nbineop, 0.,
eopmax);
858 new TH1F(
"h_ele_EoPout_eg_endcaps",
"ele E_{seed}/P_{out}, ecal driven, endcaps",
nbineop, 0.,
eopmax);
872 new TH1F(
"h_ele_EeleOPout_eg_barrel",
"ele E_{ele}/P_{out}, ecal driven, barrel",
nbineop, 0.,
eopmax);
877 new TH1F(
"h_ele_EeleOPout_eg_endcaps",
"ele E_{ele}/P_{out}, ecal driven, endcaps",
nbineop, 0.,
eopmax);
889 "ele #eta_{sc} - #eta_{tr}, prop from vertex, ecal driven",
895 "ele #eta_{sc} - #eta_{tr}, prop from vertex, barrel",
901 "ele #eta_{sc} - #eta_{tr}, prop from vertex, ecal driven, barrel",
907 "ele #eta_{sc} - #eta_{tr}, prop from vertex, endcaps",
913 "ele #eta_{sc} - #eta_{tr}, prop from vertex, ecal driven, endcaps",
919 "ele #eta_{sc} - #eta_{tr} vs eta, prop from vertex",
927 "ele #eta_{sc} - #eta_{tr} vs phi, prop from vertex",
935 "ele #eta_{sc} - #eta_{tr} vs pt, prop from vertex",
946 "ele #phi_{sc} - #phi_{tr}, prop from vertex, ecal driven",
952 "ele #phi_{sc} - #phi_{tr}, prop from vertex, barrel",
958 "ele #phi_{sc} - #phi_{tr}, prop from vertex, ecal driven, barrel",
964 "ele #phi_{sc} - #phi_{tr}, prop from vertex, endcaps",
970 "ele #phi_{sc} - #phi_{tr}, prop from vertex, ecal driven, endcaps",
976 "ele #phi_{sc} - #phi_{tr} vs eta, prop from vertex",
984 "ele #phi_{sc} - #phi_{tr} vs phi, prop from vertex",
992 "ele #phi_{sc} - #phi_{tr} vs pt, prop from vertex",
1000 "ele #eta_{cl} - #eta_{tr}, prop from outermost",
1006 "ele #eta_{cl} - #eta_{tr}, prop from outermost, ecal driven",
1012 "ele #eta_{cl} - #eta_{tr}, prop from outermost, barrel",
1018 "ele #eta_{cl} - #eta_{tr}, prop from outermost, ecal driven, barrel",
1024 "ele #eta_{cl} - #eta_{tr}, prop from outermost, endcaps",
1030 "ele #eta_{cl} - #eta_{tr}, prop from outermost, ecal driven, endcaps",
1036 "ele #eta_{cl} - #eta_{tr} vs eta, prop from out",
1044 "ele #eta_{cl} - #eta_{tr} vs phi, prop from out",
1052 "ele #eta_{cl} - #eta_{tr} vs pt, prop from out",
1060 "ele #phi_{cl} - #phi_{tr}, prop from outermost",
1066 "ele #phi_{cl} - #phi_{tr}, prop from outermost, ecal driven",
1072 "ele #phi_{cl} - #phi_{tr}, prop from outermost, barrel",
1078 "ele #phi_{cl} - #phi_{tr}, prop from outermost, ecal driven, barrel",
1084 "ele #phi_{cl} - #phi_{tr}, prop from outermost, endcaps",
1090 "ele #phi_{cl} - #phi_{tr}, prop from outermost, ecal driven, endcaps",
1096 "ele #phi_{cl} - #phi_{tr} vs eta, prop from out",
1104 "ele #phi_{cl} - #phi_{tr} vs phi, prop from out",
1112 "ele #phi_{cl} - #phi_{tr} vs pt, prop from out",
1120 "ele #eta_{EleCl} - #eta_{tr}, prop from outermost",
1126 "ele #eta_{EleCl} - #eta_{tr}, prop from outermost, ecal driven",
1132 "ele #eta_{EleCl} - #eta_{tr}, prop from outermost, barrel",
1138 "ele #eta_{EleCl} - #eta_{tr}, prop from outermost, ecal driven, barrel",
1144 "ele #eta_{EleCl} - #eta_{tr}, prop from outermost, endcaps",
1150 new TH1F(
"h_ele_dEtaEleCl_propOut_eg_endcaps",
1151 "ele #eta_{EleCl} - #eta_{tr}, prop from outermost, ecal driven, endcaps",
1157 "ele #eta_{EleCl} - #eta_{tr} vs eta, prop from out",
1165 "ele #eta_{EleCl} - #eta_{tr} vs phi, prop from out",
1173 "ele #eta_{EleCl} - #eta_{tr} vs pt, prop from out",
1181 "ele #phi_{EleCl} - #phi_{tr}, prop from outermost",
1187 "ele #phi_{EleCl} - #phi_{tr}, prop from outermost, ecal driven",
1193 "ele #phi_{EleCl} - #phi_{tr}, prop from outermost, barrel",
1199 "ele #phi_{EleCl} - #phi_{tr}, prop from outermost, ecal driven, barrel",
1205 "ele #phi_{EleCl} - #phi_{tr}, prop from outermost, endcaps",
1211 new TH1F(
"h_ele_dPhiEleCl_propOut_eg_endcaps",
1212 "ele #phi_{EleCl} - #phi_{tr}, prop from outermost, ecal driven, endcaps",
1218 "ele #phi_{EleCl} - #phi_{tr} vs eta, prop from out",
1226 "ele #phi_{EleCl} - #phi_{tr} vs phi, prop from out",
1234 "ele #phi_{EleCl} - #phi_{tr} vs pt, prop from out",
1249 new TH1F(
"h_ele_HoE_eg_barrel",
"ele hadronic energy / em energy, ecal driven, barrel",
nbinhoe,
hoemin,
hoemax);
1252 new TH1F(
"h_ele_HoE_endcaps",
"ele hadronic energy / em energy, endcaps",
nbinhoe,
hoemin,
hoemax);
1255 "h_ele_HoE_eg_endcaps",
"ele hadronic energy / em energy, ecal driven, endcaps",
nbinhoe,
hoemin,
hoemax);
1265 h_ele_seed_dphi2_ =
new TH1F(
"h_ele_seedDphi2",
"ele seed dphi 2nd layer", 50, -0.003, +0.003);
1267 new TH2F(
"h_ele_seedDphi2VsEta",
"ele seed dphi 2nd layer vs eta",
nbineta2D, etamin,
etamax, 50, -0.003, +0.003);
1269 new TH2F(
"h_ele_seedDphi2VsPt",
"ele seed dphi 2nd layer vs pt",
nbinpt2D, 0.,
ptmax, 50, -0.003, +0.003);
1270 h_ele_seed_drz2_ =
new TH1F(
"h_ele_seedDrz2",
"ele seed dr/dz 2nd layer", 50, -0.03, +0.03);
1272 new TH2F(
"h_ele_seedDrz2VsEta",
"ele seed dr/dz 2nd layer vs eta",
nbineta2D, etamin,
etamax, 50, -0.03, +0.03);
1274 new TH2F(
"h_ele_seedDrz2VsPt",
"ele seed dr/dz 2nd layer vs pt",
nbinpt2D, 0.,
ptmax, 50, -0.03, +0.03);
1275 h_ele_seed_subdet2_ =
new TH1F(
"h_ele_seedSubdet2",
"ele seed subdet 2nd layer", 10, 0., 10.);
1278 h_ele_classes =
new TH1F(
"h_ele_classes",
"electron classes", 20, 0.0, 20.);
1285 "h_ele_PinVsPoutGolden_mode",
"ele track inner p vs outer p, golden, mode",
nbinp2D, 0.,
pmax, 50, 0.,
pmax);
1287 "ele track inner p vs outer p vs eta, showering, mode",
1295 "h_ele_PinVsPoutGolden_mean",
"ele track inner p vs outer p, golden, mean",
nbinp2D, 0.,
pmax, 50, 0.,
pmax);
1297 "h_ele_PinVsPoutShowering_mean",
"ele track inner p vs outer p, showering, mean",
nbinp2D, 0.,
pmax, 50, 0.,
pmax);
1299 "ele track inner pt vs outer pt, golden, mode",
1307 "ele track inner pt vs outer pt, showering, mode",
1315 "ele track inner pt vs outer pt, golden, mean",
1323 "ele track inner pt vs outer pt, showering, mean",
1331 "h_scl_EoEmatchingObject golden, barrel",
"ele SC energy over matching jet energy, golden, barrel", 100, 0.2, 1.2);
1333 "ele SC energy over matching jet energy, golden, endcaps",
1338 "ele SC energy over matching jet energy, showering, barrel",
1343 "ele SC energy over matching jet energy, showering, endcaps",
1349 h_ele_tkSumPt_dr03 =
new TH1F(
"h_ele_tkSumPt_dr03",
"tk isolation sum, dR=0.3", 100, 0.0, 20.);
1352 new TH1F(
"h_ele_hcalDepth1TowerSumEt_dr03",
"hcal depth1 isolation sum, dR=0.3", 100, 0.0, 20.);
1354 new TH1F(
"h_ele_hcalDepth2TowerSumEt_dr03",
"hcal depth2 isolation sum, dR=0.3", 100, 0.0, 20.);
1355 h_ele_tkSumPt_dr04 =
new TH1F(
"h_ele_tkSumPt_dr04",
"hcal isolation sum", 100, 0.0, 20.);
1358 new TH1F(
"h_ele_hcalDepth1TowerSumEt_dr04",
"hcal depth1 isolation sum, dR=0.4", 100, 0.0, 20.);
1360 new TH1F(
"h_ele_hcalDepth2TowerSumEt_dr04",
"hcal depth2 isolation sum, dR=0.4", 100, 0.0, 20.);
1363 h_ele_fbrem =
new TH1F(
"h_ele_fbrem",
"ele brem fraction, mode", 100, 0., 1.);
1365 new TProfile(
"h_ele_fbremvsEtamode",
"mean ele brem fraction vs eta, mode",
nbineta2D, etamin,
etamax, 0., 1.);
1367 new TProfile(
"h_ele_fbremvsEtamean",
"mean ele brem fraction vs eta, mean",
nbineta2D, etamin,
etamax, 0., 1.);
1370 h_ele_mva =
new TH1F(
"h_ele_mva",
"ele mva", 100, -1., 1.);
1371 h_ele_provenance =
new TH1F(
"h_ele_provenance",
"ele provenance", 5, -2., 3.);
1386 h_ele_chi2->GetXaxis()->SetTitle(
"#Chi^{2}");
1432 h_ele_PinMnPout->GetXaxis()->SetTitle(
"P_{vertex} - P_{out} (GeV/c)");
1444 h_ele_EoP->GetXaxis()->SetTitle(
"E/P_{vertex}");
1445 h_ele_EoP->GetYaxis()->SetTitle(
"Events");
1448 h_ele_EoPout->GetXaxis()->SetTitle(
"E_{seed}/P_{out}");
1522 h_ele_HoE->GetYaxis()->SetTitle(
"Events");
1529 h_ele_fbrem->GetXaxis()->SetTitle(
"P_{in} - P_{out} / P_{in}");
1539 h_ele_EoverP_all->GetXaxis()->SetTitle(
"E/P_{vertex}");
1540 h_ele_EoverP_all->GetYaxis()->SetTitle(
"Events");
1559 h_ele_mee_os->GetXaxis()->SetTitle(
"m_{e^{+}e^{-}} (GeV/c^{2})");
1565 histNum_->GetXaxis()->SetTitle(
"N_{ele}");
1566 histNum_->GetYaxis()->SetTitle(
"Events");
1573 std::cout <<
"efficiency calculation " << std::endl;
1576 h_ele_etaEff->Reset();
1578 h_ele_etaEff->Print();
1579 h_ele_etaEff->GetXaxis()->SetTitle(
"#eta");
1580 h_ele_etaEff->GetYaxis()->SetTitle(
"Efficiency");
1584 h_ele_zEff->Reset();
1586 h_ele_zEff->Print();
1587 h_ele_zEff->GetXaxis()->SetTitle(
"z (cm)");
1588 h_ele_zEff->GetYaxis()->SetTitle(
"Efficiency");
1592 h_ele_absetaEff->Reset();
1594 h_ele_absetaEff->GetXaxis()->SetTitle(
"|#eta|");
1595 h_ele_absetaEff->GetYaxis()->SetTitle(
"Efficiency");
1599 h_ele_ptEff->Reset();
1601 h_ele_ptEff->GetXaxis()->SetTitle(
"p_{T} (GeV/c)");
1602 h_ele_ptEff->GetYaxis()->SetTitle(
"Efficiency");
1606 h_ele_phiEff->Reset();
1608 h_ele_phiEff->GetXaxis()->SetTitle(
"#phi (rad)");
1609 h_ele_phiEff->GetYaxis()->SetTitle(
"Efficiency");
1613 h_ele_etaEff_all->Reset();
1615 h_ele_etaEff_all->Print();
1616 h_ele_etaEff_all->GetXaxis()->SetTitle(
"#eta");
1617 h_ele_etaEff_all->GetYaxis()->SetTitle(
"N_{rec}/N_{matching jet}");
1620 h_ele_ptEff_all->Reset();
1622 h_ele_ptEff_all->Print();
1623 h_ele_ptEff_all->GetXaxis()->SetTitle(
"p_{T} (GeV/c)");
1624 h_ele_ptEff_all->GetYaxis()->SetTitle(
"N_{rec}/N_{matching gen jet}");
1627 TH1F *h_ele_eta_goldenFrac = (TH1F *)
h_ele_eta_golden->Clone(
"h_ele_eta_goldenFrac");
1628 h_ele_eta_goldenFrac->Reset();
1629 h_ele_eta_goldenFrac->GetXaxis()->SetTitle(
"|#eta|");
1630 h_ele_eta_goldenFrac->GetYaxis()->SetTitle(
"Fraction of electrons");
1632 h_ele_eta_goldenFrac->SetTitle(
"fraction of golden electrons vs eta");
1633 TH1F *h_ele_eta_bbremFrac = (TH1F *)
h_ele_eta_bbrem->Clone(
"h_ele_eta_bbremFrac");
1634 h_ele_eta_bbremFrac->Reset();
1636 h_ele_eta_bbremFrac->GetXaxis()->SetTitle(
"|#eta|");
1637 h_ele_eta_bbremFrac->GetYaxis()->SetTitle(
"Fraction of electrons");
1638 h_ele_eta_bbremFrac->SetTitle(
"fraction of big brem electrons vs eta");
1639 TH1F *h_ele_eta_narrowFrac = (TH1F *)
h_ele_eta_narrow->Clone(
"h_ele_eta_narrowFrac");
1640 h_ele_eta_narrowFrac->Reset();
1642 h_ele_eta_narrowFrac->GetXaxis()->SetTitle(
"|#eta|");
1643 h_ele_eta_narrowFrac->GetYaxis()->SetTitle(
"Fraction of electrons");
1644 h_ele_eta_narrowFrac->SetTitle(
"fraction of narrow electrons vs eta");
1645 TH1F *h_ele_eta_showerFrac = (TH1F *)
h_ele_eta_shower->Clone(
"h_ele_eta_showerFrac");
1646 h_ele_eta_showerFrac->Reset();
1648 h_ele_eta_showerFrac->GetXaxis()->SetTitle(
"|#eta|");
1649 h_ele_eta_showerFrac->GetYaxis()->SetTitle(
"Fraction of electrons");
1650 h_ele_eta_showerFrac->SetTitle(
"fraction of showering electrons vs eta");
1653 TH1F *h_ele_xOverX0VsEta =
new TH1F(
"h_ele_xOverx0VsEta",
"mean X/X_0 vs eta",
nbineta / 2, 0.0, 2.5);
1655 double xOverX0 = 0.;
1658 h_ele_xOverX0VsEta->SetBinContent(ibin, xOverX0);
1663 p_ele_PoPmatchingObjectVsEta->SetTitle(
"mean ele momentum / matching SC energy vs eta");
1664 p_ele_PoPmatchingObjectVsEta->GetXaxis()->SetTitle(
"#eta");
1665 p_ele_PoPmatchingObjectVsEta->GetYaxis()->SetTitle(
"<P/E_{matching gen jet}>");
1666 p_ele_PoPmatchingObjectVsEta->Write();
1668 p_ele_PoPmatchingObjectVsPhi->SetTitle(
"mean ele momentum / gen momentum vs phi");
1669 p_ele_PoPmatchingObjectVsPhi->GetXaxis()->SetTitle(
"#phi (rad)");
1670 p_ele_PoPmatchingObjectVsPhi->GetYaxis()->SetTitle(
"<P/E_{matching gen jet}>");
1671 p_ele_PoPmatchingObjectVsPhi->Write();
1673 p_ele_EtaMnEtamatchingObjectVsEta->GetXaxis()->SetTitle(
"#eta");
1674 p_ele_EtaMnEtamatchingObjectVsEta->GetYaxis()->SetTitle(
"<#eta_{rec} - #eta_{matching gen jet}>");
1675 p_ele_EtaMnEtamatchingObjectVsEta->Write();
1677 p_ele_EtaMnEtamatchingObjectVsPhi->GetXaxis()->SetTitle(
"#phi");
1678 p_ele_EtaMnEtamatchingObjectVsPhi->GetYaxis()->SetTitle(
"<#eta_{rec} - #eta_{matching gen jet}>");
1679 p_ele_EtaMnEtamatchingObjectVsPhi->Write();
1681 p_ele_PhiMnPhimatchingObjectVsEta->GetXaxis()->SetTitle(
"#eta");
1682 p_ele_PhiMnPhimatchingObjectVsEta->GetYaxis()->SetTitle(
"<#phi_{rec} - #phi_{matching gen jet}> (rad)");
1683 p_ele_PhiMnPhimatchingObjectVsEta->Write();
1685 p_ele_PhiMnPhimatchingObjectVsPhi->GetXaxis()->SetTitle(
"#phi");
1686 p_ele_PhiMnPhimatchingObjectVsPhi->GetYaxis()->SetTitle(
"<#phi_{rec} - #phi_{matching gen jet}> (rad)");
1687 p_ele_PhiMnPhimatchingObjectVsPhi->Write();
1689 p_ele_vertexPtVsEta->GetXaxis()->SetTitle(
"#eta");
1690 p_ele_vertexPtVsEta->GetYaxis()->SetTitle(
"<p_{T}> (GeV/c)");
1691 p_ele_vertexPtVsEta->Write();
1693 p_ele_vertexPtVsPhi->GetXaxis()->SetTitle(
"#phi (rad)");
1694 p_ele_vertexPtVsPhi->GetYaxis()->SetTitle(
"<p_{T}> (GeV/c)");
1695 p_ele_vertexPtVsPhi->Write();
1697 p_ele_EoPVsEta->GetXaxis()->SetTitle(
"#eta");
1698 p_ele_EoPVsEta->GetYaxis()->SetTitle(
"<E/P_{vertex}>");
1699 p_ele_EoPVsEta->Write();
1701 p_ele_EoPVsPhi->GetXaxis()->SetTitle(
"#phi (rad)");
1702 p_ele_EoPVsPhi->GetYaxis()->SetTitle(
"<E/P_{vertex}>");
1703 p_ele_EoPVsPhi->Write();
1705 p_ele_EoPoutVsEta->GetXaxis()->SetTitle(
"#eta");
1706 p_ele_EoPoutVsEta->GetYaxis()->SetTitle(
"<E_{seed}/P_{out}>");
1707 p_ele_EoPoutVsEta->Write();
1709 p_ele_EoPoutVsPhi->GetXaxis()->SetTitle(
"#phi (rad)");
1710 p_ele_EoPoutVsPhi->GetYaxis()->SetTitle(
"<E_{seed}/P_{out}>");
1711 p_ele_EoPoutVsPhi->Write();
1713 p_ele_EeleOPoutVsEta->SetTitle(
"mean ele Eele/pout vs eta");
1714 p_ele_EeleOPoutVsEta->GetXaxis()->SetTitle(
"#eta");
1715 p_ele_EeleOPoutVsEta->GetYaxis()->SetTitle(
"<E_{ele}/P_{out}>");
1716 p_ele_EeleOPoutVsEta->Write();
1718 p_ele_EeleOPoutVsPhi->SetTitle(
"mean ele Eele/pout vs phi");
1719 p_ele_EeleOPoutVsPhi->GetXaxis()->SetTitle(
"#phi (rad)");
1720 p_ele_EeleOPoutVsPhi->GetYaxis()->SetTitle(
"<E_{ele}/P_{out}>");
1721 p_ele_EeleOPoutVsPhi->Write();
1723 p_ele_HoEVsEta->GetXaxis()->SetTitle(
"#eta");
1724 p_ele_HoEVsEta->GetYaxis()->SetTitle(
"<H/E>");
1725 p_ele_HoEVsEta->Write();
1727 p_ele_HoEVsPhi->GetXaxis()->SetTitle(
"#phi (rad)");
1728 p_ele_HoEVsPhi->GetYaxis()->SetTitle(
"<H/E>");
1729 p_ele_HoEVsPhi->Write();
1731 p_ele_chi2VsEta->GetXaxis()->SetTitle(
"#eta");
1732 p_ele_chi2VsEta->GetYaxis()->SetTitle(
"<#Chi^{2}>");
1733 p_ele_chi2VsEta->Write();
1735 p_ele_chi2VsPhi->GetXaxis()->SetTitle(
"#phi (rad)");
1736 p_ele_chi2VsPhi->GetYaxis()->SetTitle(
"<#Chi^{2}>");
1737 p_ele_chi2VsPhi->Write();
1739 p_ele_foundHitsVsEta->GetXaxis()->SetTitle(
"#eta");
1740 p_ele_foundHitsVsEta->GetYaxis()->SetTitle(
"<N_{hits}>");
1741 p_ele_foundHitsVsEta->Write();
1743 p_ele_foundHitsVsPhi->GetXaxis()->SetTitle(
"#phi (rad)");
1744 p_ele_foundHitsVsPhi->GetYaxis()->SetTitle(
"<N_{hits}>");
1745 p_ele_foundHitsVsPhi->Write();
1747 p_ele_lostHitsVsEta->GetXaxis()->SetTitle(
"#eta");
1748 p_ele_lostHitsVsEta->GetYaxis()->SetTitle(
"<N_{hits}>");
1749 p_ele_lostHitsVsEta->Write();
1751 p_ele_lostHitsVsPhi->GetXaxis()->SetTitle(
"#phi (rad)");
1752 p_ele_lostHitsVsPhi->GetYaxis()->SetTitle(
"<N_{hits}>");
1753 p_ele_lostHitsVsPhi->Write();
1755 p_ele_vertexTIPVsEta->SetTitle(
"mean tip (wrt gen vtx) vs eta");
1756 p_ele_vertexTIPVsEta->GetXaxis()->SetTitle(
"#eta");
1757 p_ele_vertexTIPVsEta->GetYaxis()->SetTitle(
"<TIP> (cm)");
1758 p_ele_vertexTIPVsEta->Write();
1760 p_ele_vertexTIPVsPhi->SetTitle(
"mean tip (wrt gen vtx) vs phi");
1761 p_ele_vertexTIPVsPhi->GetXaxis()->SetTitle(
"#phi");
1762 p_ele_vertexTIPVsPhi->GetYaxis()->SetTitle(
"<TIP> (cm)");
1763 p_ele_vertexTIPVsPhi->Write();
1765 p_ele_vertexTIPVsPt->SetTitle(
"mean tip (wrt gen vtx) vs phi");
1766 p_ele_vertexTIPVsPt->GetXaxis()->SetTitle(
"p_{T} (GeV/c)");
1767 p_ele_vertexTIPVsPt->GetYaxis()->SetTitle(
"<TIP> (cm)");
1768 p_ele_vertexTIPVsPt->Write();
2005 p_ele_seed_dphi2VsEta_->SetTitle(
"mean ele seed dphi 2nd layer vs eta");
2006 p_ele_seed_dphi2VsEta_->GetXaxis()->SetTitle(
"#eta");
2007 p_ele_seed_dphi2VsEta_->GetYaxis()->SetTitle(
"<#phi_{pred} - #phi_{hit}, 2nd layer> (rad)");
2008 p_ele_seed_dphi2VsEta_->SetMinimum(-0.004);
2009 p_ele_seed_dphi2VsEta_->SetMaximum(0.004);
2010 p_ele_seed_dphi2VsEta_->Write();
2012 p_ele_seed_dphi2VsPt_->SetTitle(
"mean ele seed dphi 2nd layer vs pt");
2013 p_ele_seed_dphi2VsPt_->GetXaxis()->SetTitle(
"p_{T} (GeV/c)");
2014 p_ele_seed_dphi2VsPt_->GetYaxis()->SetTitle(
"<#phi_{pred} - #phi_{hit}, 2nd layer> (rad)");
2015 p_ele_seed_dphi2VsPt_->SetMinimum(-0.004);
2016 p_ele_seed_dphi2VsPt_->SetMaximum(0.004);
2017 p_ele_seed_dphi2VsPt_->Write();
2020 p_ele_seed_drz2VsEta_->SetTitle(
"mean ele seed dr(dz) 2nd layer vs eta");
2021 p_ele_seed_drz2VsEta_->GetXaxis()->SetTitle(
"#eta");
2022 p_ele_seed_drz2VsEta_->GetYaxis()->SetTitle(
"<r(z)_{pred} - r(z)_{hit}, 2nd layer> (cm)");
2023 p_ele_seed_drz2VsEta_->SetMinimum(-0.15);
2024 p_ele_seed_drz2VsEta_->SetMaximum(0.15);
2025 p_ele_seed_drz2VsEta_->Write();
2027 p_ele_seed_drz2VsPt_->SetTitle(
"mean ele seed dr(dz) 2nd layer vs pt");
2028 p_ele_seed_drz2VsPt_->GetXaxis()->SetTitle(
"p_{T} (GeV/c)");
2029 p_ele_seed_drz2VsPt_->GetYaxis()->SetTitle(
"<r(z)_{pred} - r(z)_{hit}, 2nd layer> (cm)");
2030 p_ele_seed_drz2VsPt_->SetMinimum(-0.15);
2031 p_ele_seed_drz2VsPt_->SetMaximum(0.15);
2032 p_ele_seed_drz2VsPt_->Write();
2058 h_ele_etaEff->Write();
2059 h_ele_zEff->Write();
2060 h_ele_phiEff->Write();
2061 h_ele_absetaEff->Write();
2062 h_ele_ptEff->Write();
2063 h_ele_etaEff_all->Write();
2064 h_ele_ptEff_all->Write();
2065 h_ele_eta_goldenFrac->Write();
2066 h_ele_eta_bbremFrac->Write();
2067 h_ele_eta_narrowFrac->Write();
2068 h_ele_eta_showerFrac->Write();
2069 h_ele_xOverX0VsEta->Write();
2103 std::cout <<
"analyzing new event " << std::endl;
2108 edm::LogInfo(
"") <<
"\n\n =================> Treating event " << iEvent.
id() <<
" Number of electrons "
2109 << gsfElectrons.
product()->size();
2120 histNum_->Fill((*gsfElectrons).size());
2123 for (reco::GsfElectronCollection::const_iterator gsfIter = gsfElectrons->begin(); gsfIter != gsfElectrons->end();
2137 double d = gsfIter->vertex().x() * gsfIter->vertex().x() + gsfIter->vertex().y() * gsfIter->vertex().y();
2141 float enrj1 = gsfIter->superCluster()->energy();
2143 for (reco::GsfElectronCollection::const_iterator gsfIter2 = gsfIter + 1; gsfIter2 != gsfElectrons->end();
2146 float mee2 = p12.Dot(p12);
2148 float enrj2 = gsfIter2->superCluster()->energy();
2150 if (gsfIter->ecalDrivenSeed() && gsfIter2->ecalDrivenSeed())
2152 if (gsfIter->charge() * gsfIter2->charge() < 0.)
2158 int matchingObjectNum = 0;
2160 for (reco::GenJetCollection::const_iterator moIter = genJets->begin(); moIter != genJets->end(); ++moIter) {
2162 matchingObjectNum++;
2180 bool okGsfFound =
false;
2181 double gsfOkRatio = 999999.;
2185 for (reco::GsfElectronCollection::const_iterator gsfIter = gsfElectrons->begin(); gsfIter != gsfElectrons->end();
2187 double dphi = gsfIter->
phi() - moIter->phi();
2189 dphi = dphi < 0 ? (CLHEP::twopi) + dphi : dphi - CLHEP::twopi;
2194 double tmpGsfRatio = gsfIter->p() / moIter->energy();
2196 gsfOkRatio = tmpGsfRatio;
2197 bestGsfElectron = *gsfIter;
2248 if (bestGsfElectron.
isEB())
2250 if (bestGsfElectron.
isEE())
2258 double R =
std::sqrt(sclRef->x() * sclRef->x() + sclRef->y() * sclRef->y() + sclRef->z() * sclRef->z());
2259 double Rt =
std::sqrt(sclRef->x() * sclRef->x() + sclRef->y() * sclRef->y());
2263 if (bestGsfElectron.
isEB())
2265 if (bestGsfElectron.
isEE())
2271 if (bestGsfElectron.
isEB())
2273 if (bestGsfElectron.
isEE())
2276 if (bestGsfElectron.
isEB())
2278 if (bestGsfElectron.
isEE())
2281 if (bestGsfElectron.
isEB())
2283 if (bestGsfElectron.
isEE())
2286 if (bestGsfElectron.
isEB())
2288 if (bestGsfElectron.
isEE())
2313 bestGsfElectron.
gsfTrack()->outerMomentum().R());
2329 bestGsfElectron.
gsfTrack()->normalizedChi2(),
2353 if (bestGsfElectron.
isEB())
2357 if (bestGsfElectron.
isEE())
2367 if (bestGsfElectron.
isEB())
2371 if (bestGsfElectron.
isEE())
2381 if (bestGsfElectron.
isEB())
2385 if (bestGsfElectron.
isEE())
2395 if (bestGsfElectron.
isEB())
2399 if (bestGsfElectron.
isEE())
2409 if (bestGsfElectron.
isEB())
2413 if (bestGsfElectron.
isEE())
2423 if (bestGsfElectron.
isEB())
2427 if (bestGsfElectron.
isEE())
2437 if (bestGsfElectron.
isEB())
2441 if (bestGsfElectron.
isEE())
2451 if (bestGsfElectron.
isEB())
2455 if (bestGsfElectron.
isEE())
2465 if (bestGsfElectron.
isEB())
2469 if (bestGsfElectron.
isEE())
2479 if (bestGsfElectron.
isEB())
2483 if (bestGsfElectron.
isEE())
2493 if (bestGsfElectron.
isEB())
2497 if (bestGsfElectron.
isEE())
2510 if (bestGsfElectron.
isEE())
2524 double fbrem_mean = 0.;
2527 1. - bestGsfElectron.
gsfTrack()->outerMomentum().R() / bestGsfElectron.
gsfTrack()->innerMomentum().R();
2528 double fbrem_mode = bestGsfElectron.
fbrem();
2543 bestGsfElectron.
gsfTrack()->innerMomentum().R());
2547 bestGsfElectron.
gsfTrack()->innerMomentum().R());
2557 bestGsfElectron.
gsfTrack()->innerMomentum().Rho());
2561 bestGsfElectron.
gsfTrack()->innerMomentum().Rho());
TH1F * h_ele_lostHits_endcaps
TH1F * h_ele_tkSumPt_dr04
void analyze(const edm::Event &e, const edm::EventSetup &c) override
TH2F * h_ele_PinMnPoutVsPhi_mode
TH2F * h_ele_EeleOPoutVsE
TH2F * h_ele_PhiMnPhimatchingObjectVsPt
TH1F * h_matchingObjectNum
TH1F * h_ele_EeleOPout_eg_endcaps
TH2F * h_ele_PinMnPoutVsE_mode
TH1F * h_ele_dEtaSc_propVtx_barrel
static std::vector< std::string > checklist log
const edm::EventSetup & c
TH2F * h_ele_dPhiClVsPhi_propOut
TH1F * histSclEoEmatchingObjectShowering_endcaps
TH1F * h_ele_matchingObjectEta_matched
TH1F * h_ele_ecalRecHitSumEt_dr04
TH2F * h_ele_PinVsPoutShowering_mean
TH2F * h_ele_lostHitsVsEta
TH2F * h_ele_PtinVsPtoutShowering_mode
TProfile * h_ele_fbremVsEta_mode
virtual SuperClusterRef parentSuperCluster() const
TH1F * h_ele_EoPout_barrel
double pt() const final
transverse momentum
TH1F * h_ele_lostHits_barrel
TH1F * histSclEoEmatchingObjectGolden_endcaps
TH1F * h_ele_dEtaCl_propOut_barrel
float eSuperClusterOverP() const
TH2F * h_ele_outerPtVsPhi_mode
TH2F * h_ele_E2mnE1vsMee_all
TH1F * h_ele_dEtaSc_propVtx_endcaps
TH2F * h_ele_dEtaScVsEta_propVtx
TH1F * h_ele_EseedOP_endcaps
TH2F * h_ele_dPhiEleClVsPt_propOut
TH1F * h_ele_EseedOP_eg_barrel
TH2F * h_ele_vertexTIPVsPt
TH2F * h_ele_dPhiEleClVsPhi_propOut
float superclusterEnergy[10]
TH1F * histSclE1x5_endcaps_
#define DEFINE_FWK_MODULE(type)
TH1F * h_ele_EoP_eg_barrel
TH2F * h_ele_vertexPtVsEta
TH2F * h_ele_dPhiScVsEta_propVtx
TH2F * h_ele_dEtaClVsEta_propOut
TH1F * h_ele_hcalDepth1TowerSumEt_dr04
math::XYZVectorF trackMomentumAtVtx() const
TH1F * h_ele_tkSumPt_dr03
TH1F * h_ele_dPhiCl_propOut_endcaps
TH1F * h_ele_dPhiSc_propVtx
float dr03HcalTowerSumEt(int depth=0) const
TH1F * histSclE5x5_barrel_
TH2F * h_ele_dEtaClVsPt_propOut
TH2F * h_ele_dEtaClVsPhi_propOut
TH2F * h_ele_EtaMnEtamatchingObjectVsEta
float dr04TkSumPt() const
TH2F * h_ele_outerPtVsPt_mode
TH1F * h_ele_EoPout_eg_barrel
TH2F * h_ele_ambiguousTracksVsEta
TH1F * h_ele_dEtaCl_propOut
const Point & vertex() const override
vertex position (overwritten by PF...)
TrajectoryStateTransform transformer_
TH2F * h_ele_vertexPtVsPhi
TH1F * histSclSigIEtaIEta_
TH1F * h_ele_dPhiSc_propVtx_eg_endcaps
TH2F * h_ele_dEtaScVsPt_propVtx
TH1F * h_ele_dPhiCl_propOut
TH1F * h_ele_PinMnPout_mode
TH1F * h_matchingObjectEta
TH2F * h_ele_dPhiClVsPt_propOut
TH1F * h_ele_dPhiEleCl_propOut_eg
TH2F * h_ele_PinVsPoutShowering_mode
TH1F * h_ele_matchingObjectZ_matched
TH1F * histSclE1x5_barrel_
TH1F * h_ele_vertexEta_all
TH1F * histSclSigEtaEta_endcaps_
TH2F * h_ele_seed_drz2VsEta_
TH2F * h_ele_seed_dphi2VsEta_
TH2F * h_ele_outerPVsEta_mode
TH1F * h_ele_hcalDepth2TowerSumEt_dr03
TH1F * h_ele_EeleOPout_endcaps
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
GsfTrackRef gsfTrack() const override
reference to a GsfTrack
float deltaEtaSuperClusterTrackAtVtx() const
TH2F * h_ele_EtaMnEtamatchingObjectVsPt
double p() const final
magnitude of momentum vector
float hadronicOverEm() const
TH1F * h_matchingObjectPhi
float eSeedClusterOverP() const
TH1F * h_ele_dEtaEleCl_propOut_endcaps
TH1F * h_ele_dPhiEleCl_propOut_endcaps
float dr04EcalRecHitSumEt() const
TH1F * histSclEoEmatchingObjectGolden_barrel
TH1F * h_ele_dPhiEleCl_propOut_eg_endcaps
TH2F * h_ele_dPhiEleClVsEta_propOut
float deltaPhiSeedClusterTrackAtCalo() const
TH1F * h_ele_EoPout_endcaps
TH2F * h_ele_PinMnPoutVsPt_mode
TH2F * h_ele_PinVsPoutGolden_mean
TH1F * h_ele_PoPmatchingObject
TH2F * h_ele_PhiMnPhimatchingObjectVsEta
TH2F * h_ele_PoPmatchingObjectVsEta
math::XYZVectorF trackMomentumOut() const
TProfile * h_ele_fbremVsEta_mean
TH2F * h_ele_dEtaScVsPhi_propVtx
float deltaPhiSuperClusterTrackAtVtx() const
TH1F * histSclE5x5_endcaps_
TH2F * h_ele_PtinVsPtoutGolden_mode
TH1F * h_ele_dEtaEleCl_propOut
TH1F * h_ele_dPhiEleCl_propOut_barrel
TH1F * histSclEoEmatchingObject_endcaps
float dr03TkSumPt() const
TH1F * h_ele_dPhiCl_propOut_all
Abs< T >::type abs(const T &t)
TH1F * h_ele_hcalDepth2TowerSumEt_dr04
TH2F * h_ele_seed_drz2VsPt_
TH1F * h_ele_dPhiCl_propOut_eg_barrel
TH2F * h_ele_PoPmatchingObjectVsPhi
float eEleClusterOverPout() const
TH2F * h_ele_PtinVsPtoutGolden_mean
TH1F * h_ele_dPhiSc_propVtx_endcaps
float eSeedClusterOverPout() const
TH1F * h_ele_EoP_eg_endcaps
TH1F * h_ele_EoPout_eg_endcaps
TH1F * h_ele_PhiMnPhimatchingObject2
TH1F * h_ele_EeleOPout_eg_barrel
double py() const final
y coordinate of momentum vector
TH2F * h_ele_EeleOPoutVsEta
TH2F * h_ele_foundHitsVsPhi
TH2F * h_ele_PoPmatchingObjectVsPt
float scSigmaIEtaIEta() const
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
TH1F * h_ele_dEtaCl_propOut_eg_barrel
TH1F * histSclSigEtaEta_barrel_
TH1F * h_ele_dEtaEleCl_propOut_eg_barrel
float deltaPhiEleClusterTrackAtCalo() const
TH1F * histSclEoEmatchingObject_barrel
TH1F * h_ele_EseedOP_eg_endcaps
TH1F * h_ele_dPhiCl_propOut_eg
TH1F * h_ele_PoPmatchingObject_barrel
TH2F * h_ele_dEtaEleClVsPhi_propOut
TH1F * h_ele_matchingObjectPhi_matched
TH1F * h_matchingObjectPt
TH2F * h_ele_dPhiScVsPt_propVtx
TH1F * h_ele_HoE_eg_endcaps
TH1F * histSclEoEmatchingObjectShowering_barrel
TH1F * h_ele_dPhiCl_propOut_eg_endcaps
Log< level::Info, false > LogInfo
TH1F * h_ele_dEtaSc_propVtx_eg_endcaps
TH2F * h_ele_vertexTIPVsPhi
TH2F * h_ele_EseedOPVsPhi
TH1F * h_ele_dEtaEleCl_propOut_eg_endcaps
TH1F * h_ele_EeleOPout_eg
TH1F * h_ele_dEtaEleCl_propOut_eg
TH1F * h_ele_dEtaEleCl_propOut_barrel
TH2F * h_ele_foundHitsVsPt
TH2F * h_ele_seed_dphi2VsPt_
TH1F * h_ele_matchingObjectAbsEta_matched
T const * product() const
TH2F * h_ele_PtinVsPtoutShowering_mean
TH1F * h_ele_dEtaSc_propVtx_all
float deltaEtaEleClusterTrackAtCalo() const
Classification classification() const
TH1F * h_ele_EeleOPout_all
TH2F * h_ele_dPhiScVsPhi_propVtx
TH1F * h_ele_dPhiSc_propVtx_all
TH2F * h_ele_lostHitsVsPhi
T getParameter(std::string const &) const
TH2F * h_ele_outerPtVsEta_mode
GsfTrackRefVector::size_type ambiguousGsfTracksSize() const
TH2F * h_ele_E2mnE1vsMee_egeg_all
TH2F * h_ele_foundHitsVsEta
TH1F * h_ele_matchingObjectPt_matched
TH1F * histSclSigIEtaIEta_barrel_
TH1F * histSclE2x5max_endcaps_
TH1F * h_ele_dPhiSc_propVtx_barrel
float dr03EcalRecHitSumEt() const
TH1F * histSclSigIEtaIEta_endcaps_
TH1F * h_ele_EeleOPout_barrel
TH1F * h_ele_HoE_fiducial
TH1F * h_ele_dPhiEleCl_propOut
TH1F * h_ele_EtaMnEtamatchingObject
TH1F * h_ele_EseedOP_barrel
float deltaEtaSeedClusterTrackAtCalo() const
TH2F * h_ele_EtaMnEtamatchingObjectVsPhi
float superclusterPhi[10]
TH1F * h_ele_dEtaSc_propVtx_eg_barrel
TH1F * h_ele_vertexPt_all
TH2F * h_ele_EseedOPVsEta
TH2F * h_ele_PhiMnPhimatchingObjectVsPhi
bool trackerDrivenSeed() const
TH1F * h_ele_dPhiEleCl_propOut_eg_barrel
TH1F * h_ele_vertexAbsEta
TH1F * h_ele_dEtaCl_propOut_eg
TH1F * h_ele_dEtaCl_propOut_endcaps
float superclusterEta[10]
edm::InputTag electronCollection_
const Point & position() const
position
TH2F * h_ele_ambiguousTracksVsPt
TH2F * h_ele_vertexTIPVsEta
edm::InputTag matchingObjectCollection_
TH1F * h_ele_foundHits_barrel
TH1F * histSclE2x5max_barrel_
TH1F * h_ele_ambiguousTracks
TH2F * h_ele_dPhiClVsEta_propOut
TH1F * h_matchingObjectAbsEta
TH1F * h_ele_dEtaCl_propOut_all
TH1F * h_ele_hcalDepth1TowerSumEt_dr03
TH2F * h_ele_dEtaEleClVsPt_propOut
float dr04HcalTowerSumEt(int depth=0) const
TH1F * h_ele_dEtaSc_propVtx
double phi() const final
momentum azimuthal angle
TH2F * h_ele_vertexEtaVsPhi
TH2F * h_ele_lostHitsVsPt
TH2F * h_ele_PinMnPoutVsChi2_mode
TH1F * h_ele_PoPmatchingObject_endcaps
TH2F * h_ele_EeleOPoutVsPhi
TH2F * h_ele_PinMnPoutVsEta_mode
TH2F * h_ele_ambiguousTracksVsPhi
TH1F * h_ele_seed_subdet2_
Power< A, B >::type pow(const A &a, const B &b)
TH1F * h_ele_HoE_eg_barrel
SuperClusterRef superCluster() const override
reference to a SuperCluster
~GsfElectronMCFakeAnalyzer() override
GsfElectronMCFakeAnalyzer(const edm::ParameterSet &conf)
TH1F * h_ele_dPhiSc_propVtx_eg_barrel
TH1F * h_ele_dPhiCl_propOut_barrel
TH1F * h_ele_PhiMnPhimatchingObject
TH1F * h_ele_dEtaCl_propOut_eg_endcaps
TH1F * h_ele_dPhiSc_propVtx_eg
int charge() const final
electric charge
TH1F * h_ele_dEtaSc_propVtx_eg
bool ecalDrivenSeed() const
TH1F * h_ele_chi2_endcaps
TH2F * h_ele_PinVsPoutGolden_mode
TH1F * h_ele_foundHits_endcaps
TH2F * h_ele_dEtaEleClVsEta_propOut
double eta() const final
momentum pseudorapidity
TH1F * h_ele_outerPt_mode
TH1F * h_ele_ecalRecHitSumEt_dr03