CMS 3D CMS Logo

Public Member Functions | Private Attributes

ElectronMcSignalValidator Class Reference

#include <ElectronMcSignalValidator.h>

Inheritance diagram for ElectronMcSignalValidator:
ElectronValidator edm::EDAnalyzer

List of all members.

Public Member Functions

virtual void analyze (const edm::Event &e, const edm::EventSetup &c)
virtual void beginJob ()
 ElectronMcSignalValidator (const edm::ParameterSet &conf)
virtual void endJob ()
virtual ~ElectronMcSignalValidator ()

Private Attributes

edm::InputTag beamSpotTag_
double deltaR_
double deta_max
double deta_min
int deta_nbin
int detamatch2D_nbin
double detamatch_max
double detamatch_min
int detamatch_nbin
double dphi_max
double dphi_min
int dphi_nbin
int dphimatch2D_nbin
double dphimatch_max
double dphimatch_min
int dphimatch_nbin
edm::InputTag electronCollection_
edm::InputTag electronCoreCollection_
edm::InputTag electronSeedCollection_
edm::InputTag electronTrackCollection_
int eop2D_nbin
double eop_max
int eop_nbin
double eopmaxsht
int eta2D_nbin
double eta_max
double eta_min
int eta_nbin
double fhits_max
int fhits_nbin
MonitorElementh1_ele_ambiguousTracks
MonitorElementh1_ele_charge
MonitorElementh1_ele_ChargeMnChargeTrue
MonitorElementh1_ele_chi2
MonitorElementh1_ele_chi2_barrel
MonitorElementh1_ele_chi2_endcaps
MonitorElementh1_ele_classes
MonitorElementh1_ele_convDcot
MonitorElementh1_ele_convDcot_all
MonitorElementh1_ele_convDist
MonitorElementh1_ele_convDist_all
MonitorElementh1_ele_convFlags
MonitorElementh1_ele_convFlags_all
MonitorElementh1_ele_convRadius
MonitorElementh1_ele_convRadius_all
MonitorElementh1_ele_dEtaCl_propOut
MonitorElementh1_ele_dEtaCl_propOut_all
MonitorElementh1_ele_dEtaCl_propOut_all_barrel
MonitorElementh1_ele_dEtaCl_propOut_all_endcaps
MonitorElementh1_ele_dEtaCl_propOut_barrel
MonitorElementh1_ele_dEtaCl_propOut_eg
MonitorElementh1_ele_dEtaCl_propOut_eg_barrel
MonitorElementh1_ele_dEtaCl_propOut_eg_endcaps
MonitorElementh1_ele_dEtaCl_propOut_endcaps
MonitorElementh1_ele_dEtaEleCl_propOut
MonitorElementh1_ele_dEtaEleCl_propOut_barrel
MonitorElementh1_ele_dEtaEleCl_propOut_eg
MonitorElementh1_ele_dEtaEleCl_propOut_eg_barrel
MonitorElementh1_ele_dEtaEleCl_propOut_eg_endcaps
MonitorElementh1_ele_dEtaEleCl_propOut_endcaps
MonitorElementh1_ele_dEtaSc_propVtx
MonitorElementh1_ele_dEtaSc_propVtx_all
MonitorElementh1_ele_dEtaSc_propVtx_all_barrel
MonitorElementh1_ele_dEtaSc_propVtx_all_endcaps
MonitorElementh1_ele_dEtaSc_propVtx_barrel
MonitorElementh1_ele_dEtaSc_propVtx_eg
MonitorElementh1_ele_dEtaSc_propVtx_eg_barrel
MonitorElementh1_ele_dEtaSc_propVtx_eg_endcaps
MonitorElementh1_ele_dEtaSc_propVtx_endcaps
MonitorElementh1_ele_dPhiCl_propOut
MonitorElementh1_ele_dPhiCl_propOut_all
MonitorElementh1_ele_dPhiCl_propOut_all_barrel
MonitorElementh1_ele_dPhiCl_propOut_all_endcaps
MonitorElementh1_ele_dPhiCl_propOut_barrel
MonitorElementh1_ele_dPhiCl_propOut_eg
MonitorElementh1_ele_dPhiCl_propOut_eg_barrel
MonitorElementh1_ele_dPhiCl_propOut_eg_endcaps
MonitorElementh1_ele_dPhiCl_propOut_endcaps
MonitorElementh1_ele_dPhiEleCl_propOut
MonitorElementh1_ele_dPhiEleCl_propOut_barrel
MonitorElementh1_ele_dPhiEleCl_propOut_eg
MonitorElementh1_ele_dPhiEleCl_propOut_eg_barrel
MonitorElementh1_ele_dPhiEleCl_propOut_eg_endcaps
MonitorElementh1_ele_dPhiEleCl_propOut_endcaps
MonitorElementh1_ele_dPhiSc_propVtx
MonitorElementh1_ele_dPhiSc_propVtx_all
MonitorElementh1_ele_dPhiSc_propVtx_all_barrel
MonitorElementh1_ele_dPhiSc_propVtx_all_endcaps
MonitorElementh1_ele_dPhiSc_propVtx_barrel
MonitorElementh1_ele_dPhiSc_propVtx_eg
MonitorElementh1_ele_dPhiSc_propVtx_eg_barrel
MonitorElementh1_ele_dPhiSc_propVtx_eg_endcaps
MonitorElementh1_ele_dPhiSc_propVtx_endcaps
MonitorElementh1_ele_ecalRecHitSumEt_dr03
MonitorElementh1_ele_ecalRecHitSumEt_dr03_barrel
MonitorElementh1_ele_ecalRecHitSumEt_dr03_endcaps
MonitorElementh1_ele_ecalRecHitSumEt_dr04
MonitorElementh1_ele_ecalRecHitSumEt_dr04_barrel
MonitorElementh1_ele_ecalRecHitSumEt_dr04_endcaps
MonitorElementh1_ele_EeleOPout
MonitorElementh1_ele_EeleOPout_all
MonitorElementh1_ele_EeleOPout_all_barrel
MonitorElementh1_ele_EeleOPout_all_endcaps
MonitorElementh1_ele_EeleOPout_barrel
MonitorElementh1_ele_EeleOPout_eg
MonitorElementh1_ele_EeleOPout_eg_barrel
MonitorElementh1_ele_EeleOPout_eg_endcaps
MonitorElementh1_ele_EeleOPout_endcaps
MonitorElementh1_ele_EoP
MonitorElementh1_ele_EoP_barrel
MonitorElementh1_ele_EoP_eg
MonitorElementh1_ele_EoP_eg_barrel
MonitorElementh1_ele_EoP_eg_endcaps
MonitorElementh1_ele_EoP_endcaps
MonitorElementh1_ele_EoPout
MonitorElementh1_ele_EoPout_all
MonitorElementh1_ele_EoPout_all_barrel
MonitorElementh1_ele_EoPout_all_endcaps
MonitorElementh1_ele_EoPout_barrel
MonitorElementh1_ele_EoPout_eg
MonitorElementh1_ele_EoPout_eg_barrel
MonitorElementh1_ele_EoPout_eg_endcaps
MonitorElementh1_ele_EoPout_endcaps
MonitorElementh1_ele_EoverP_all
MonitorElementh1_ele_EoverP_all_barrel
MonitorElementh1_ele_EoverP_all_endcaps
MonitorElementh1_ele_EseedOP
MonitorElementh1_ele_EseedOP_all
MonitorElementh1_ele_EseedOP_all_barrel
MonitorElementh1_ele_EseedOP_all_endcaps
MonitorElementh1_ele_EseedOP_barrel
MonitorElementh1_ele_EseedOP_eg
MonitorElementh1_ele_EseedOP_eg_barrel
MonitorElementh1_ele_EseedOP_eg_endcaps
MonitorElementh1_ele_EseedOP_endcaps
MonitorElementh1_ele_Et
MonitorElementh1_ele_Et_all
MonitorElementh1_ele_eta
MonitorElementh1_ele_eta_bbrem
MonitorElementh1_ele_eta_golden
MonitorElementh1_ele_eta_narrow
MonitorElementh1_ele_eta_shower
MonitorElementh1_ele_EtaMnEtaTrue
MonitorElementh1_ele_EtaMnEtaTrue_barrel
MonitorElementh1_ele_EtaMnEtaTrue_endcaps
MonitorElementh1_ele_fbrem
MonitorElementh1_ele_fbrem_eg
MonitorElementh1_ele_foundHits
MonitorElementh1_ele_foundHits_barrel
MonitorElementh1_ele_foundHits_endcaps
MonitorElementh1_ele_hcalTowerSumEt_dr03_depth1
MonitorElementh1_ele_hcalTowerSumEt_dr03_depth1_barrel
MonitorElementh1_ele_hcalTowerSumEt_dr03_depth1_endcaps
MonitorElementh1_ele_hcalTowerSumEt_dr03_depth2
MonitorElementh1_ele_hcalTowerSumEt_dr04_depth1
MonitorElementh1_ele_hcalTowerSumEt_dr04_depth1_barrel
MonitorElementh1_ele_hcalTowerSumEt_dr04_depth1_endcaps
MonitorElementh1_ele_hcalTowerSumEt_dr04_depth2
MonitorElementh1_ele_HoE
MonitorElementh1_ele_HoE_all
MonitorElementh1_ele_HoE_all_barrel
MonitorElementh1_ele_HoE_all_endcaps
MonitorElementh1_ele_HoE_barrel
MonitorElementh1_ele_HoE_eg
MonitorElementh1_ele_HoE_eg_barrel
MonitorElementh1_ele_HoE_eg_endcaps
MonitorElementh1_ele_HoE_endcaps
MonitorElementh1_ele_HoE_fiducial
MonitorElementh1_ele_lostHits
MonitorElementh1_ele_lostHits_barrel
MonitorElementh1_ele_lostHits_endcaps
MonitorElementh1_ele_mee_all
MonitorElementh1_ele_mee_os
MonitorElementh1_ele_mee_os_bb
MonitorElementh1_ele_mee_os_ebeb
MonitorElementh1_ele_mee_os_ebee
MonitorElementh1_ele_mee_os_eeee
MonitorElementh1_ele_mee_os_gb
MonitorElementh1_ele_mee_os_gg
MonitorElementh1_ele_mva
MonitorElementh1_ele_mva_eg
MonitorElementh1_ele_outerP
MonitorElementh1_ele_outerP_mode
MonitorElementh1_ele_outerPt
MonitorElementh1_ele_outerPt_mode
MonitorElementh1_ele_PhiMnPhiTrue
MonitorElementh1_ele_PhiMnPhiTrue2
MonitorElementh1_ele_PhiMnPhiTrue_barrel
MonitorElementh1_ele_PhiMnPhiTrue_endcaps
MonitorElementh1_ele_PinMnPout
MonitorElementh1_ele_PinMnPout_mode
MonitorElementh1_ele_PoPtrue
MonitorElementh1_ele_PoPtrue_barrel
MonitorElementh1_ele_PoPtrue_endcaps
MonitorElementh1_ele_PoPtrue_golden_barrel
MonitorElementh1_ele_PoPtrue_golden_endcaps
MonitorElementh1_ele_PoPtrue_showering_barrel
MonitorElementh1_ele_PoPtrue_showering_endcaps
MonitorElementh1_ele_provenance
MonitorElementh1_ele_PtoPttrue
MonitorElementh1_ele_PtoPttrue_barrel
MonitorElementh1_ele_PtoPttrue_endcaps
MonitorElementh1_ele_seed_dphi2_
MonitorElementh1_ele_seed_dphi2pos_
MonitorElementh1_ele_seed_drz2_
MonitorElementh1_ele_seed_drz2pos_
MonitorElementh1_ele_seed_mask_
MonitorElementh1_ele_seed_mask_bpix_
MonitorElementh1_ele_seed_mask_fpix_
MonitorElementh1_ele_seed_mask_tec_
MonitorElementh1_ele_seed_subdet2_
MonitorElementh1_ele_simAbsEta_matched
MonitorElementh1_ele_simAbsEta_matched_qmisid
MonitorElementh1_ele_simEta_matched
MonitorElementh1_ele_simEta_matched_qmisid
MonitorElementh1_ele_simPhi_matched
MonitorElementh1_ele_simPhi_matched_qmisid
MonitorElementh1_ele_simPt_matched
MonitorElementh1_ele_simPt_matched_qmisid
MonitorElementh1_ele_simZ_matched
MonitorElementh1_ele_simZ_matched_qmisid
MonitorElementh1_ele_TIP_all
MonitorElementh1_ele_TIP_all_barrel
MonitorElementh1_ele_TIP_all_endcaps
MonitorElementh1_ele_tkSumPt_dr03
MonitorElementh1_ele_tkSumPt_dr03_barrel
MonitorElementh1_ele_tkSumPt_dr03_endcaps
MonitorElementh1_ele_tkSumPt_dr04
MonitorElementh1_ele_tkSumPt_dr04_barrel
MonitorElementh1_ele_tkSumPt_dr04_endcaps
MonitorElementh1_ele_vertexAbsEta
MonitorElementh1_ele_vertexEta
MonitorElementh1_ele_vertexEta_all
MonitorElementh1_ele_vertexP
MonitorElementh1_ele_vertexPhi
MonitorElementh1_ele_vertexPt
MonitorElementh1_ele_vertexPt_5100
MonitorElementh1_ele_vertexPt_all
MonitorElementh1_ele_vertexTIP
MonitorElementh1_ele_vertexX
MonitorElementh1_ele_vertexY
MonitorElementh1_ele_vertexZ
MonitorElementh1_eleNum
MonitorElementh1_gamNum
MonitorElementh1_mcNum
MonitorElementh1_recCoreNum_
MonitorElementh1_recEleNum_
MonitorElementh1_recSeedNum_
MonitorElementh1_recTrackNum_
MonitorElementh1_scl_E1x5_
MonitorElementh1_scl_E1x5_barrel_
MonitorElementh1_scl_E1x5_eg_
MonitorElementh1_scl_E1x5_eg_barrel_
MonitorElementh1_scl_E1x5_eg_endcaps_
MonitorElementh1_scl_E1x5_endcaps_
MonitorElementh1_scl_E2x5max_
MonitorElementh1_scl_E2x5max_barrel_
MonitorElementh1_scl_E2x5max_eg_
MonitorElementh1_scl_E2x5max_eg_barrel_
MonitorElementh1_scl_E2x5max_eg_endcaps_
MonitorElementh1_scl_E2x5max_endcaps_
MonitorElementh1_scl_E5x5_
MonitorElementh1_scl_E5x5_barrel_
MonitorElementh1_scl_E5x5_eg_
MonitorElementh1_scl_E5x5_eg_barrel_
MonitorElementh1_scl_E5x5_eg_endcaps_
MonitorElementh1_scl_E5x5_endcaps_
MonitorElementh1_scl_En_
MonitorElementh1_scl_EoEtrue_barrel
MonitorElementh1_scl_EoEtrue_barrel_eg
MonitorElementh1_scl_EoEtrue_barrel_etagap
MonitorElementh1_scl_EoEtrue_barrel_new
MonitorElementh1_scl_EoEtrue_barrel_new_eg
MonitorElementh1_scl_EoEtrue_barrel_new_etagap
MonitorElementh1_scl_EoEtrue_barrel_new_phigap
MonitorElementh1_scl_EoEtrue_barrel_phigap
MonitorElementh1_scl_EoEtrue_ebeegap
MonitorElementh1_scl_EoEtrue_ebeegap_new
MonitorElementh1_scl_EoEtrue_endcaps
MonitorElementh1_scl_EoEtrue_endcaps_deegap
MonitorElementh1_scl_EoEtrue_endcaps_eg
MonitorElementh1_scl_EoEtrue_endcaps_new
MonitorElementh1_scl_EoEtrue_endcaps_new_deegap
MonitorElementh1_scl_EoEtrue_endcaps_new_eg
MonitorElementh1_scl_EoEtrue_endcaps_new_ringgap
MonitorElementh1_scl_EoEtrue_endcaps_ringgap
MonitorElementh1_scl_EoEtrueGolden_barrel
MonitorElementh1_scl_EoEtrueGolden_endcaps
MonitorElementh1_scl_EoEtrueShowering_barrel
MonitorElementh1_scl_EoEtrueShowering_endcaps
MonitorElementh1_scl_Et_
MonitorElementh1_scl_Eta_
MonitorElementh1_scl_Phi_
MonitorElementh1_scl_SigEtaEta_
MonitorElementh1_scl_SigEtaEta_barrel_
MonitorElementh1_scl_SigEtaEta_eg_
MonitorElementh1_scl_SigEtaEta_eg_barrel_
MonitorElementh1_scl_SigEtaEta_eg_endcaps_
MonitorElementh1_scl_SigEtaEta_endcaps_
MonitorElementh1_scl_SigIEtaIEta_
MonitorElementh1_scl_SigIEtaIEta_barrel_
MonitorElementh1_scl_SigIEtaIEta_eg_
MonitorElementh1_scl_SigIEtaIEta_eg_barrel_
MonitorElementh1_scl_SigIEtaIEta_eg_endcaps_
MonitorElementh1_scl_SigIEtaIEta_endcaps_
MonitorElementh1_simAbsEta
MonitorElementh1_simEta
MonitorElementh1_simP
MonitorElementh1_simPhi
MonitorElementh1_simPt
MonitorElementh1_simZ
MonitorElementh2_ele_ambiguousTracksVsEta
MonitorElementh2_ele_ambiguousTracksVsPhi
MonitorElementh2_ele_ambiguousTracksVsPt
MonitorElementh2_ele_chargeVsEta
MonitorElementh2_ele_chargeVsPhi
MonitorElementh2_ele_chargeVsPt
MonitorElementh2_ele_chi2VsEta
MonitorElementh2_ele_chi2VsPhi
MonitorElementh2_ele_chi2VsPt
MonitorElementh2_ele_dEtaClVsEta_propOut
MonitorElementh2_ele_dEtaClVsPhi_propOut
MonitorElementh2_ele_dEtaClVsPt_propOut
MonitorElementh2_ele_dEtaEleClVsEta_propOut
MonitorElementh2_ele_dEtaEleClVsPhi_propOut
MonitorElementh2_ele_dEtaEleClVsPt_propOut
MonitorElementh2_ele_dEtaScVsEta_propVtx
MonitorElementh2_ele_dEtaScVsPhi_propVtx
MonitorElementh2_ele_dEtaScVsPt_propVtx
MonitorElementh2_ele_dPhiClVsEta_propOut
MonitorElementh2_ele_dPhiClVsPhi_propOut
MonitorElementh2_ele_dPhiClVsPt_propOut
MonitorElementh2_ele_dPhiEleClVsEta_propOut
MonitorElementh2_ele_dPhiEleClVsPhi_propOut
MonitorElementh2_ele_dPhiEleClVsPt_propOut
MonitorElementh2_ele_dPhiScVsEta_propVtx
MonitorElementh2_ele_dPhiScVsPhi_propVtx
MonitorElementh2_ele_dPhiScVsPt_propVtx
MonitorElementh2_ele_E2mnE1vsMee_all
MonitorElementh2_ele_E2mnE1vsMee_egeg_all
MonitorElementh2_ele_EeleOPoutVsE
MonitorElementh2_ele_EeleOPoutVsEta
MonitorElementh2_ele_EeleOPoutVsPhi
MonitorElementh2_ele_EoPoutVsE
MonitorElementh2_ele_EoPoutVsEta
MonitorElementh2_ele_EoPoutVsPhi
MonitorElementh2_ele_EoPVsE
MonitorElementh2_ele_EoPVsEta
MonitorElementh2_ele_EoPVsPhi
MonitorElementh2_ele_EseedOPVsE
MonitorElementh2_ele_EseedOPVsEta
MonitorElementh2_ele_EseedOPVsPhi
MonitorElementh2_ele_EtaMnEtaTrueVsEta
MonitorElementh2_ele_EtaMnEtaTrueVsPhi
MonitorElementh2_ele_EtaMnEtaTrueVsPt
MonitorElementh2_ele_foundHitsVsEta
MonitorElementh2_ele_foundHitsVsPhi
MonitorElementh2_ele_foundHitsVsPt
MonitorElementh2_ele_HoEVsE
MonitorElementh2_ele_HoEVsEta
MonitorElementh2_ele_HoEVsPhi
MonitorElementh2_ele_lostHitsVsEta
MonitorElementh2_ele_lostHitsVsPhi
MonitorElementh2_ele_lostHitsVsPt
MonitorElementh2_ele_outerPtVsEta_mode
MonitorElementh2_ele_outerPtVsPhi_mode
MonitorElementh2_ele_outerPtVsPt_mode
MonitorElementh2_ele_outerPVsEta_mode
MonitorElementh2_ele_PhiMnPhiTrueVsEta
MonitorElementh2_ele_PhiMnPhiTrueVsPhi
MonitorElementh2_ele_PhiMnPhiTrueVsPt
MonitorElementh2_ele_PinMnPoutVsChi2_mode
MonitorElementh2_ele_PinMnPoutVsE_mode
MonitorElementh2_ele_PinMnPoutVsEta_mode
MonitorElementh2_ele_PinMnPoutVsPhi_mode
MonitorElementh2_ele_PinMnPoutVsPt_mode
MonitorElementh2_ele_PinVsPoutGolden_mean
MonitorElementh2_ele_PinVsPoutGolden_mode
MonitorElementh2_ele_PinVsPoutShowering_mean
MonitorElementh2_ele_PinVsPoutShowering_mode
MonitorElementh2_ele_PoPtrueVsEta
MonitorElementh2_ele_PoPtrueVsPhi
MonitorElementh2_ele_PoPtrueVsPt
MonitorElementh2_ele_PtinVsPtoutGolden_mean
MonitorElementh2_ele_PtinVsPtoutGolden_mode
MonitorElementh2_ele_PtinVsPtoutShowering_mean
MonitorElementh2_ele_PtinVsPtoutShowering_mode
MonitorElementh2_ele_seed_dphi2posVsEta_
MonitorElementh2_ele_seed_dphi2posVsPt_
MonitorElementh2_ele_seed_dphi2VsEta_
MonitorElementh2_ele_seed_dphi2VsPt_
MonitorElementh2_ele_seed_drz2posVsEta_
MonitorElementh2_ele_seed_drz2posVsPt_
MonitorElementh2_ele_seed_drz2VsEta_
MonitorElementh2_ele_seed_drz2VsPt_
MonitorElementh2_ele_simPtEta_matched
MonitorElementh2_ele_vertexEtaVsPhi
MonitorElementh2_ele_vertexPtVsEta
MonitorElementh2_ele_vertexPtVsPhi
MonitorElementh2_ele_vertexTIPVsEta
MonitorElementh2_ele_vertexTIPVsPhi
MonitorElementh2_ele_vertexTIPVsPt
MonitorElementh2_scl_EoEtruePfVsEg
MonitorElementh2_scl_EtaVsPhi_
MonitorElementh2_scl_EtVsEta_
MonitorElementh2_scl_EtVsPhi_
MonitorElementh2_simPtEta
double hoe_max
double hoe_min
int hoe_nbin
double lhits_max
int lhits_nbin
std::vector< int > matchingIDs_
std::vector< int > matchingMotherIDs_
double maxAbsEta_
double maxPt_
float mcEnergy [10]
float mcEta [10]
float mcPhi [10]
float mcPt [10]
float mcQ [10]
edm::InputTag mcTruthCollection_
double mee_max
double mee_min
int mee_nbin
std::string outputFile_
MonitorElementp1_ele_fbremVsEta_mean
MonitorElementp1_ele_fbremVsEta_mode
int p2D_nbin
double p_max
int p_nbin
edm::ESHandle< TrackerGeometrypDD
int phi2D_nbin
double phi_max
double phi_min
int phi_nbin
double poptrue_max
double poptrue_min
int poptrue_nbin
int pt2D_nbin
double pt_max
int pt_nbin
int pteff_nbin
bool readAOD_
float seedEta [10]
float seedMomentum [10]
float seedPhi [10]
float seedPt [10]
float seedQ [10]
float superclusterEnergy [10]
float superclusterEt [10]
float superclusterEta [10]
float superclusterPhi [10]
edm::ESHandle< MagneticFieldtheMagField
TrajectoryStateTransform transformer_
int xyz_nbin

Detailed Description

Definition at line 15 of file ElectronMcSignalValidator.h.


Constructor & Destructor Documentation

ElectronMcSignalValidator::ElectronMcSignalValidator ( const edm::ParameterSet conf) [explicit]

Definition at line 44 of file ElectronMcSignalValidator.cc.

References beamSpotTag_, deltaR_, deta_max, deta_min, deta_nbin, detamatch2D_nbin, detamatch_max, detamatch_min, detamatch_nbin, dphi_max, dphi_min, dphi_nbin, dphimatch2D_nbin, dphimatch_max, dphimatch_min, dphimatch_nbin, electronCollection_, electronCoreCollection_, electronSeedCollection_, electronTrackCollection_, eop2D_nbin, eop_max, eop_nbin, eopmaxsht, eta2D_nbin, eta_max, eta_min, eta_nbin, fhits_max, fhits_nbin, edm::ParameterSet::getParameter(), hoe_max, hoe_min, hoe_nbin, lhits_max, lhits_nbin, matchingIDs_, matchingMotherIDs_, maxAbsEta_, maxPt_, mcTruthCollection_, mee_max, mee_min, mee_nbin, outputFile_, p2D_nbin, p_max, p_nbin, phi2D_nbin, phi_max, phi_min, phi_nbin, poptrue_max, poptrue_min, poptrue_nbin, pt2D_nbin, pt_max, pt_nbin, pteff_nbin, readAOD_, and xyz_nbin.

 : ElectronValidator(conf)
 {
  outputFile_ = conf.getParameter<std::string>("outputFile");
  mcTruthCollection_ = conf.getParameter<edm::InputTag>("mcTruthCollection");
  electronCollection_ = conf.getParameter<edm::InputTag>("electronCollection");
  electronCoreCollection_ = conf.getParameter<edm::InputTag>("electronCoreCollection");
  electronTrackCollection_ = conf.getParameter<edm::InputTag>("electronTrackCollection");
  electronSeedCollection_ = conf.getParameter<edm::InputTag>("electronSeedCollection");
  beamSpotTag_ = conf.getParameter<edm::InputTag>("beamSpot") ;
  readAOD_ = conf.getParameter<bool>("readAOD");
  maxPt_ = conf.getParameter<double>("MaxPt");
  maxAbsEta_ = conf.getParameter<double>("MaxAbsEta");
  deltaR_ = conf.getParameter<double>("DeltaR");
  matchingIDs_ = conf.getParameter<std::vector<int> >("MatchingID");
  matchingMotherIDs_ = conf.getParameter<std::vector<int> >("MatchingMotherID");

  // histos bining and limits

  edm::ParameterSet histosSet = conf.getParameter<edm::ParameterSet>("histosCfg") ;

  xyz_nbin=histosSet.getParameter<int>("Nbinxyz");

  p_nbin=histosSet.getParameter<int>("Nbinp");
  p2D_nbin=histosSet.getParameter<int>("Nbinp2D");
  p_max=histosSet.getParameter<double>("Pmax");

  pt_nbin=histosSet.getParameter<int>("Nbinpt");
  pt2D_nbin=histosSet.getParameter<int>("Nbinpt2D");
  pteff_nbin=histosSet.getParameter<int>("Nbinpteff");
  pt_max=histosSet.getParameter<double>("Ptmax");

  fhits_nbin=histosSet.getParameter<int>("Nbinfhits");
  fhits_max=histosSet.getParameter<double>("Fhitsmax");

  lhits_nbin=histosSet.getParameter<int>("Nbinlhits");
  lhits_max=histosSet.getParameter<double>("Lhitsmax");

  eop_nbin=histosSet.getParameter<int>("Nbineop");
  eop2D_nbin=histosSet.getParameter<int>("Nbineop2D");
  eop_max=histosSet.getParameter<double>("Eopmax");
  eopmaxsht=histosSet.getParameter<double>("Eopmaxsht");

  eta_nbin=histosSet.getParameter<int>("Nbineta");
  eta2D_nbin=histosSet.getParameter<int>("Nbineta2D");
  eta_min=histosSet.getParameter<double>("Etamin");
  eta_max=histosSet.getParameter<double>("Etamax");

  deta_nbin=histosSet.getParameter<int>("Nbindeta");
  deta_min=histosSet.getParameter<double>("Detamin");
  deta_max=histosSet.getParameter<double>("Detamax");

  phi_nbin=histosSet.getParameter<int>("Nbinphi");
  phi2D_nbin=histosSet.getParameter<int>("Nbinphi2D");
  phi_min=histosSet.getParameter<double>("Phimin");
  phi_max=histosSet.getParameter<double>("Phimax");

  detamatch_nbin=histosSet.getParameter<int>("Nbindetamatch");
  detamatch2D_nbin=histosSet.getParameter<int>("Nbindetamatch2D");
  detamatch_min=histosSet.getParameter<double>("Detamatchmin");
  detamatch_max=histosSet.getParameter<double>("Detamatchmax");

  dphi_nbin=histosSet.getParameter<int>("Nbindphi");
  dphi_min=histosSet.getParameter<double>("Dphimin");
  dphi_max=histosSet.getParameter<double>("Dphimax");

  dphimatch_nbin=histosSet.getParameter<int>("Nbindphimatch");
  dphimatch2D_nbin=histosSet.getParameter<int>("Nbindphimatch2D");
  dphimatch_min=histosSet.getParameter<double>("Dphimatchmin");
  dphimatch_max=histosSet.getParameter<double>("Dphimatchmax");

  poptrue_nbin= histosSet.getParameter<int>("Nbinpoptrue");
  poptrue_min=histosSet.getParameter<double>("Poptruemin");
  poptrue_max=histosSet.getParameter<double>("Poptruemax");

  mee_nbin= histosSet.getParameter<int>("Nbinmee");
  mee_min=histosSet.getParameter<double>("Meemin");
  mee_max=histosSet.getParameter<double>("Meemax");

  hoe_nbin= histosSet.getParameter<int>("Nbinhoe");
  hoe_min=histosSet.getParameter<double>("Hoemin");
  hoe_max=histosSet.getParameter<double>("Hoemax");
 }
ElectronMcSignalValidator::~ElectronMcSignalValidator ( ) [virtual]

Definition at line 544 of file ElectronMcSignalValidator.cc.

 {}

Member Function Documentation

void ElectronMcSignalValidator::analyze ( const edm::Event e,
const edm::EventSetup c 
) [virtual]

Implements edm::EDAnalyzer.

Definition at line 552 of file ElectronMcSignalValidator.cc.

References abs, reco::GsfElectron::ambiguousGsfTracksSize(), beamSpotTag_, reco::GsfElectron::caloEnergy(), edm::RefToBase< T >::castTo(), reco::LeafCandidate::charge(), reco::GsfElectron::classification(), reco::GsfElectron::convDcot(), reco::GsfElectron::convDist(), reco::GsfElectron::convFlags(), reco::GsfElectron::convRadius(), reco::GsfElectron::deltaEtaEleClusterTrackAtCalo(), reco::GsfElectron::deltaEtaSeedClusterTrackAtCalo(), reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx(), reco::GsfElectron::deltaPhiEleClusterTrackAtCalo(), reco::GsfElectron::deltaPhiSeedClusterTrackAtCalo(), reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), deltaR(), deltaR_, reco::GsfElectron::dr03EcalRecHitSumEt(), reco::GsfElectron::dr03HcalDepth1TowerSumEt(), reco::GsfElectron::dr03HcalDepth2TowerSumEt(), reco::GsfElectron::dr03TkSumPt(), reco::GsfElectron::dr04EcalRecHitSumEt(), reco::GsfElectron::dr04HcalDepth1TowerSumEt(), reco::GsfElectron::dr04HcalDepth2TowerSumEt(), reco::GsfElectron::dr04TkSumPt(), reco::GsfElectron::ecalDrivenSeed(), reco::GsfElectron::eEleClusterOverPout(), electronCollection_, electronCoreCollection_, electronSeedCollection_, electronTrackCollection_, reco::GsfElectron::eSeedClusterOverP(), reco::GsfElectron::eSeedClusterOverPout(), reco::GsfElectron::eSuperClusterOverP(), reco::LeafCandidate::eta(), funct::false, reco::GsfElectron::fbrem(), MonitorElement::Fill(), HcalObjRepresent::Fill(), flags, genParticleCandidates2GenParticles_cfi::genParticles, edm::Event::getByLabel(), gsfElectronCores_cfi::gsfElectronCores, gsfElectrons_cfi::gsfElectrons, reco::GsfElectron::gsfTrack(), h1_ele_ambiguousTracks, h1_ele_charge, h1_ele_ChargeMnChargeTrue, h1_ele_chi2, h1_ele_chi2_barrel, h1_ele_chi2_endcaps, h1_ele_classes, h1_ele_convDcot, h1_ele_convDcot_all, h1_ele_convDist, h1_ele_convDist_all, h1_ele_convFlags, h1_ele_convFlags_all, h1_ele_convRadius, h1_ele_convRadius_all, h1_ele_dEtaCl_propOut, h1_ele_dEtaCl_propOut_all, h1_ele_dEtaCl_propOut_barrel, h1_ele_dEtaCl_propOut_eg, h1_ele_dEtaCl_propOut_eg_barrel, h1_ele_dEtaCl_propOut_eg_endcaps, h1_ele_dEtaCl_propOut_endcaps, h1_ele_dEtaEleCl_propOut, h1_ele_dEtaEleCl_propOut_barrel, h1_ele_dEtaEleCl_propOut_eg, h1_ele_dEtaEleCl_propOut_eg_barrel, h1_ele_dEtaEleCl_propOut_eg_endcaps, h1_ele_dEtaEleCl_propOut_endcaps, h1_ele_dEtaSc_propVtx, h1_ele_dEtaSc_propVtx_all, h1_ele_dEtaSc_propVtx_barrel, h1_ele_dEtaSc_propVtx_eg, h1_ele_dEtaSc_propVtx_eg_barrel, h1_ele_dEtaSc_propVtx_eg_endcaps, h1_ele_dEtaSc_propVtx_endcaps, h1_ele_dPhiCl_propOut, h1_ele_dPhiCl_propOut_all, h1_ele_dPhiCl_propOut_barrel, h1_ele_dPhiCl_propOut_eg, h1_ele_dPhiCl_propOut_eg_barrel, h1_ele_dPhiCl_propOut_eg_endcaps, h1_ele_dPhiCl_propOut_endcaps, h1_ele_dPhiEleCl_propOut, h1_ele_dPhiEleCl_propOut_barrel, h1_ele_dPhiEleCl_propOut_eg, h1_ele_dPhiEleCl_propOut_eg_barrel, h1_ele_dPhiEleCl_propOut_eg_endcaps, h1_ele_dPhiEleCl_propOut_endcaps, h1_ele_dPhiSc_propVtx, h1_ele_dPhiSc_propVtx_all, h1_ele_dPhiSc_propVtx_barrel, h1_ele_dPhiSc_propVtx_eg, h1_ele_dPhiSc_propVtx_eg_barrel, h1_ele_dPhiSc_propVtx_eg_endcaps, h1_ele_dPhiSc_propVtx_endcaps, h1_ele_ecalRecHitSumEt_dr03, h1_ele_ecalRecHitSumEt_dr03_barrel, h1_ele_ecalRecHitSumEt_dr03_endcaps, h1_ele_ecalRecHitSumEt_dr04, h1_ele_ecalRecHitSumEt_dr04_barrel, h1_ele_ecalRecHitSumEt_dr04_endcaps, h1_ele_EeleOPout, h1_ele_EeleOPout_all, h1_ele_EeleOPout_barrel, h1_ele_EeleOPout_eg, h1_ele_EeleOPout_eg_barrel, h1_ele_EeleOPout_eg_endcaps, h1_ele_EeleOPout_endcaps, h1_ele_EoP, h1_ele_EoP_barrel, h1_ele_EoP_eg, h1_ele_EoP_eg_barrel, h1_ele_EoP_eg_endcaps, h1_ele_EoP_endcaps, h1_ele_EoPout, h1_ele_EoPout_all, h1_ele_EoPout_barrel, h1_ele_EoPout_eg, h1_ele_EoPout_eg_barrel, h1_ele_EoPout_eg_endcaps, h1_ele_EoPout_endcaps, h1_ele_EoverP_all, h1_ele_EseedOP, h1_ele_EseedOP_all, h1_ele_EseedOP_barrel, h1_ele_EseedOP_eg, h1_ele_EseedOP_eg_barrel, h1_ele_EseedOP_eg_endcaps, h1_ele_EseedOP_endcaps, h1_ele_Et, h1_ele_Et_all, h1_ele_eta, h1_ele_eta_bbrem, h1_ele_eta_golden, h1_ele_eta_shower, h1_ele_EtaMnEtaTrue, h1_ele_EtaMnEtaTrue_barrel, h1_ele_EtaMnEtaTrue_endcaps, h1_ele_fbrem, h1_ele_fbrem_eg, h1_ele_foundHits, h1_ele_foundHits_barrel, h1_ele_foundHits_endcaps, h1_ele_hcalTowerSumEt_dr03_depth1, h1_ele_hcalTowerSumEt_dr03_depth1_barrel, h1_ele_hcalTowerSumEt_dr03_depth1_endcaps, h1_ele_hcalTowerSumEt_dr03_depth2, h1_ele_hcalTowerSumEt_dr04_depth1, h1_ele_hcalTowerSumEt_dr04_depth1_barrel, h1_ele_hcalTowerSumEt_dr04_depth1_endcaps, h1_ele_hcalTowerSumEt_dr04_depth2, h1_ele_HoE, h1_ele_HoE_all, h1_ele_HoE_barrel, h1_ele_HoE_eg, h1_ele_HoE_eg_barrel, h1_ele_HoE_eg_endcaps, h1_ele_HoE_endcaps, h1_ele_HoE_fiducial, h1_ele_lostHits, h1_ele_lostHits_barrel, h1_ele_lostHits_endcaps, h1_ele_mee_all, h1_ele_mee_os, h1_ele_mee_os_bb, h1_ele_mee_os_ebeb, h1_ele_mee_os_ebee, h1_ele_mee_os_eeee, h1_ele_mee_os_gb, h1_ele_mee_os_gg, h1_ele_mva, h1_ele_mva_eg, h1_ele_outerP, h1_ele_outerP_mode, h1_ele_outerPt, h1_ele_outerPt_mode, h1_ele_PhiMnPhiTrue, h1_ele_PhiMnPhiTrue2, h1_ele_PhiMnPhiTrue_barrel, h1_ele_PhiMnPhiTrue_endcaps, h1_ele_PinMnPout, h1_ele_PinMnPout_mode, h1_ele_PoPtrue, h1_ele_PoPtrue_barrel, h1_ele_PoPtrue_endcaps, h1_ele_PoPtrue_golden_barrel, h1_ele_PoPtrue_golden_endcaps, h1_ele_PoPtrue_showering_barrel, h1_ele_PoPtrue_showering_endcaps, h1_ele_provenance, h1_ele_PtoPttrue, h1_ele_PtoPttrue_barrel, h1_ele_PtoPttrue_endcaps, h1_ele_seed_dphi2_, h1_ele_seed_dphi2pos_, h1_ele_seed_drz2_, h1_ele_seed_drz2pos_, h1_ele_seed_mask_, h1_ele_seed_mask_bpix_, h1_ele_seed_mask_fpix_, h1_ele_seed_mask_tec_, h1_ele_seed_subdet2_, h1_ele_simAbsEta_matched, h1_ele_simAbsEta_matched_qmisid, h1_ele_simEta_matched, h1_ele_simEta_matched_qmisid, h1_ele_simPhi_matched, h1_ele_simPhi_matched_qmisid, h1_ele_simPt_matched, h1_ele_simPt_matched_qmisid, h1_ele_simZ_matched, h1_ele_simZ_matched_qmisid, h1_ele_TIP_all, h1_ele_tkSumPt_dr03, h1_ele_tkSumPt_dr03_barrel, h1_ele_tkSumPt_dr03_endcaps, h1_ele_tkSumPt_dr04, h1_ele_tkSumPt_dr04_barrel, h1_ele_tkSumPt_dr04_endcaps, h1_ele_vertexEta, h1_ele_vertexEta_all, h1_ele_vertexP, h1_ele_vertexPhi, h1_ele_vertexPt, h1_ele_vertexPt_all, h1_ele_vertexTIP, h1_ele_vertexX, h1_ele_vertexY, h1_ele_vertexZ, h1_eleNum, h1_mcNum, h1_recCoreNum_, h1_recEleNum_, h1_recSeedNum_, h1_recTrackNum_, h1_scl_E1x5_, h1_scl_E1x5_barrel_, h1_scl_E1x5_eg_, h1_scl_E1x5_eg_barrel_, h1_scl_E1x5_eg_endcaps_, h1_scl_E1x5_endcaps_, h1_scl_E2x5max_, h1_scl_E2x5max_barrel_, h1_scl_E2x5max_eg_, h1_scl_E2x5max_eg_barrel_, h1_scl_E2x5max_eg_endcaps_, h1_scl_E2x5max_endcaps_, h1_scl_E5x5_, h1_scl_E5x5_barrel_, h1_scl_E5x5_eg_, h1_scl_E5x5_eg_barrel_, h1_scl_E5x5_eg_endcaps_, h1_scl_E5x5_endcaps_, h1_scl_En_, h1_scl_EoEtrue_barrel, h1_scl_EoEtrue_barrel_eg, h1_scl_EoEtrue_barrel_etagap, h1_scl_EoEtrue_barrel_new, h1_scl_EoEtrue_barrel_new_eg, h1_scl_EoEtrue_barrel_new_etagap, h1_scl_EoEtrue_barrel_new_phigap, h1_scl_EoEtrue_barrel_phigap, h1_scl_EoEtrue_ebeegap, h1_scl_EoEtrue_ebeegap_new, h1_scl_EoEtrue_endcaps, h1_scl_EoEtrue_endcaps_deegap, h1_scl_EoEtrue_endcaps_eg, h1_scl_EoEtrue_endcaps_new, h1_scl_EoEtrue_endcaps_new_deegap, h1_scl_EoEtrue_endcaps_new_eg, h1_scl_EoEtrue_endcaps_new_ringgap, h1_scl_EoEtrue_endcaps_ringgap, h1_scl_EoEtrueGolden_barrel, h1_scl_EoEtrueGolden_endcaps, h1_scl_EoEtrueShowering_barrel, h1_scl_EoEtrueShowering_endcaps, h1_scl_Et_, h1_scl_Eta_, h1_scl_Phi_, h1_scl_SigEtaEta_, h1_scl_SigEtaEta_barrel_, h1_scl_SigEtaEta_endcaps_, h1_scl_SigIEtaIEta_, h1_scl_SigIEtaIEta_barrel_, h1_scl_SigIEtaIEta_eg_, h1_scl_SigIEtaIEta_eg_barrel_, h1_scl_SigIEtaIEta_eg_endcaps_, h1_scl_SigIEtaIEta_endcaps_, h1_simAbsEta, h1_simEta, h1_simP, h1_simPhi, h1_simPt, h1_simZ, h2_ele_ambiguousTracksVsEta, h2_ele_ambiguousTracksVsPhi, h2_ele_ambiguousTracksVsPt, h2_ele_chargeVsEta, h2_ele_chargeVsPhi, h2_ele_chargeVsPt, h2_ele_chi2VsEta, h2_ele_chi2VsPhi, h2_ele_chi2VsPt, h2_ele_dEtaClVsEta_propOut, h2_ele_dEtaClVsPhi_propOut, h2_ele_dEtaClVsPt_propOut, h2_ele_dEtaEleClVsEta_propOut, h2_ele_dEtaEleClVsPhi_propOut, h2_ele_dEtaEleClVsPt_propOut, h2_ele_dEtaScVsEta_propVtx, h2_ele_dEtaScVsPhi_propVtx, h2_ele_dEtaScVsPt_propVtx, h2_ele_dPhiClVsEta_propOut, h2_ele_dPhiClVsPhi_propOut, h2_ele_dPhiClVsPt_propOut, h2_ele_dPhiEleClVsEta_propOut, h2_ele_dPhiEleClVsPhi_propOut, h2_ele_dPhiEleClVsPt_propOut, h2_ele_dPhiScVsEta_propVtx, h2_ele_dPhiScVsPhi_propVtx, h2_ele_dPhiScVsPt_propVtx, h2_ele_E2mnE1vsMee_all, h2_ele_E2mnE1vsMee_egeg_all, h2_ele_EeleOPoutVsE, h2_ele_EeleOPoutVsEta, h2_ele_EeleOPoutVsPhi, h2_ele_EoPoutVsE, h2_ele_EoPoutVsEta, h2_ele_EoPoutVsPhi, h2_ele_EoPVsE, h2_ele_EoPVsEta, h2_ele_EoPVsPhi, h2_ele_EseedOPVsE, h2_ele_EseedOPVsEta, h2_ele_EseedOPVsPhi, h2_ele_EtaMnEtaTrueVsEta, h2_ele_EtaMnEtaTrueVsPhi, h2_ele_EtaMnEtaTrueVsPt, h2_ele_foundHitsVsEta, h2_ele_foundHitsVsPhi, h2_ele_foundHitsVsPt, h2_ele_HoEVsE, h2_ele_HoEVsEta, h2_ele_HoEVsPhi, h2_ele_lostHitsVsEta, h2_ele_lostHitsVsPhi, h2_ele_lostHitsVsPt, h2_ele_outerPtVsEta_mode, h2_ele_outerPtVsPhi_mode, h2_ele_outerPtVsPt_mode, h2_ele_outerPVsEta_mode, h2_ele_PhiMnPhiTrueVsEta, h2_ele_PhiMnPhiTrueVsPhi, h2_ele_PhiMnPhiTrueVsPt, h2_ele_PinMnPoutVsChi2_mode, h2_ele_PinMnPoutVsE_mode, h2_ele_PinMnPoutVsEta_mode, h2_ele_PinMnPoutVsPhi_mode, h2_ele_PinMnPoutVsPt_mode, h2_ele_PinVsPoutGolden_mean, h2_ele_PinVsPoutGolden_mode, h2_ele_PinVsPoutShowering_mean, h2_ele_PinVsPoutShowering_mode, h2_ele_PoPtrueVsEta, h2_ele_PoPtrueVsPhi, h2_ele_PoPtrueVsPt, h2_ele_PtinVsPtoutGolden_mean, h2_ele_PtinVsPtoutGolden_mode, h2_ele_PtinVsPtoutShowering_mean, h2_ele_PtinVsPtoutShowering_mode, h2_ele_seed_dphi2posVsEta_, h2_ele_seed_dphi2posVsPt_, h2_ele_seed_dphi2VsEta_, h2_ele_seed_dphi2VsPt_, h2_ele_seed_drz2posVsEta_, h2_ele_seed_drz2posVsPt_, h2_ele_seed_drz2VsEta_, h2_ele_seed_drz2VsPt_, h2_ele_simPtEta_matched, h2_ele_vertexEtaVsPhi, h2_ele_vertexPtVsEta, h2_ele_vertexPtVsPhi, h2_ele_vertexTIPVsEta, h2_ele_vertexTIPVsPhi, h2_ele_vertexTIPVsPt, h2_scl_EoEtruePfVsEg, h2_scl_EtaVsPhi_, h2_scl_EtVsEta_, h2_scl_EtVsPhi_, h2_simPtEta, reco::GsfElectron::hadronicOverEm(), i, edm::EventBase::id(), reco::GsfElectron::isEB(), reco::GsfElectron::isEBEEGap(), reco::GsfElectron::isEBEtaGap(), reco::GsfElectron::isEBPhiGap(), reco::GsfElectron::isEE(), reco::GsfElectron::isEEDeeGap(), reco::GsfElectron::isEERingGap(), edm::Ref< C, T, F >::isNull(), matchingIDs_, matchingMotherIDs_, maxAbsEta_, maxPt_, mcTruthCollection_, reco::Candidate::mother(), reco::GsfElectron::mva(), reco::LeafCandidate::p(), p1_ele_fbremVsEta_mean, p1_ele_fbremVsEta_mode, reco::Candidate::pdgId(), perp(), reco::GsfElectron::pflowSuperCluster(), reco::LeafCandidate::phi(), pi, funct::pow(), edm::Handle< T >::product(), reco::LeafCandidate::pt(), reco::LeafCandidate::py(), dttmaxenums::R, readAOD_, reco::GsfElectron::scE1x5(), reco::GsfElectron::scE2x5Max(), reco::GsfElectron::scE5x5(), reco::GsfElectron::scSigmaEtaEta(), reco::GsfElectron::scSigmaIEtaIEta(), mathSSE::sqrt(), reco::GsfElectron::superCluster(), reco::GsfElectron::trackerDrivenSeed(), reco::GsfElectron::trackMomentumAtVtx(), reco::GsfElectron::trackMomentumOut(), funct::true, and reco::LeafCandidate::vertex().

 {
  // get collections
  edm::Handle<GsfElectronCollection> gsfElectrons ;
  iEvent.getByLabel(electronCollection_,gsfElectrons) ;
  edm::Handle<GsfElectronCoreCollection> gsfElectronCores ;
  iEvent.getByLabel(electronCoreCollection_,gsfElectronCores) ;
  edm::Handle<GsfTrackCollection> gsfElectronTracks ;
  iEvent.getByLabel(electronTrackCollection_,gsfElectronTracks) ;
  edm::Handle<ElectronSeedCollection> gsfElectronSeeds ;
  iEvent.getByLabel(electronSeedCollection_,gsfElectronSeeds) ;
  edm::Handle<GenParticleCollection> genParticles ;
  iEvent.getByLabel(mcTruthCollection_, genParticles) ;
  edm::Handle<reco::BeamSpot> theBeamSpot ;
  iEvent.getByLabel(beamSpotTag_,theBeamSpot) ;

  edm::LogInfo("ElectronMcSignalValidator::analyze")
    <<"Treating event "<<iEvent.id()
    <<" with "<<gsfElectrons.product()->size()<<" electrons" ;
  h1_recEleNum_->Fill((*gsfElectrons).size()) ;
  h1_recCoreNum_->Fill((*gsfElectronCores).size());
  h1_recTrackNum_->Fill((*gsfElectronTracks).size());
  h1_recSeedNum_->Fill((*gsfElectronSeeds).size());

  //===============================================
  // all rec electrons
  //===============================================

  reco::GsfElectronCollection::const_iterator gsfIter ;
  for ( gsfIter=gsfElectrons->begin() ; gsfIter!=gsfElectrons->end() ; gsfIter++ )
   {
    // preselect electrons
    if (gsfIter->pt()>maxPt_ || std::abs(gsfIter->eta())>maxAbsEta_) continue ;

    //
    h1_ele_EoverP_all->Fill(gsfIter->eSuperClusterOverP()) ;
    h1_ele_EseedOP_all->Fill(gsfIter->eSeedClusterOverP()) ;
    h1_ele_EoPout_all->Fill(gsfIter->eSeedClusterOverPout()) ;
    h1_ele_EeleOPout_all->Fill( gsfIter->eEleClusterOverPout()) ;
    h1_ele_dEtaSc_propVtx_all->Fill(gsfIter->deltaEtaSuperClusterTrackAtVtx()) ;
    h1_ele_dPhiSc_propVtx_all->Fill(gsfIter->deltaPhiSuperClusterTrackAtVtx()) ;
    h1_ele_dEtaCl_propOut_all->Fill(gsfIter->deltaEtaSeedClusterTrackAtCalo()) ;
    h1_ele_dPhiCl_propOut_all->Fill(gsfIter->deltaPhiSeedClusterTrackAtCalo()) ;
    h1_ele_HoE_all->Fill(gsfIter->hadronicOverEm()) ;
    h1_ele_TIP_all->Fill( EleRelPoint(gsfIter->vertex(),theBeamSpot->position()).perp() );
    h1_ele_vertexEta_all->Fill( gsfIter->eta() );
    h1_ele_vertexPt_all->Fill( gsfIter->pt() );
    h1_ele_Et_all->Fill( gsfIter->superCluster()->energy()/cosh(gsfIter->superCluster()->eta()));
    float enrj1=gsfIter->superCluster()->energy();

    // mee
    reco::GsfElectronCollection::const_iterator gsfIter2 ;
    for ( gsfIter2=gsfIter+1 ; gsfIter2!=gsfElectrons->end() ; gsfIter2++ )
     {
      math::XYZTLorentzVector p12 = (*gsfIter).p4()+(*gsfIter2).p4();
      float mee2 = p12.Dot(p12);
      float enrj2=gsfIter2->superCluster()->energy();
      h1_ele_mee_all->Fill(sqrt(mee2));
      h2_ele_E2mnE1vsMee_all->Fill(sqrt(mee2),enrj2-enrj1);
      if (gsfIter->ecalDrivenSeed() && gsfIter2->ecalDrivenSeed())
       { h2_ele_E2mnE1vsMee_egeg_all->Fill(sqrt(mee2),enrj2-enrj1) ; }
      if (gsfIter->charge()*gsfIter2->charge()<0.)
       {
        h1_ele_mee_os->Fill(sqrt(mee2));
        if (gsfIter->isEB() && gsfIter2->isEB()) { h1_ele_mee_os_ebeb->Fill(sqrt(mee2)) ; }
              if ((gsfIter->isEB() && gsfIter2->isEE()) || (gsfIter->isEE() && gsfIter2->isEB())) h1_ele_mee_os_ebee -> Fill(sqrt(mee2));
        if (gsfIter->isEE() && gsfIter2->isEE()) { h1_ele_mee_os_eeee->Fill(sqrt(mee2)) ; }
        if
         ( (gsfIter->classification()==GsfElectron::GOLDEN && gsfIter2->classification()==GsfElectron::GOLDEN) ||
           (gsfIter->classification()==GsfElectron::GOLDEN && gsfIter2->classification()==GsfElectron::BIGBREM) ||
           //(gsfIter->classification()==GsfElectron::GOLDEN && gsfIter2->classification()==GsfElectron::OLDNARROW) ||
           (gsfIter->classification()==GsfElectron::BIGBREM && gsfIter2->classification()==GsfElectron::GOLDEN) ||
           (gsfIter->classification()==GsfElectron::BIGBREM && gsfIter2->classification()==GsfElectron::BIGBREM) /*||
           (gsfIter->classification()==GsfElectron::BIGBREM && gsfIter2->classification()==GsfElectron::OLDNARROW) ||
           (gsfIter->classification()==GsfElectron::OLDNARROW && gsfIter2->classification()==GsfElectron::GOLDEN) ||
           (gsfIter->classification()==GsfElectron::OLDNARROW && gsfIter2->classification()==GsfElectron::BIGBREM) ||
           (gsfIter->classification()==GsfElectron::OLDNARROW && gsfIter2->classification()==GsfElectron::OLDNARROW)*/ )
         { h1_ele_mee_os_gg->Fill(sqrt(mee2)) ; }
        else if
         ( (gsfIter->classification()==GsfElectron::SHOWERING && gsfIter2->classification()==GsfElectron::SHOWERING) ||
           (gsfIter->classification()==GsfElectron::SHOWERING && gsfIter2->isGap()) ||
           (gsfIter->isGap() && gsfIter2->classification()==GsfElectron::SHOWERING) ||
           (gsfIter->isGap() && gsfIter2->isGap()) )
         { h1_ele_mee_os_bb->Fill(sqrt(mee2)) ; }
        else
         { h1_ele_mee_os_gb->Fill(sqrt(mee2)) ; }
       }
     }

    // conversion rejection
    int flags = gsfIter->convFlags() ;
    if (flags==-9999) { flags=-1 ; }
    h1_ele_convFlags_all->Fill(flags);
    if (flags>=0.)
     {
      h1_ele_convDist_all->Fill( gsfIter->convDist() );
      h1_ele_convDcot_all->Fill( gsfIter->convDcot() );
      h1_ele_convRadius_all->Fill( gsfIter->convRadius() );
     }
   }

  //===============================================
  // charge mis-ID
  //===============================================

  int mcNum=0, gamNum=0, eleNum=0 ;
  bool matchingID, matchingMotherID ;

  reco::GenParticleCollection::const_iterator mcIter ;
  for
   ( mcIter=genParticles->begin() ; mcIter!=genParticles->end() ; mcIter++ )
   {
    // select requested matching gen particle
    matchingID=false;
    for ( unsigned int i=0 ; i<matchingIDs_.size() ; i++ )
     {
      if ( mcIter->pdgId() == matchingIDs_[i] )
       { matchingID=true ; }
     }
    if (matchingID)
     {
      // select requested mother matching gen particle
      // always include single particle with no mother
      const Candidate * mother = mcIter->mother() ;
      matchingMotherID = false ;
      for ( unsigned int i=0 ; i<matchingMotherIDs_.size() ; i++ )
       {
        if ((mother == 0) || ((mother != 0) &&  mother->pdgId() == matchingMotherIDs_[i]) )
         { matchingMotherID = true ; }
       }
      if (matchingMotherID)
       {
        if ( mcIter->pt()>maxPt_ || std::abs(mcIter->eta())>maxAbsEta_ )
         { continue ; }
        // suppress the endcaps
        //if (std::abs(mcIter->eta()) > 1.5) continue;
        // select central z
        //if ( std::abs(mcIter->production_vertex()->position().z())>50.) continue;

        // looking for the best matching gsf electron
        bool okGsfFound = false ;
        double gsfOkRatio = 999999. ;

        // find best matched electron
        reco::GsfElectron bestGsfElectron ;
        reco::GsfElectronCollection::const_iterator gsfIter ;
        for
         ( gsfIter=gsfElectrons->begin() ; gsfIter!=gsfElectrons->end() ; gsfIter++ )
         {
          double dphi = gsfIter->phi()-mcIter->phi() ;
          if (std::abs(dphi)>CLHEP::pi)
           { dphi = dphi < 0? (CLHEP::twopi) + dphi : dphi - CLHEP::twopi ; }
          double deltaR = sqrt(pow((gsfIter->eta()-mcIter->eta()),2) + pow(dphi,2)) ;
          if ( deltaR < deltaR_ )
           {
            double mc_charge = mcIter->pdgId() == 11 ? -1. : 1. ;
            h1_ele_ChargeMnChargeTrue->Fill( std::abs(gsfIter->charge()-mc_charge));
            // require here a charge mismatch
            if
             ( ( (mcIter->pdgId() == 11) && (gsfIter->charge() > 0.) ) ||
               ( (mcIter->pdgId() == -11) && (gsfIter->charge() < 0.) ) )
             {
              double tmpGsfRatio = gsfIter->p()/mcIter->p();
              if ( std::abs(tmpGsfRatio-1) < std::abs(gsfOkRatio-1) )
               {
                gsfOkRatio = tmpGsfRatio;
                bestGsfElectron=*gsfIter;
                okGsfFound = true;
               }
             }
           }
         } // loop over rec ele to look for the best one

        // analysis when the mc track is found
        if (okGsfFound)
         {
          // generated distributions for matched electrons
          h1_ele_simPt_matched_qmisid->Fill( mcIter->pt() ) ;
          h1_ele_simPhi_matched_qmisid->Fill( mcIter->phi() ) ;
          h1_ele_simAbsEta_matched_qmisid->Fill( std::abs(mcIter->eta()) ) ;
          h1_ele_simEta_matched_qmisid->Fill( mcIter->eta() ) ;
          h1_ele_simZ_matched_qmisid->Fill( mcIter->vz() ) ;
         }
       }
     }
   }

  //===============================================
  // association mc-reco
  //===============================================

  for ( mcIter=genParticles->begin() ; mcIter!=genParticles->end() ; mcIter++ )
   {
    // number of mc particles
    mcNum++ ;

    // counts photons
    if (mcIter->pdgId() == 22 )
     { gamNum++ ; }

    // select requested matching gen particle
    matchingID = false ;
    for ( unsigned int i=0 ; i<matchingIDs_.size() ; i++ )
     {
      if ( mcIter->pdgId() == matchingIDs_[i] )
       { matchingID=true ; }
     }
    if (!matchingID) continue ;

    // select requested mother matching gen particle
    // always include single particle with no mother
    const Candidate * mother = mcIter->mother() ;
    matchingMotherID = false ;
    for ( unsigned int i=0 ; i<matchingMotherIDs_.size() ; i++ )
     {
      if ( (mother == 0) || ((mother != 0) &&  mother->pdgId() == matchingMotherIDs_[i]) )
       { matchingMotherID = true ; }
     }
    if (!matchingMotherID) continue ;

    // electron preselection
    if (mcIter->pt()> maxPt_ || std::abs(mcIter->eta())> maxAbsEta_)
     { continue ; }

    // suppress the endcaps
    //if (std::abs(mcIter->eta()) > 1.5) continue;
    // select central z
    //if ( std::abs(mcIter->production_vertex()->position().z())>50.) continue;

    eleNum++;
    h1_simEta->Fill( mcIter->eta() );
    h1_simAbsEta->Fill( std::abs(mcIter->eta()) );
    h1_simP->Fill( mcIter->p() );
    h1_simPt->Fill( mcIter->pt() );
    h1_simPhi->Fill( mcIter->phi() );
    h1_simZ->Fill( mcIter->vz() );
    h2_simPtEta->Fill( mcIter->eta(),mcIter->pt() );

    // find best matched electron
    bool okGsfFound = false ;
    double gsfOkRatio = 999999. ;
    reco::GsfElectron bestGsfElectron ;
    reco::GsfElectronCollection::const_iterator gsfIter ;
    for ( gsfIter=gsfElectrons->begin() ; gsfIter!=gsfElectrons->end() ; gsfIter++ )
     {
      double dphi = gsfIter->phi()-mcIter->phi() ;
      if (std::abs(dphi)>CLHEP::pi)
       { dphi = dphi < 0? (CLHEP::twopi) + dphi : dphi - CLHEP::twopi ; }
      double deltaR = sqrt(pow((gsfIter->eta()-mcIter->eta()),2) + pow(dphi,2));
      if ( deltaR < deltaR_ )
       {
        if ( ( (mcIter->pdgId() == 11) && (gsfIter->charge() < 0.) ) ||
             ( (mcIter->pdgId() == -11) && (gsfIter->charge() > 0.) ) )
         {
          double tmpGsfRatio = gsfIter->p()/mcIter->p() ;
          if ( std::abs(tmpGsfRatio-1) < std::abs(gsfOkRatio-1) )
           {
            gsfOkRatio = tmpGsfRatio;
            bestGsfElectron=*gsfIter;
            okGsfFound = true;
           }
         }
       }
     } // loop over rec ele to look for the best one
    if (! okGsfFound) continue ;

    //------------------------------------
    // analysis when the mc track is found
    //------------------------------------

    // electron related distributions
    h1_ele_charge->Fill( bestGsfElectron.charge() );
    h2_ele_chargeVsEta->Fill( bestGsfElectron.eta(),bestGsfElectron.charge() );
    h2_ele_chargeVsPhi->Fill( bestGsfElectron.phi(),bestGsfElectron.charge() );
    h2_ele_chargeVsPt->Fill( bestGsfElectron.pt(),bestGsfElectron.charge() );
    h1_ele_vertexP->Fill( bestGsfElectron.p() );
    h1_ele_vertexPt->Fill( bestGsfElectron.pt() );
    h1_ele_Et->Fill( bestGsfElectron.superCluster()->energy()/cosh(bestGsfElectron.superCluster()->eta()));
    h2_ele_vertexPtVsEta->Fill(  bestGsfElectron.eta(),bestGsfElectron.pt() );
    h2_ele_vertexPtVsPhi->Fill(  bestGsfElectron.phi(),bestGsfElectron.pt() );
    h1_ele_vertexEta->Fill( bestGsfElectron.eta() );
    // generated distributions for matched electrons
    h1_ele_simPt_matched->Fill( mcIter->pt() );
    h1_ele_simPhi_matched->Fill( mcIter->phi() );
    h1_ele_simAbsEta_matched->Fill( std::abs(mcIter->eta()) );
    h1_ele_simEta_matched->Fill( mcIter->eta() );
    h2_ele_simPtEta_matched->Fill(  mcIter->eta(),mcIter->pt() );
    h2_ele_vertexEtaVsPhi->Fill(  bestGsfElectron.phi(),bestGsfElectron.eta() );
    h1_ele_vertexPhi->Fill( bestGsfElectron.phi() );
    h1_ele_vertexX->Fill( bestGsfElectron.vertex().x() );
    h1_ele_vertexY->Fill( bestGsfElectron.vertex().y() );
    h1_ele_vertexZ->Fill( bestGsfElectron.vertex().z() );
    h1_ele_simZ_matched->Fill( mcIter->vz() );
    double d =
     (bestGsfElectron.vertex().x()-mcIter->vx())*(bestGsfElectron.vertex().x()-mcIter->vx()) +
     (bestGsfElectron.vertex().y()-mcIter->vy())*(bestGsfElectron.vertex().y()-mcIter->vy()) ;
    d = sqrt(d) ;
    h1_ele_vertexTIP->Fill( d );
    h2_ele_vertexTIPVsEta->Fill(  bestGsfElectron.eta(), d );
    h2_ele_vertexTIPVsPhi->Fill(  bestGsfElectron.phi(), d );
    h2_ele_vertexTIPVsPt->Fill(  bestGsfElectron.pt(), d );
    h1_ele_EtaMnEtaTrue->Fill( bestGsfElectron.eta()-mcIter->eta());
    if (bestGsfElectron.isEB()) h1_ele_EtaMnEtaTrue_barrel->Fill( bestGsfElectron.eta()-mcIter->eta());
    if (bestGsfElectron.isEE()) h1_ele_EtaMnEtaTrue_endcaps->Fill( bestGsfElectron.eta()-mcIter->eta());
    h2_ele_EtaMnEtaTrueVsEta->Fill( bestGsfElectron.eta(), bestGsfElectron.eta()-mcIter->eta());
    h2_ele_EtaMnEtaTrueVsPhi->Fill( bestGsfElectron.phi(), bestGsfElectron.eta()-mcIter->eta());
    h2_ele_EtaMnEtaTrueVsPt->Fill( bestGsfElectron.pt(), bestGsfElectron.eta()-mcIter->eta());
    h1_ele_PhiMnPhiTrue->Fill( bestGsfElectron.phi()-mcIter->phi());
    if (bestGsfElectron.isEB()) h1_ele_PhiMnPhiTrue_barrel->Fill( bestGsfElectron.phi()-mcIter->phi());
    if (bestGsfElectron.isEE()) h1_ele_PhiMnPhiTrue_endcaps->Fill( bestGsfElectron.phi()-mcIter->phi());
    h1_ele_PhiMnPhiTrue2->Fill( bestGsfElectron.phi()-mcIter->phi());
    h2_ele_PhiMnPhiTrueVsEta->Fill( bestGsfElectron.eta(), bestGsfElectron.phi()-mcIter->phi());
    h2_ele_PhiMnPhiTrueVsPhi->Fill( bestGsfElectron.phi(), bestGsfElectron.phi()-mcIter->phi());
    h2_ele_PhiMnPhiTrueVsPt->Fill( bestGsfElectron.pt(), bestGsfElectron.phi()-mcIter->phi());
    h1_ele_PoPtrue->Fill( bestGsfElectron.p()/mcIter->p());
    h1_ele_PtoPttrue->Fill( bestGsfElectron.pt()/mcIter->pt());
    h2_ele_PoPtrueVsEta->Fill( bestGsfElectron.eta(), bestGsfElectron.p()/mcIter->p());
    h2_ele_PoPtrueVsPhi->Fill( bestGsfElectron.phi(), bestGsfElectron.p()/mcIter->p());
    h2_ele_PoPtrueVsPt->Fill( bestGsfElectron.py(), bestGsfElectron.p()/mcIter->p());
    if (bestGsfElectron.isEB()) h1_ele_PoPtrue_barrel->Fill( bestGsfElectron.p()/mcIter->p());
    if (bestGsfElectron.isEE()) h1_ele_PoPtrue_endcaps->Fill( bestGsfElectron.p()/mcIter->p());
    if (bestGsfElectron.isEB() && bestGsfElectron.classification() == GsfElectron::GOLDEN) h1_ele_PoPtrue_golden_barrel->Fill( bestGsfElectron.p()/mcIter->p());
    if (bestGsfElectron.isEE() && bestGsfElectron.classification() == GsfElectron::GOLDEN) h1_ele_PoPtrue_golden_endcaps->Fill( bestGsfElectron.p()/mcIter->p());
    if (bestGsfElectron.isEB() && bestGsfElectron.classification() == GsfElectron::SHOWERING) h1_ele_PoPtrue_showering_barrel->Fill( bestGsfElectron.p()/mcIter->p());
    if (bestGsfElectron.isEE() && bestGsfElectron.classification() == GsfElectron::SHOWERING) h1_ele_PoPtrue_showering_endcaps->Fill( bestGsfElectron.p()/mcIter->p());
    if (bestGsfElectron.isEB()) h1_ele_PtoPttrue_barrel->Fill( bestGsfElectron.pt()/mcIter->pt());
    if (bestGsfElectron.isEE()) h1_ele_PtoPttrue_endcaps->Fill( bestGsfElectron.pt()/mcIter->pt());

    // supercluster related distributions
    reco::SuperClusterRef sclRef = bestGsfElectron.superCluster();
    if (!bestGsfElectron.ecalDrivenSeed()&&bestGsfElectron.trackerDrivenSeed())
     { sclRef = bestGsfElectron.pflowSuperCluster() ; }
    h1_scl_En_->Fill(sclRef->energy());
    double R=TMath::Sqrt(sclRef->x()*sclRef->x() + sclRef->y()*sclRef->y() +sclRef->z()*sclRef->z());
    double Rt=TMath::Sqrt(sclRef->x()*sclRef->x() + sclRef->y()*sclRef->y());
    h1_scl_Et_->Fill(sclRef->energy()*(Rt/R));
    h2_scl_EtVsEta_->Fill(sclRef->eta(),sclRef->energy()*(Rt/R));
    h2_scl_EtVsPhi_->Fill(sclRef->phi(),sclRef->energy()*(Rt/R));
    if (bestGsfElectron.isEB())  h1_scl_EoEtrue_barrel->Fill(sclRef->energy()/mcIter->p());
    if (bestGsfElectron.isEE())  h1_scl_EoEtrue_endcaps->Fill(sclRef->energy()/mcIter->p());
    if (bestGsfElectron.isEB() && bestGsfElectron.ecalDrivenSeed())  h1_scl_EoEtrue_barrel_eg->Fill(sclRef->energy()/mcIter->p());
    if (bestGsfElectron.isEE() && bestGsfElectron.ecalDrivenSeed())  h1_scl_EoEtrue_endcaps_eg->Fill(sclRef->energy()/mcIter->p());
    if (bestGsfElectron.isEB() && bestGsfElectron.isEBEtaGap())  h1_scl_EoEtrue_barrel_etagap->Fill(sclRef->energy()/mcIter->p());
    if (bestGsfElectron.isEB() && bestGsfElectron.isEBPhiGap())  h1_scl_EoEtrue_barrel_phigap->Fill(sclRef->energy()/mcIter->p());
    if (bestGsfElectron.isEBEEGap())  h1_scl_EoEtrue_ebeegap->Fill(sclRef->energy()/mcIter->p());
    //if (bestGsfElectron.isEE())  h1_scl_EoEtrue_endcaps->Fill(sclRef->energy()/mcIter->p());
    if (bestGsfElectron.isEE() && bestGsfElectron.isEEDeeGap())  h1_scl_EoEtrue_endcaps_deegap->Fill(sclRef->energy()/mcIter->p());
    if (bestGsfElectron.isEE() && bestGsfElectron.isEERingGap())  h1_scl_EoEtrue_endcaps_ringgap->Fill(sclRef->energy()/mcIter->p());
    if (bestGsfElectron.isEB())  h1_scl_EoEtrue_barrel_new->Fill(sclRef->energy()/mcIter->p());
    if (bestGsfElectron.isEE())  h1_scl_EoEtrue_endcaps_new->Fill(sclRef->energy()/mcIter->p());
    if (bestGsfElectron.isEB() && bestGsfElectron.ecalDrivenSeed())  h1_scl_EoEtrue_barrel_new_eg->Fill(sclRef->energy()/mcIter->p());
    if (bestGsfElectron.isEE() && bestGsfElectron.ecalDrivenSeed())  h1_scl_EoEtrue_endcaps_new_eg->Fill(sclRef->energy()/mcIter->p());
    if (bestGsfElectron.isEB() && bestGsfElectron.isEBEtaGap())  h1_scl_EoEtrue_barrel_new_etagap->Fill(sclRef->energy()/mcIter->p());
    if (bestGsfElectron.isEB() && bestGsfElectron.isEBPhiGap())  h1_scl_EoEtrue_barrel_new_phigap->Fill(sclRef->energy()/mcIter->p());
    if (bestGsfElectron.isEBEEGap())  h1_scl_EoEtrue_ebeegap_new->Fill(sclRef->energy()/mcIter->p());
    //if (bestGsfElectron.isEE())  h1_scl_EoEtrue_endcaps_new->Fill(sclRef->energy()/mcIter->p());
    if (bestGsfElectron.isEE() && bestGsfElectron.isEEDeeGap())  h1_scl_EoEtrue_endcaps_new_deegap->Fill(sclRef->energy()/mcIter->p());
    if (bestGsfElectron.isEE() && bestGsfElectron.isEERingGap())  h1_scl_EoEtrue_endcaps_new_ringgap->Fill(sclRef->energy()/mcIter->p());
    h1_scl_Eta_->Fill(sclRef->eta());
    h2_scl_EtaVsPhi_->Fill(sclRef->phi(),sclRef->eta());
    h1_scl_Phi_->Fill(sclRef->phi());
    h1_scl_SigEtaEta_->Fill(bestGsfElectron.scSigmaEtaEta());
    if (bestGsfElectron.isEB()) h1_scl_SigEtaEta_barrel_->Fill(bestGsfElectron.scSigmaEtaEta());
    if (bestGsfElectron.isEE()) h1_scl_SigEtaEta_endcaps_->Fill(bestGsfElectron.scSigmaEtaEta());
    h1_scl_SigIEtaIEta_->Fill(bestGsfElectron.scSigmaIEtaIEta());
    if (bestGsfElectron.isEB()) h1_scl_SigIEtaIEta_barrel_->Fill(bestGsfElectron.scSigmaIEtaIEta());
    if (bestGsfElectron.isEE()) h1_scl_SigIEtaIEta_endcaps_->Fill(bestGsfElectron.scSigmaIEtaIEta());
    h1_scl_E1x5_->Fill(bestGsfElectron.scE1x5());
    if (bestGsfElectron.isEB()) h1_scl_E1x5_barrel_->Fill(bestGsfElectron.scE1x5());
    if (bestGsfElectron.isEE()) h1_scl_E1x5_endcaps_->Fill(bestGsfElectron.scE1x5());
    h1_scl_E2x5max_->Fill(bestGsfElectron.scE2x5Max());
    if (bestGsfElectron.isEB()) h1_scl_E2x5max_barrel_->Fill(bestGsfElectron.scE2x5Max());
    if (bestGsfElectron.isEE()) h1_scl_E2x5max_endcaps_->Fill(bestGsfElectron.scE2x5Max());
    h1_scl_E5x5_->Fill(bestGsfElectron.scE5x5());
    if (bestGsfElectron.isEB()) h1_scl_E5x5_barrel_->Fill(bestGsfElectron.scE5x5());
    if (bestGsfElectron.isEE()) h1_scl_E5x5_endcaps_->Fill(bestGsfElectron.scE5x5());
    if (bestGsfElectron.ecalDrivenSeed()) h1_scl_SigIEtaIEta_eg_->Fill(bestGsfElectron.scSigmaIEtaIEta());
    if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h1_scl_SigIEtaIEta_eg_barrel_->Fill(bestGsfElectron.scSigmaIEtaIEta());
    if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h1_scl_SigIEtaIEta_eg_endcaps_->Fill(bestGsfElectron.scSigmaIEtaIEta());
    if (bestGsfElectron.ecalDrivenSeed())h1_scl_E1x5_eg_->Fill(bestGsfElectron.scE1x5());
    if (bestGsfElectron.isEB() && bestGsfElectron.ecalDrivenSeed())h1_scl_E1x5_eg_barrel_->Fill(bestGsfElectron.scE1x5());
    if (bestGsfElectron.isEE() && bestGsfElectron.ecalDrivenSeed())h1_scl_E1x5_eg_endcaps_->Fill(bestGsfElectron.scE1x5());
    if (bestGsfElectron.ecalDrivenSeed())h1_scl_E2x5max_eg_->Fill(bestGsfElectron.scE2x5Max());
    if (bestGsfElectron.isEB() && bestGsfElectron.ecalDrivenSeed())h1_scl_E2x5max_eg_barrel_->Fill(bestGsfElectron.scE2x5Max());
    if (bestGsfElectron.isEE() && bestGsfElectron.ecalDrivenSeed())h1_scl_E2x5max_eg_endcaps_->Fill(bestGsfElectron.scE2x5Max());
    if (bestGsfElectron.ecalDrivenSeed())h1_scl_E5x5_eg_->Fill(bestGsfElectron.scE5x5());
    if (bestGsfElectron.isEB() && bestGsfElectron.ecalDrivenSeed())h1_scl_E5x5_eg_barrel_->Fill(bestGsfElectron.scE5x5());
    if (bestGsfElectron.isEE() && bestGsfElectron.ecalDrivenSeed())h1_scl_E5x5_eg_endcaps_->Fill(bestGsfElectron.scE5x5());
    float pfEnergy=0., egEnergy=0.;
    if (!bestGsfElectron.superCluster().isNull()) egEnergy = bestGsfElectron.superCluster()->energy();
    if (!bestGsfElectron.pflowSuperCluster().isNull()) pfEnergy = bestGsfElectron.pflowSuperCluster()->energy();
    h2_scl_EoEtruePfVsEg->Fill(egEnergy/mcIter->p(),pfEnergy/mcIter->p());

    // track related distributions
    h1_ele_ambiguousTracks->Fill( bestGsfElectron.ambiguousGsfTracksSize() );
    h2_ele_ambiguousTracksVsEta->Fill( bestGsfElectron.eta(), bestGsfElectron.ambiguousGsfTracksSize() );
    h2_ele_ambiguousTracksVsPhi->Fill( bestGsfElectron.phi(), bestGsfElectron.ambiguousGsfTracksSize() );
    h2_ele_ambiguousTracksVsPt->Fill( bestGsfElectron.pt(), bestGsfElectron.ambiguousGsfTracksSize() );
    if (!readAOD_) // track extra does not exist in AOD
     {
      h1_ele_foundHits->Fill( bestGsfElectron.gsfTrack()->numberOfValidHits() );
      if (bestGsfElectron.isEB()) h1_ele_foundHits_barrel->Fill( bestGsfElectron.gsfTrack()->numberOfValidHits() );
      if (bestGsfElectron.isEE()) h1_ele_foundHits_endcaps->Fill( bestGsfElectron.gsfTrack()->numberOfValidHits() );
      h2_ele_foundHitsVsEta->Fill( bestGsfElectron.eta(), bestGsfElectron.gsfTrack()->numberOfValidHits() );
      h2_ele_foundHitsVsPhi->Fill( bestGsfElectron.phi(), bestGsfElectron.gsfTrack()->numberOfValidHits() );
      h2_ele_foundHitsVsPt->Fill( bestGsfElectron.pt(), bestGsfElectron.gsfTrack()->numberOfValidHits() );
      h1_ele_lostHits->Fill( bestGsfElectron.gsfTrack()->numberOfLostHits() );
      if (bestGsfElectron.isEB()) h1_ele_lostHits_barrel->Fill( bestGsfElectron.gsfTrack()->numberOfLostHits() );
      if (bestGsfElectron.isEE()) h1_ele_lostHits_endcaps->Fill( bestGsfElectron.gsfTrack()->numberOfLostHits() );
      h2_ele_lostHitsVsEta->Fill( bestGsfElectron.eta(), bestGsfElectron.gsfTrack()->numberOfLostHits() );
      h2_ele_lostHitsVsPhi->Fill( bestGsfElectron.phi(), bestGsfElectron.gsfTrack()->numberOfLostHits() );
      h2_ele_lostHitsVsPt->Fill( bestGsfElectron.pt(), bestGsfElectron.gsfTrack()->numberOfLostHits() );
      h1_ele_chi2->Fill( bestGsfElectron.gsfTrack()->normalizedChi2() );
      if (bestGsfElectron.isEB()) h1_ele_chi2_barrel->Fill( bestGsfElectron.gsfTrack()->normalizedChi2() );
      if (bestGsfElectron.isEE()) h1_ele_chi2_endcaps->Fill( bestGsfElectron.gsfTrack()->normalizedChi2() );
      h2_ele_chi2VsEta->Fill( bestGsfElectron.eta(), bestGsfElectron.gsfTrack()->normalizedChi2() );
      h2_ele_chi2VsPhi->Fill( bestGsfElectron.phi(), bestGsfElectron.gsfTrack()->normalizedChi2() );
      h2_ele_chi2VsPt->Fill( bestGsfElectron.pt(), bestGsfElectron.gsfTrack()->normalizedChi2() );
     }
    // from gsf track interface, hence using mean
    if (!readAOD_) // track extra does not exist in AOD
     {
      h1_ele_PinMnPout->Fill( bestGsfElectron.gsfTrack()->innerMomentum().R() - bestGsfElectron.gsfTrack()->outerMomentum().R() );
      h1_ele_outerP->Fill( bestGsfElectron.gsfTrack()->outerMomentum().R() );
      h1_ele_outerPt->Fill( bestGsfElectron.gsfTrack()->outerMomentum().Rho() );
     }
    // from electron interface, hence using mode
    h1_ele_PinMnPout_mode->Fill( bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R() );
    h2_ele_PinMnPoutVsEta_mode->Fill(  bestGsfElectron.eta(), bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R() );
    h2_ele_PinMnPoutVsPhi_mode->Fill(  bestGsfElectron.phi(), bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R() );
    h2_ele_PinMnPoutVsPt_mode->Fill(  bestGsfElectron.pt(), bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R() );
    h2_ele_PinMnPoutVsE_mode->Fill(  bestGsfElectron.caloEnergy(), bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R() );
    if (!readAOD_)  // track extra does not exist in AOD
     {
      h2_ele_PinMnPoutVsChi2_mode->Fill
       ( bestGsfElectron.gsfTrack()->normalizedChi2(),
         bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R() ) ;
     }
    h1_ele_outerP_mode->Fill( bestGsfElectron.trackMomentumOut().R() );
    h2_ele_outerPVsEta_mode->Fill(bestGsfElectron.eta(),  bestGsfElectron.trackMomentumOut().R() );
    h1_ele_outerPt_mode->Fill( bestGsfElectron.trackMomentumOut().Rho() );
    h2_ele_outerPtVsEta_mode->Fill(bestGsfElectron.eta(),  bestGsfElectron.trackMomentumOut().Rho() );
    h2_ele_outerPtVsPhi_mode->Fill(bestGsfElectron.phi(),  bestGsfElectron.trackMomentumOut().Rho() );
    h2_ele_outerPtVsPt_mode->Fill(bestGsfElectron.pt(),  bestGsfElectron.trackMomentumOut().Rho() );

    if (!readAOD_) // track extra does not exist in AOD
     {
      edm::RefToBase<TrajectorySeed> seed = bestGsfElectron.gsfTrack()->extra()->seedRef();
      ElectronSeedRef elseed=seed.castTo<ElectronSeedRef>();
      h1_ele_seed_subdet2_->Fill(elseed->subDet2());
      h1_ele_seed_mask_->Fill(elseed->hitsMask());
      if (elseed->subDet2()==1)
       { h1_ele_seed_mask_bpix_->Fill(elseed->hitsMask()); }
      else if (elseed->subDet2()==2)
       { h1_ele_seed_mask_fpix_->Fill(elseed->hitsMask()); }
      else if (elseed->subDet2()==6)
       { h1_ele_seed_mask_tec_->Fill(elseed->hitsMask()); }
      h1_ele_seed_dphi2_->Fill(elseed->dPhi2());
      h2_ele_seed_dphi2VsEta_->Fill(bestGsfElectron.eta(), elseed->dPhi2());
      h2_ele_seed_dphi2VsPt_->Fill(bestGsfElectron.pt(), elseed->dPhi2());
      h1_ele_seed_dphi2pos_->Fill(elseed->dPhi2Pos());
      h2_ele_seed_dphi2posVsEta_->Fill(bestGsfElectron.eta(), elseed->dPhi2Pos());
      h2_ele_seed_dphi2posVsPt_->Fill(bestGsfElectron.pt(), elseed->dPhi2Pos());
      h1_ele_seed_drz2_->Fill(elseed->dRz2());
      h2_ele_seed_drz2VsEta_->Fill(bestGsfElectron.eta(), elseed->dRz2());
      h2_ele_seed_drz2VsPt_->Fill(bestGsfElectron.pt(), elseed->dRz2());
      h1_ele_seed_drz2pos_->Fill(elseed->dRz2Pos());
      h2_ele_seed_drz2posVsEta_->Fill(bestGsfElectron.eta(), elseed->dRz2Pos());
      h2_ele_seed_drz2posVsPt_->Fill(bestGsfElectron.pt(), elseed->dRz2Pos());
     }

    // match distributions
    h1_ele_EoP->Fill( bestGsfElectron.eSuperClusterOverP() );
    if (bestGsfElectron.ecalDrivenSeed()) h1_ele_EoP_eg->Fill( bestGsfElectron.eSuperClusterOverP() );
    if (bestGsfElectron.isEB()) h1_ele_EoP_barrel->Fill( bestGsfElectron.eSuperClusterOverP() );
    if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_EoP_eg_barrel->Fill( bestGsfElectron.eSuperClusterOverP() );
    if (bestGsfElectron.isEE()) h1_ele_EoP_endcaps->Fill( bestGsfElectron.eSuperClusterOverP() );
    if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_EoP_eg_endcaps->Fill( bestGsfElectron.eSuperClusterOverP() );
    h2_ele_EoPVsEta->Fill(bestGsfElectron.eta(),  bestGsfElectron.eSuperClusterOverP() );
    h2_ele_EoPVsPhi->Fill(bestGsfElectron.phi(),  bestGsfElectron.eSuperClusterOverP() );
    h2_ele_EoPVsE->Fill(bestGsfElectron.caloEnergy(),  bestGsfElectron.eSuperClusterOverP() );
    h1_ele_EseedOP->Fill( bestGsfElectron.eSeedClusterOverP() );
    if (bestGsfElectron.ecalDrivenSeed()) h1_ele_EseedOP_eg->Fill( bestGsfElectron.eSeedClusterOverP() );
    if (bestGsfElectron.isEB()) h1_ele_EseedOP_barrel->Fill( bestGsfElectron.eSeedClusterOverP() );
    if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_EseedOP_eg_barrel->Fill( bestGsfElectron.eSeedClusterOverP() );
    if (bestGsfElectron.isEE()) h1_ele_EseedOP_endcaps->Fill( bestGsfElectron.eSeedClusterOverP() );
    if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_EseedOP_eg_endcaps->Fill( bestGsfElectron.eSeedClusterOverP() );
    h2_ele_EseedOPVsEta->Fill(bestGsfElectron.eta(),  bestGsfElectron.eSeedClusterOverP() );
    h2_ele_EseedOPVsPhi->Fill(bestGsfElectron.phi(),  bestGsfElectron.eSeedClusterOverP() );
    h2_ele_EseedOPVsE->Fill(bestGsfElectron.caloEnergy(),  bestGsfElectron.eSeedClusterOverP() );
    h1_ele_EoPout->Fill( bestGsfElectron.eSeedClusterOverPout() );
    if (bestGsfElectron.ecalDrivenSeed()) h1_ele_EoPout_eg->Fill( bestGsfElectron.eSeedClusterOverPout() );
    if (bestGsfElectron.isEB()) h1_ele_EoPout_barrel->Fill( bestGsfElectron.eSeedClusterOverPout() );
    if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_EoPout_eg_barrel->Fill( bestGsfElectron.eSeedClusterOverPout() );
    if (bestGsfElectron.isEE()) h1_ele_EoPout_endcaps->Fill( bestGsfElectron.eSeedClusterOverPout() );
    if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_EoPout_eg_endcaps->Fill( bestGsfElectron.eSeedClusterOverPout() );
    h2_ele_EoPoutVsEta->Fill( bestGsfElectron.eta(), bestGsfElectron.eSeedClusterOverPout() );
    h2_ele_EoPoutVsPhi->Fill( bestGsfElectron.phi(), bestGsfElectron.eSeedClusterOverPout() );
    h2_ele_EoPoutVsE->Fill( bestGsfElectron.caloEnergy(), bestGsfElectron.eSeedClusterOverPout() );
    h1_ele_EeleOPout->Fill( bestGsfElectron.eEleClusterOverPout() );
    if (bestGsfElectron.ecalDrivenSeed()) h1_ele_EeleOPout_eg->Fill( bestGsfElectron.eEleClusterOverPout() );
    if (bestGsfElectron.isEB()) h1_ele_EeleOPout_barrel->Fill( bestGsfElectron.eEleClusterOverPout() );
    if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_EeleOPout_eg_barrel->Fill( bestGsfElectron.eEleClusterOverPout() );
    if (bestGsfElectron.isEE()) h1_ele_EeleOPout_endcaps->Fill( bestGsfElectron.eEleClusterOverPout() );
    if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_EeleOPout_eg_endcaps->Fill( bestGsfElectron.eEleClusterOverPout() );
    h2_ele_EeleOPoutVsEta->Fill( bestGsfElectron.eta(), bestGsfElectron.eEleClusterOverPout() );
    h2_ele_EeleOPoutVsPhi->Fill( bestGsfElectron.phi(), bestGsfElectron.eEleClusterOverPout() );
    h2_ele_EeleOPoutVsE->Fill( bestGsfElectron.caloEnergy(), bestGsfElectron.eEleClusterOverPout() );
    h1_ele_dEtaSc_propVtx->Fill(bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
    if (bestGsfElectron.ecalDrivenSeed()) h1_ele_dEtaSc_propVtx_eg->Fill(bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
    if (bestGsfElectron.isEB()) h1_ele_dEtaSc_propVtx_barrel->Fill(bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
    if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_dEtaSc_propVtx_eg_barrel->Fill(bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
    if (bestGsfElectron.isEE())h1_ele_dEtaSc_propVtx_endcaps->Fill(bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
    if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_dEtaSc_propVtx_eg_endcaps->Fill(bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
    h2_ele_dEtaScVsEta_propVtx->Fill( bestGsfElectron.eta(),bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
    h2_ele_dEtaScVsPhi_propVtx->Fill(bestGsfElectron.phi(),bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
    h2_ele_dEtaScVsPt_propVtx->Fill(bestGsfElectron.pt(),bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
    h1_ele_dPhiSc_propVtx->Fill(bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
    if (bestGsfElectron.ecalDrivenSeed()) h1_ele_dPhiSc_propVtx_eg->Fill(bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
    if (bestGsfElectron.isEB()) h1_ele_dPhiSc_propVtx_barrel->Fill(bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
    if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_dPhiSc_propVtx_eg_barrel->Fill(bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
    if (bestGsfElectron.isEE())h1_ele_dPhiSc_propVtx_endcaps->Fill(bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
    if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_dPhiSc_propVtx_eg_endcaps->Fill(bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
    h2_ele_dPhiScVsEta_propVtx->Fill( bestGsfElectron.eta(),bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
    h2_ele_dPhiScVsPhi_propVtx->Fill(bestGsfElectron.phi(),bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
    h2_ele_dPhiScVsPt_propVtx->Fill(bestGsfElectron.pt(),bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
    h1_ele_dEtaCl_propOut->Fill(bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
    if (bestGsfElectron.ecalDrivenSeed()) h1_ele_dEtaCl_propOut_eg->Fill(bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
    if (bestGsfElectron.isEB()) h1_ele_dEtaCl_propOut_barrel->Fill(bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
    if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_dEtaCl_propOut_eg_barrel->Fill(bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
    if (bestGsfElectron.isEE()) h1_ele_dEtaCl_propOut_endcaps->Fill(bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
    if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_dEtaCl_propOut_eg_endcaps->Fill(bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
    h2_ele_dEtaClVsEta_propOut->Fill( bestGsfElectron.eta(),bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
    h2_ele_dEtaClVsPhi_propOut->Fill(bestGsfElectron.phi(),bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
    h2_ele_dEtaClVsPt_propOut->Fill(bestGsfElectron.pt(),bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
    h1_ele_dPhiCl_propOut->Fill(bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
    if (bestGsfElectron.ecalDrivenSeed()) h1_ele_dPhiCl_propOut_eg->Fill(bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
    if (bestGsfElectron.isEB()) h1_ele_dPhiCl_propOut_barrel->Fill(bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
    if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_dPhiCl_propOut_eg_barrel->Fill(bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
    if (bestGsfElectron.isEE()) h1_ele_dPhiCl_propOut_endcaps->Fill(bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
    if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_dPhiCl_propOut_eg_endcaps->Fill(bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
    h2_ele_dPhiClVsEta_propOut->Fill( bestGsfElectron.eta(),bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
    h2_ele_dPhiClVsPhi_propOut->Fill(bestGsfElectron.phi(),bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
    h2_ele_dPhiClVsPt_propOut->Fill(bestGsfElectron.pt(),bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
    h1_ele_dEtaEleCl_propOut->Fill(bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
    if (bestGsfElectron.ecalDrivenSeed()) h1_ele_dEtaEleCl_propOut_eg->Fill(bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
    if (bestGsfElectron.isEB()) h1_ele_dEtaEleCl_propOut_barrel->Fill(bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
    if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_dEtaEleCl_propOut_eg_barrel->Fill(bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
    if (bestGsfElectron.isEE()) h1_ele_dEtaEleCl_propOut_endcaps->Fill(bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
    if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_dEtaEleCl_propOut_eg_endcaps->Fill(bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
    h2_ele_dEtaEleClVsEta_propOut->Fill( bestGsfElectron.eta(),bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
    h2_ele_dEtaEleClVsPhi_propOut->Fill(bestGsfElectron.phi(),bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
    h2_ele_dEtaEleClVsPt_propOut->Fill(bestGsfElectron.pt(),bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
    h1_ele_dPhiEleCl_propOut->Fill(bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
    if (bestGsfElectron.ecalDrivenSeed()) h1_ele_dPhiEleCl_propOut_eg->Fill(bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
    if (bestGsfElectron.isEB()) h1_ele_dPhiEleCl_propOut_barrel->Fill(bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
    if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_dPhiEleCl_propOut_eg_barrel->Fill(bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
    if (bestGsfElectron.isEE()) h1_ele_dPhiEleCl_propOut_endcaps->Fill(bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
    if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_dPhiEleCl_propOut_eg_endcaps->Fill(bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
    h2_ele_dPhiEleClVsEta_propOut->Fill( bestGsfElectron.eta(),bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
    h2_ele_dPhiEleClVsPhi_propOut->Fill(bestGsfElectron.phi(),bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
    h2_ele_dPhiEleClVsPt_propOut->Fill(bestGsfElectron.pt(),bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
    h1_ele_HoE->Fill(bestGsfElectron.hadronicOverEm());
    if (bestGsfElectron.ecalDrivenSeed()) h1_ele_HoE_eg->Fill(bestGsfElectron.hadronicOverEm());
    if (bestGsfElectron.isEB()) h1_ele_HoE_barrel->Fill(bestGsfElectron.hadronicOverEm());
    if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_HoE_eg_barrel->Fill(bestGsfElectron.hadronicOverEm());
    if (bestGsfElectron.isEE()) h1_ele_HoE_endcaps->Fill(bestGsfElectron.hadronicOverEm());
    if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_HoE_eg_endcaps->Fill(bestGsfElectron.hadronicOverEm());
    if (!bestGsfElectron.isEBEtaGap() && !bestGsfElectron.isEBPhiGap()&& !bestGsfElectron.isEBEEGap() &&
        !bestGsfElectron.isEERingGap() && !bestGsfElectron.isEEDeeGap()) h1_ele_HoE_fiducial->Fill(bestGsfElectron.hadronicOverEm());
    h2_ele_HoEVsEta->Fill( bestGsfElectron.eta(),bestGsfElectron.hadronicOverEm());
    h2_ele_HoEVsPhi->Fill(bestGsfElectron.phi(),bestGsfElectron.hadronicOverEm());
    h2_ele_HoEVsE->Fill(bestGsfElectron.caloEnergy(),bestGsfElectron.hadronicOverEm());

    //classes
    int eleClass = bestGsfElectron.classification();
    if (bestGsfElectron.isEE()) eleClass+=10;
    h1_ele_classes->Fill(eleClass);

    if (bestGsfElectron.classification() == GsfElectron::GOLDEN && bestGsfElectron.isEB())  h1_scl_EoEtrueGolden_barrel->Fill(sclRef->energy()/mcIter->p());
    if (bestGsfElectron.classification() == GsfElectron::GOLDEN && bestGsfElectron.isEE())  h1_scl_EoEtrueGolden_endcaps->Fill(sclRef->energy()/mcIter->p());
    if (bestGsfElectron.classification() == GsfElectron::SHOWERING && bestGsfElectron.isEB())  h1_scl_EoEtrueShowering_barrel->Fill(sclRef->energy()/mcIter->p());
    if (bestGsfElectron.classification() == GsfElectron::SHOWERING && bestGsfElectron.isEE())  h1_scl_EoEtrueShowering_endcaps->Fill(sclRef->energy()/mcIter->p());

    //eleClass = eleClass%100; // get rid of barrel/endcap distinction
    h1_ele_eta->Fill(std::abs(bestGsfElectron.eta()));
    if (bestGsfElectron.classification() == GsfElectron::GOLDEN) h1_ele_eta_golden->Fill(std::abs(bestGsfElectron.eta()));
    if (bestGsfElectron.classification() == GsfElectron::BIGBREM) h1_ele_eta_bbrem->Fill(std::abs(bestGsfElectron.eta()));
    //if (bestGsfElectron.classification() == GsfElectron::OLDNARROW) h1_ele_eta_narrow->Fill(std::abs(bestGsfElectron.eta()));
    if (bestGsfElectron.classification() == GsfElectron::SHOWERING) h1_ele_eta_shower->Fill(std::abs(bestGsfElectron.eta()));

    //fbrem
    double fbrem_mean=0.;
    if (!readAOD_) // track extra does not exist in AOD
     { fbrem_mean =  1. - bestGsfElectron.gsfTrack()->outerMomentum().R()/bestGsfElectron.gsfTrack()->innerMomentum().R() ; }
    double fbrem_mode =  bestGsfElectron.fbrem();
    h1_ele_fbrem->Fill(fbrem_mode);
    if (bestGsfElectron.ecalDrivenSeed()) h1_ele_fbrem_eg->Fill(fbrem_mode);
    p1_ele_fbremVsEta_mode->Fill(bestGsfElectron.eta(),fbrem_mode);
    if (!readAOD_) // track extra does not exist in AOD
     { p1_ele_fbremVsEta_mean->Fill(bestGsfElectron.eta(),fbrem_mean); }

    if (bestGsfElectron.classification() == GsfElectron::GOLDEN) h2_ele_PinVsPoutGolden_mode->Fill(bestGsfElectron.trackMomentumOut().R(), bestGsfElectron.trackMomentumAtVtx().R());
    if (bestGsfElectron.classification() == GsfElectron::SHOWERING) h2_ele_PinVsPoutShowering_mode->Fill(bestGsfElectron.trackMomentumOut().R(), bestGsfElectron.trackMomentumAtVtx().R());
    if (!readAOD_) // track extra not available in AOD
     {
      if (bestGsfElectron.classification() == GsfElectron::GOLDEN) h2_ele_PinVsPoutGolden_mean->Fill(bestGsfElectron.gsfTrack()->outerMomentum().R(), bestGsfElectron.gsfTrack()->innerMomentum().R());
      if (bestGsfElectron.classification() == GsfElectron::SHOWERING) h2_ele_PinVsPoutShowering_mean->Fill(bestGsfElectron.gsfTrack()->outerMomentum().R(), bestGsfElectron.gsfTrack()->innerMomentum().R());
     }
    if (bestGsfElectron.classification() == GsfElectron::GOLDEN) h2_ele_PtinVsPtoutGolden_mode->Fill(bestGsfElectron.trackMomentumOut().Rho(), bestGsfElectron.trackMomentumAtVtx().Rho());
    if (bestGsfElectron.classification() == GsfElectron::SHOWERING) h2_ele_PtinVsPtoutShowering_mode->Fill(bestGsfElectron.trackMomentumOut().Rho(), bestGsfElectron.trackMomentumAtVtx().Rho());
    if (!readAOD_) // track extra not available in AOD
     {
      if (bestGsfElectron.classification() == GsfElectron::GOLDEN) h2_ele_PtinVsPtoutGolden_mean->Fill(bestGsfElectron.gsfTrack()->outerMomentum().Rho(), bestGsfElectron.gsfTrack()->innerMomentum().Rho());
      if (bestGsfElectron.classification() == GsfElectron::SHOWERING) h2_ele_PtinVsPtoutShowering_mean->Fill(bestGsfElectron.gsfTrack()->outerMomentum().Rho(), bestGsfElectron.gsfTrack()->innerMomentum().Rho());
     }

    // provenance and pflow data
    h1_ele_mva->Fill(bestGsfElectron.mva());
    if (bestGsfElectron.ecalDrivenSeed()) h1_ele_mva_eg->Fill(bestGsfElectron.mva());
    if (bestGsfElectron.ecalDrivenSeed()) h1_ele_provenance->Fill(1.);
    if (bestGsfElectron.trackerDrivenSeed()) h1_ele_provenance->Fill(-1.);
    if (bestGsfElectron.trackerDrivenSeed()||bestGsfElectron.ecalDrivenSeed()) h1_ele_provenance->Fill(0.);
    if (bestGsfElectron.trackerDrivenSeed()&&!bestGsfElectron.ecalDrivenSeed()) h1_ele_provenance->Fill(-2.);
    if (!bestGsfElectron.trackerDrivenSeed()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_provenance->Fill(2.);

    // isolation
    h1_ele_tkSumPt_dr03->Fill(bestGsfElectron.dr03TkSumPt());
    if (bestGsfElectron.isEB()) h1_ele_tkSumPt_dr03_barrel->Fill(bestGsfElectron.dr03TkSumPt());
    if (bestGsfElectron.isEE()) h1_ele_tkSumPt_dr03_endcaps->Fill(bestGsfElectron.dr03TkSumPt());
    h1_ele_ecalRecHitSumEt_dr03->Fill(bestGsfElectron.dr03EcalRecHitSumEt());
    if (bestGsfElectron.isEB()) h1_ele_ecalRecHitSumEt_dr03_barrel->Fill(bestGsfElectron.dr03EcalRecHitSumEt());
    if (bestGsfElectron.isEE()) h1_ele_ecalRecHitSumEt_dr03_endcaps->Fill(bestGsfElectron.dr03EcalRecHitSumEt());
    h1_ele_hcalTowerSumEt_dr03_depth1->Fill(bestGsfElectron.dr03HcalDepth1TowerSumEt());
    if (bestGsfElectron.isEB()) h1_ele_hcalTowerSumEt_dr03_depth1_barrel->Fill(bestGsfElectron.dr03HcalDepth1TowerSumEt());
    if (bestGsfElectron.isEE()) h1_ele_hcalTowerSumEt_dr03_depth1_endcaps->Fill(bestGsfElectron.dr03HcalDepth1TowerSumEt());
    h1_ele_hcalTowerSumEt_dr03_depth2->Fill(bestGsfElectron.dr03HcalDepth2TowerSumEt());
    h1_ele_tkSumPt_dr04->Fill(bestGsfElectron.dr04TkSumPt());
    if (bestGsfElectron.isEB()) h1_ele_tkSumPt_dr04_barrel->Fill(bestGsfElectron.dr04TkSumPt());
    if (bestGsfElectron.isEE()) h1_ele_tkSumPt_dr04_endcaps->Fill(bestGsfElectron.dr04TkSumPt());
    h1_ele_ecalRecHitSumEt_dr04->Fill(bestGsfElectron.dr04EcalRecHitSumEt());
    if (bestGsfElectron.isEB()) h1_ele_ecalRecHitSumEt_dr04_barrel->Fill(bestGsfElectron.dr04EcalRecHitSumEt());
    if (bestGsfElectron.isEE()) h1_ele_ecalRecHitSumEt_dr04_endcaps->Fill(bestGsfElectron.dr04EcalRecHitSumEt());
    h1_ele_hcalTowerSumEt_dr04_depth1->Fill(bestGsfElectron.dr04HcalDepth1TowerSumEt());
    if (bestGsfElectron.isEB()) h1_ele_hcalTowerSumEt_dr04_depth1_barrel->Fill(bestGsfElectron.dr04HcalDepth1TowerSumEt());
    if (bestGsfElectron.isEE()) h1_ele_hcalTowerSumEt_dr04_depth1_endcaps->Fill(bestGsfElectron.dr04HcalDepth1TowerSumEt());
    h1_ele_hcalTowerSumEt_dr04_depth2->Fill(bestGsfElectron.dr04HcalDepth2TowerSumEt());

    // conversion rejection
    int flags = bestGsfElectron.convFlags() ;
    if (flags==-9999) { flags=-1 ; }
    h1_ele_convFlags->Fill(flags);
    if (flags>=0.)
     {
      h1_ele_convDist->Fill( bestGsfElectron.convDist() );
      h1_ele_convDcot->Fill( bestGsfElectron.convDcot() );
      h1_ele_convRadius->Fill( bestGsfElectron.convRadius() );
     }

   } // loop over mc particle

  h1_mcNum->Fill(mcNum) ;
  h1_eleNum->Fill(eleNum) ;

 }
void ElectronMcSignalValidator::beginJob ( void  ) [virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 128 of file ElectronMcSignalValidator.cc.

References ElectronValidator::bookH1(), ElectronValidator::bookH1withSumw2(), ElectronValidator::bookH2(), ElectronValidator::bookH2withSumw2(), ElectronValidator::bookP1(), deta_max, deta_min, deta_nbin, detamatch2D_nbin, detamatch_max, detamatch_min, detamatch_nbin, dphi_max, dphi_min, dphi_nbin, dphimatch2D_nbin, dphimatch_max, dphimatch_min, dphimatch_nbin, eop2D_nbin, eop_max, eop_nbin, eopmaxsht, eta2D_nbin, eta_max, eta_min, eta_nbin, fhits_max, fhits_nbin, h1_ele_ambiguousTracks, h1_ele_charge, h1_ele_ChargeMnChargeTrue, h1_ele_chi2, h1_ele_chi2_barrel, h1_ele_chi2_endcaps, h1_ele_classes, h1_ele_convDcot, h1_ele_convDcot_all, h1_ele_convDist, h1_ele_convDist_all, h1_ele_convFlags, h1_ele_convFlags_all, h1_ele_convRadius, h1_ele_convRadius_all, h1_ele_dEtaCl_propOut, h1_ele_dEtaCl_propOut_all, h1_ele_dEtaCl_propOut_all_barrel, h1_ele_dEtaCl_propOut_all_endcaps, h1_ele_dEtaCl_propOut_barrel, h1_ele_dEtaCl_propOut_eg, h1_ele_dEtaCl_propOut_eg_barrel, h1_ele_dEtaCl_propOut_eg_endcaps, h1_ele_dEtaCl_propOut_endcaps, h1_ele_dEtaEleCl_propOut, h1_ele_dEtaEleCl_propOut_barrel, h1_ele_dEtaEleCl_propOut_eg, h1_ele_dEtaEleCl_propOut_eg_barrel, h1_ele_dEtaEleCl_propOut_eg_endcaps, h1_ele_dEtaEleCl_propOut_endcaps, h1_ele_dEtaSc_propVtx, h1_ele_dEtaSc_propVtx_all, h1_ele_dEtaSc_propVtx_all_barrel, h1_ele_dEtaSc_propVtx_all_endcaps, h1_ele_dEtaSc_propVtx_barrel, h1_ele_dEtaSc_propVtx_eg, h1_ele_dEtaSc_propVtx_eg_barrel, h1_ele_dEtaSc_propVtx_eg_endcaps, h1_ele_dEtaSc_propVtx_endcaps, h1_ele_dPhiCl_propOut, h1_ele_dPhiCl_propOut_all, h1_ele_dPhiCl_propOut_all_barrel, h1_ele_dPhiCl_propOut_all_endcaps, h1_ele_dPhiCl_propOut_barrel, h1_ele_dPhiCl_propOut_eg, h1_ele_dPhiCl_propOut_eg_barrel, h1_ele_dPhiCl_propOut_eg_endcaps, h1_ele_dPhiCl_propOut_endcaps, h1_ele_dPhiEleCl_propOut, h1_ele_dPhiEleCl_propOut_barrel, h1_ele_dPhiEleCl_propOut_eg, h1_ele_dPhiEleCl_propOut_eg_barrel, h1_ele_dPhiEleCl_propOut_eg_endcaps, h1_ele_dPhiEleCl_propOut_endcaps, h1_ele_dPhiSc_propVtx, h1_ele_dPhiSc_propVtx_all, h1_ele_dPhiSc_propVtx_all_barrel, h1_ele_dPhiSc_propVtx_all_endcaps, h1_ele_dPhiSc_propVtx_barrel, h1_ele_dPhiSc_propVtx_eg, h1_ele_dPhiSc_propVtx_eg_barrel, h1_ele_dPhiSc_propVtx_eg_endcaps, h1_ele_dPhiSc_propVtx_endcaps, h1_ele_ecalRecHitSumEt_dr03, h1_ele_ecalRecHitSumEt_dr03_barrel, h1_ele_ecalRecHitSumEt_dr03_endcaps, h1_ele_ecalRecHitSumEt_dr04, h1_ele_ecalRecHitSumEt_dr04_barrel, h1_ele_ecalRecHitSumEt_dr04_endcaps, h1_ele_EeleOPout, h1_ele_EeleOPout_all, h1_ele_EeleOPout_all_barrel, h1_ele_EeleOPout_all_endcaps, h1_ele_EeleOPout_barrel, h1_ele_EeleOPout_eg, h1_ele_EeleOPout_eg_barrel, h1_ele_EeleOPout_eg_endcaps, h1_ele_EeleOPout_endcaps, h1_ele_EoP, h1_ele_EoP_barrel, h1_ele_EoP_eg, h1_ele_EoP_eg_barrel, h1_ele_EoP_eg_endcaps, h1_ele_EoP_endcaps, h1_ele_EoPout, h1_ele_EoPout_all, h1_ele_EoPout_all_barrel, h1_ele_EoPout_all_endcaps, h1_ele_EoPout_barrel, h1_ele_EoPout_eg, h1_ele_EoPout_eg_barrel, h1_ele_EoPout_eg_endcaps, h1_ele_EoPout_endcaps, h1_ele_EoverP_all, h1_ele_EoverP_all_barrel, h1_ele_EoverP_all_endcaps, h1_ele_EseedOP, h1_ele_EseedOP_all, h1_ele_EseedOP_all_barrel, h1_ele_EseedOP_all_endcaps, h1_ele_EseedOP_barrel, h1_ele_EseedOP_eg, h1_ele_EseedOP_eg_barrel, h1_ele_EseedOP_eg_endcaps, h1_ele_EseedOP_endcaps, h1_ele_Et, h1_ele_Et_all, h1_ele_eta, h1_ele_eta_bbrem, h1_ele_eta_golden, h1_ele_eta_narrow, h1_ele_eta_shower, h1_ele_EtaMnEtaTrue, h1_ele_EtaMnEtaTrue_barrel, h1_ele_EtaMnEtaTrue_endcaps, h1_ele_fbrem, h1_ele_fbrem_eg, h1_ele_foundHits, h1_ele_foundHits_barrel, h1_ele_foundHits_endcaps, h1_ele_hcalTowerSumEt_dr03_depth1, h1_ele_hcalTowerSumEt_dr03_depth1_barrel, h1_ele_hcalTowerSumEt_dr03_depth1_endcaps, h1_ele_hcalTowerSumEt_dr03_depth2, h1_ele_hcalTowerSumEt_dr04_depth1, h1_ele_hcalTowerSumEt_dr04_depth1_barrel, h1_ele_hcalTowerSumEt_dr04_depth1_endcaps, h1_ele_hcalTowerSumEt_dr04_depth2, h1_ele_HoE, h1_ele_HoE_all, h1_ele_HoE_all_barrel, h1_ele_HoE_all_endcaps, h1_ele_HoE_barrel, h1_ele_HoE_eg, h1_ele_HoE_eg_barrel, h1_ele_HoE_eg_endcaps, h1_ele_HoE_endcaps, h1_ele_HoE_fiducial, h1_ele_lostHits, h1_ele_lostHits_barrel, h1_ele_lostHits_endcaps, h1_ele_mee_all, h1_ele_mee_os, h1_ele_mee_os_bb, h1_ele_mee_os_ebeb, h1_ele_mee_os_ebee, h1_ele_mee_os_eeee, h1_ele_mee_os_gb, h1_ele_mee_os_gg, h1_ele_mva, h1_ele_mva_eg, h1_ele_outerP, h1_ele_outerP_mode, h1_ele_outerPt, h1_ele_outerPt_mode, h1_ele_PhiMnPhiTrue, h1_ele_PhiMnPhiTrue2, h1_ele_PhiMnPhiTrue_barrel, h1_ele_PhiMnPhiTrue_endcaps, h1_ele_PinMnPout, h1_ele_PinMnPout_mode, h1_ele_PoPtrue, h1_ele_PoPtrue_barrel, h1_ele_PoPtrue_endcaps, h1_ele_PoPtrue_golden_barrel, h1_ele_PoPtrue_golden_endcaps, h1_ele_PoPtrue_showering_barrel, h1_ele_PoPtrue_showering_endcaps, h1_ele_provenance, h1_ele_PtoPttrue, h1_ele_PtoPttrue_barrel, h1_ele_PtoPttrue_endcaps, h1_ele_seed_dphi2_, h1_ele_seed_dphi2pos_, h1_ele_seed_drz2_, h1_ele_seed_drz2pos_, h1_ele_seed_mask_, h1_ele_seed_mask_bpix_, h1_ele_seed_mask_fpix_, h1_ele_seed_mask_tec_, h1_ele_seed_subdet2_, h1_ele_simAbsEta_matched, h1_ele_simAbsEta_matched_qmisid, h1_ele_simEta_matched, h1_ele_simEta_matched_qmisid, h1_ele_simPhi_matched, h1_ele_simPhi_matched_qmisid, h1_ele_simPt_matched, h1_ele_simPt_matched_qmisid, h1_ele_simZ_matched, h1_ele_simZ_matched_qmisid, h1_ele_TIP_all, h1_ele_TIP_all_barrel, h1_ele_TIP_all_endcaps, h1_ele_tkSumPt_dr03, h1_ele_tkSumPt_dr03_barrel, h1_ele_tkSumPt_dr03_endcaps, h1_ele_tkSumPt_dr04, h1_ele_tkSumPt_dr04_barrel, h1_ele_tkSumPt_dr04_endcaps, h1_ele_vertexEta, h1_ele_vertexEta_all, h1_ele_vertexP, h1_ele_vertexPhi, h1_ele_vertexPt, h1_ele_vertexPt_all, h1_ele_vertexTIP, h1_ele_vertexX, h1_ele_vertexY, h1_ele_vertexZ, h1_eleNum, h1_gamNum, h1_mcNum, h1_recCoreNum_, h1_recEleNum_, h1_recSeedNum_, h1_recTrackNum_, h1_scl_E1x5_, h1_scl_E1x5_barrel_, h1_scl_E1x5_eg_, h1_scl_E1x5_eg_barrel_, h1_scl_E1x5_eg_endcaps_, h1_scl_E1x5_endcaps_, h1_scl_E2x5max_, h1_scl_E2x5max_barrel_, h1_scl_E2x5max_eg_, h1_scl_E2x5max_eg_barrel_, h1_scl_E2x5max_eg_endcaps_, h1_scl_E2x5max_endcaps_, h1_scl_E5x5_, h1_scl_E5x5_barrel_, h1_scl_E5x5_eg_, h1_scl_E5x5_eg_barrel_, h1_scl_E5x5_eg_endcaps_, h1_scl_E5x5_endcaps_, h1_scl_En_, h1_scl_EoEtrue_barrel, h1_scl_EoEtrue_barrel_eg, h1_scl_EoEtrue_barrel_etagap, h1_scl_EoEtrue_barrel_new, h1_scl_EoEtrue_barrel_new_eg, h1_scl_EoEtrue_barrel_new_etagap, h1_scl_EoEtrue_barrel_new_phigap, h1_scl_EoEtrue_barrel_phigap, h1_scl_EoEtrue_ebeegap, h1_scl_EoEtrue_ebeegap_new, h1_scl_EoEtrue_endcaps, h1_scl_EoEtrue_endcaps_deegap, h1_scl_EoEtrue_endcaps_eg, h1_scl_EoEtrue_endcaps_new, h1_scl_EoEtrue_endcaps_new_deegap, h1_scl_EoEtrue_endcaps_new_eg, h1_scl_EoEtrue_endcaps_new_ringgap, h1_scl_EoEtrue_endcaps_ringgap, h1_scl_EoEtrueGolden_barrel, h1_scl_EoEtrueGolden_endcaps, h1_scl_EoEtrueShowering_barrel, h1_scl_EoEtrueShowering_endcaps, h1_scl_Et_, h1_scl_Eta_, h1_scl_Phi_, h1_scl_SigEtaEta_, h1_scl_SigEtaEta_barrel_, h1_scl_SigEtaEta_eg_, h1_scl_SigEtaEta_eg_barrel_, h1_scl_SigEtaEta_eg_endcaps_, h1_scl_SigEtaEta_endcaps_, h1_scl_SigIEtaIEta_, h1_scl_SigIEtaIEta_barrel_, h1_scl_SigIEtaIEta_eg_, h1_scl_SigIEtaIEta_eg_barrel_, h1_scl_SigIEtaIEta_eg_endcaps_, h1_scl_SigIEtaIEta_endcaps_, h1_simAbsEta, h1_simEta, h1_simP, h1_simPhi, h1_simPt, h1_simZ, h2_ele_ambiguousTracksVsEta, h2_ele_ambiguousTracksVsPhi, h2_ele_ambiguousTracksVsPt, h2_ele_chargeVsEta, h2_ele_chargeVsPhi, h2_ele_chargeVsPt, h2_ele_chi2VsEta, h2_ele_chi2VsPhi, h2_ele_chi2VsPt, h2_ele_dEtaClVsEta_propOut, h2_ele_dEtaClVsPhi_propOut, h2_ele_dEtaClVsPt_propOut, h2_ele_dEtaEleClVsEta_propOut, h2_ele_dEtaEleClVsPhi_propOut, h2_ele_dEtaEleClVsPt_propOut, h2_ele_dEtaScVsEta_propVtx, h2_ele_dEtaScVsPhi_propVtx, h2_ele_dEtaScVsPt_propVtx, h2_ele_dPhiClVsEta_propOut, h2_ele_dPhiClVsPhi_propOut, h2_ele_dPhiClVsPt_propOut, h2_ele_dPhiEleClVsEta_propOut, h2_ele_dPhiEleClVsPhi_propOut, h2_ele_dPhiEleClVsPt_propOut, h2_ele_dPhiScVsEta_propVtx, h2_ele_dPhiScVsPhi_propVtx, h2_ele_dPhiScVsPt_propVtx, h2_ele_E2mnE1vsMee_all, h2_ele_E2mnE1vsMee_egeg_all, h2_ele_EeleOPoutVsE, h2_ele_EeleOPoutVsEta, h2_ele_EeleOPoutVsPhi, h2_ele_EoPoutVsE, h2_ele_EoPoutVsEta, h2_ele_EoPoutVsPhi, h2_ele_EoPVsE, h2_ele_EoPVsEta, h2_ele_EoPVsPhi, h2_ele_EseedOPVsE, h2_ele_EseedOPVsEta, h2_ele_EseedOPVsPhi, h2_ele_EtaMnEtaTrueVsEta, h2_ele_EtaMnEtaTrueVsPhi, h2_ele_EtaMnEtaTrueVsPt, h2_ele_foundHitsVsEta, h2_ele_foundHitsVsPhi, h2_ele_foundHitsVsPt, h2_ele_HoEVsE, h2_ele_HoEVsEta, h2_ele_HoEVsPhi, h2_ele_lostHitsVsEta, h2_ele_lostHitsVsPhi, h2_ele_lostHitsVsPt, h2_ele_outerPtVsEta_mode, h2_ele_outerPtVsPhi_mode, h2_ele_outerPtVsPt_mode, h2_ele_outerPVsEta_mode, h2_ele_PhiMnPhiTrueVsEta, h2_ele_PhiMnPhiTrueVsPhi, h2_ele_PhiMnPhiTrueVsPt, h2_ele_PinMnPoutVsChi2_mode, h2_ele_PinMnPoutVsE_mode, h2_ele_PinMnPoutVsEta_mode, h2_ele_PinMnPoutVsPhi_mode, h2_ele_PinMnPoutVsPt_mode, h2_ele_PinVsPoutGolden_mean, h2_ele_PinVsPoutGolden_mode, h2_ele_PinVsPoutShowering_mean, h2_ele_PinVsPoutShowering_mode, h2_ele_PoPtrueVsEta, h2_ele_PoPtrueVsPhi, h2_ele_PoPtrueVsPt, h2_ele_PtinVsPtoutGolden_mean, h2_ele_PtinVsPtoutGolden_mode, h2_ele_PtinVsPtoutShowering_mean, h2_ele_PtinVsPtoutShowering_mode, h2_ele_seed_dphi2posVsEta_, h2_ele_seed_dphi2posVsPt_, h2_ele_seed_dphi2VsEta_, h2_ele_seed_dphi2VsPt_, h2_ele_seed_drz2posVsEta_, h2_ele_seed_drz2posVsPt_, h2_ele_seed_drz2VsEta_, h2_ele_seed_drz2VsPt_, h2_ele_simPtEta_matched, h2_ele_vertexEtaVsPhi, h2_ele_vertexPtVsEta, h2_ele_vertexPtVsPhi, h2_ele_vertexTIPVsEta, h2_ele_vertexTIPVsPhi, h2_ele_vertexTIPVsPt, h2_scl_EoEtruePfVsEg, h2_scl_EtaVsPhi_, h2_scl_EtVsEta_, h2_scl_EtVsPhi_, h2_simPtEta, hoe_max, hoe_min, hoe_nbin, lhits_max, lhits_nbin, mee_max, mee_min, mee_nbin, p1_ele_fbremVsEta_mean, p1_ele_fbremVsEta_mode, p2D_nbin, p_max, p_nbin, phi2D_nbin, phi_max, phi_min, phi_nbin, pi, poptrue_max, poptrue_min, poptrue_nbin, ElectronValidator::prepareStore(), pt2D_nbin, pt_max, pt_nbin, pteff_nbin, ElectronValidator::setStoreFolder(), and xyz_nbin.

 {
  prepareStore() ;
  setStoreFolder("EgammaV/ElectronMcSignalValidator") ;

  // mc truth collections sizes
  h1_mcNum = bookH1withSumw2("h_mcNum","# mc particles",fhits_nbin,0.,fhits_max,"N_{gen}" );
  h1_eleNum = bookH1withSumw2("h_mcNum_ele","# mc electrons",fhits_nbin,0.,fhits_max,"N_{gen ele}");
  h1_gamNum = bookH1withSumw2("h_mcNum_gam","# mc gammas",fhits_nbin,0.,fhits_max,"N_{gen #gamma}");

  // rec event collections sizes
  h1_recEleNum_= bookH1("h_recEleNum","# rec electrons",11, -0.5,10.5,"N_{ele}");
  h1_recCoreNum_= bookH1("h_recCoreNum","# rec electron cores",21, -0.5,20.5,"N_{core}");
  h1_recTrackNum_= bookH1("h_recTrackNum","# rec gsf tracks",41, -0.5,40.5,"N_{track}");
  h1_recSeedNum_= bookH1("h_recSeedNum","# rec electron seeds",101, -0.5,100.5,"N_{seed}");

  // mc
  h1_simEta = bookH1withSumw2("h_mc_eta","gen #eta",eta_nbin,eta_min,eta_max,"#eta");
  h1_simAbsEta = bookH1withSumw2("h_mc_abseta","gen |#eta|",eta_nbin/2,0.,eta_max);
  h1_simP = bookH1withSumw2("h_mc_P","gen p",p_nbin,0.,p_max,"p (GeV/c)");
  h1_simPt = bookH1withSumw2("h_mc_Pt","gen pt",pteff_nbin,5.,pt_max);
  h1_simPhi = bookH1withSumw2("h_mc_phi","gen phi",phi_nbin,phi_min,phi_max);
  h1_simZ = bookH1withSumw2("h_mc_z","gen z ",xyz_nbin, -25, 25 );
  h2_simPtEta = bookH2withSumw2("h_mc_pteta","gen pt vs #eta",eta2D_nbin,eta_min,eta_max,pt2D_nbin,5.,pt_max );

  // all electrons
  h1_ele_EoverP_all = bookH1withSumw2("h_ele_EoverP_all","ele E/P_{vertex}, all reco electrons",eop_nbin,0.,eop_max,"E/P_{vertex}");
  h1_ele_EoverP_all_barrel = bookH1withSumw2("h_ele_EoverP_all_barrel","ele E/P_{vertex}, all reco electrons, barrel",eop_nbin,0.,eop_max);
  h1_ele_EoverP_all_endcaps = bookH1withSumw2("h_ele_EoverP_all_endcaps","ele E/P_{vertex}, all reco electrons, endcaps",eop_nbin,0.,eop_max);
  h1_ele_EseedOP_all = bookH1withSumw2("h_ele_EseedOP_all","ele E_{seed}/P_{vertex}, all reco electrons",eop_nbin,0.,eop_max,"E_{seed}/P_{vertex}");
  h1_ele_EseedOP_all_barrel = bookH1withSumw2("h_ele_EseedOP_all_barrel","ele E_{seed}/P_{vertex}, all reco electrons, barrel",eop_nbin,0.,eop_max);
  h1_ele_EseedOP_all_endcaps = bookH1withSumw2("h_ele_EseedOP_all_endcaps","ele E_{seed}/P_{vertex}, all reco electrons, endcaps",eop_nbin,0.,eop_max);
  h1_ele_EoPout_all = bookH1withSumw2("h_ele_EoPout_all","ele E_{seed}/P_{out}, all reco electrons",eop_nbin,0.,eop_max,"E_{seed}/P_{out}");
  h1_ele_EoPout_all_barrel = bookH1withSumw2("h_ele_EoPout_all_barrel","ele E_{seed}/P_{out}, all reco electrons barrel",eop_nbin,0.,eop_max);
  h1_ele_EoPout_all_endcaps = bookH1withSumw2("h_ele_EoPout_all_endcaps","ele E_{seed}/P_{out}, all reco electrons endcaps",eop_nbin,0.,eop_max);
  h1_ele_EeleOPout_all = bookH1withSumw2("h_ele_EeleOPout_all","ele E_{ele}/P_{out}, all reco electrons",eop_nbin,0.,eop_max,"E_{ele}/P_{out}");
  h1_ele_EeleOPout_all_barrel = bookH1withSumw2("h_ele_EeleOPout_all_barrel","ele E_{ele}/P_{out}, all reco electrons barrel",eop_nbin,0.,eop_max);
  h1_ele_EeleOPout_all_endcaps = bookH1withSumw2("h_ele_EeleOPout_all_endcaps","ele E_{ele}/P_{out}, all reco electrons endcaps",eop_nbin,0.,eop_max);
  h1_ele_dEtaSc_propVtx_all = bookH1withSumw2("h_ele_dEtaSc_propVtx_all","ele #eta_{sc} - #eta_{tr}, prop from vertex, all reco electrons",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{sc} - #eta_{tr}");
  h1_ele_dEtaSc_propVtx_all_barrel = bookH1withSumw2("h_ele_dEtaSc_propVtx_all_barrel","ele #eta_{sc} - #eta_{tr}, prop from vertex, all reco electrons barrel",detamatch_nbin,detamatch_min,detamatch_max);
  h1_ele_dEtaSc_propVtx_all_endcaps = bookH1withSumw2("h_ele_dEtaSc_propVtx_all_endcaps","ele #eta_{sc} - #eta_{tr}, prop from vertex, all reco electrons endcaps",detamatch_nbin,detamatch_min,detamatch_max);
  h1_ele_dPhiSc_propVtx_all = bookH1withSumw2("h_ele_dPhiSc_propVtx_all","ele #phi_{sc} - #phi_{tr}, prop from vertex, all reco electrons",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{sc} - #phi_{tr} (rad)");
  h1_ele_dPhiSc_propVtx_all_barrel = bookH1withSumw2("h_ele_dPhiSc_propVtx_all_barrel","ele #phi_{sc} - #phi_{tr}, prop from vertex, all reco electrons barrel",dphimatch_nbin,dphimatch_min,dphimatch_max);
  h1_ele_dPhiSc_propVtx_all_endcaps = bookH1withSumw2("h_ele_dPhiSc_propVtx_all_endcaps","ele #phi_{sc} - #phi_{tr}, prop from vertex, all reco electrons endcaps",dphimatch_nbin,dphimatch_min,dphimatch_max);
  h1_ele_dEtaCl_propOut_all = bookH1withSumw2("h_ele_dEtaCl_propOut_all","ele #eta_{cl} - #eta_{tr}, prop from outermost, all reco electrons",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{sc} - #eta_{tr}");
  h1_ele_dEtaCl_propOut_all_barrel = bookH1withSumw2("h_ele_dEtaCl_propOut_all_barrel","ele #eta_{cl} - #eta_{tr}, prop from outermost, all reco electrons barrel",detamatch_nbin,detamatch_min,detamatch_max);
  h1_ele_dEtaCl_propOut_all_endcaps = bookH1withSumw2("h_ele_dEtaCl_propOut_all_endcaps","ele #eta_{cl} - #eta_{tr}, prop from outermost, all reco electrons endcaps",detamatch_nbin,detamatch_min,detamatch_max);
  h1_ele_dPhiCl_propOut_all = bookH1withSumw2("h_ele_dPhiCl_propOut_all","ele #phi_{cl} - #phi_{tr}, prop from outermost, all reco electrons",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{sc} - #phi_{tr} (rad)");
  h1_ele_dPhiCl_propOut_all_barrel = bookH1withSumw2("h_ele_dPhiCl_propOut_all_barrel","ele #phi_{cl} - #phi_{tr}, prop from outermost, all reco electrons barrel",dphimatch_nbin,dphimatch_min,dphimatch_max);
  h1_ele_dPhiCl_propOut_all_endcaps = bookH1withSumw2("h_ele_dPhiCl_propOut_all_endcaps","ele #phi_{cl} - #phi_{tr}, prop from outermost, all reco electrons endcaps",dphimatch_nbin,dphimatch_min,dphimatch_max);
  h1_ele_HoE_all = bookH1withSumw2("h_ele_HoE_all","ele hadronic energy / em energy, all reco electrons",hoe_nbin, hoe_min, hoe_max,"H/E") ;
  h1_ele_HoE_all_barrel = bookH1withSumw2("h_ele_HoE_all_barrel","ele hadronic energy / em energy, all reco electrons barrel",hoe_nbin, hoe_min, hoe_max) ;
  h1_ele_HoE_all_endcaps = bookH1withSumw2("h_ele_HoE_all_endcaps","ele hadronic energy / em energy, all reco electrons endcaps",hoe_nbin, hoe_min, hoe_max) ;
  h1_ele_vertexPt_all = bookH1withSumw2("h_ele_vertexPt_all","ele p_{T}, all reco electrons",pteff_nbin,5.,pt_max);
  h1_ele_Et_all = bookH1withSumw2("h_ele_Et_all","ele SC E_{T}, all reco electrons",pteff_nbin,5.,pt_max,"E_{T} (GeV)");
  h1_ele_vertexEta_all = bookH1withSumw2("h_ele_vertexEta_all","ele eta, all reco electrons",eta_nbin,eta_min,eta_max);
  h1_ele_TIP_all = bookH1withSumw2("h_ele_TIP_all","ele vertex transverse radius, all reco electrons",  100,0.,0.2,"r_{T} (cm)");
  h1_ele_TIP_all_barrel = bookH1withSumw2("h_ele_TIP_all_barrel","ele vertex transverse radius, all reco electrons barrel",  100,0.,0.2);
  h1_ele_TIP_all_endcaps = bookH1withSumw2("h_ele_TIP_all_endcaps","ele vertex transverse radius, all reco electrons endcaps",  100,0.,0.2);
  h1_ele_mee_all = bookH1withSumw2("h_ele_mee_all","ele pairs invariant mass, all reco electrons",mee_nbin, mee_min, mee_max,"m_{ee} (GeV/c^{2})" );
  h1_ele_mee_os = bookH1withSumw2("h_ele_mee_os","ele pairs invariant mass, opp. sign",mee_nbin, mee_min, mee_max,"m_{e^{+}e^{-}} (GeV/c^{2})" );
  h1_ele_mee_os_ebeb = bookH1withSumw2("h_ele_mee_os_ebeb","ele pairs invariant mass, opp. sign, EB-EB",mee_nbin, mee_min, mee_max,"m_{e^{+}e^{-}} (GeV/c^{2})" );
  h1_ele_mee_os_ebee = bookH1withSumw2("h_ele_mee_os_ebee","ele pairs invariant mass, opp. sign, EB-EE",mee_nbin, mee_min, mee_max,"m_{e^{+}e^{-}} (GeV/c^{2})" );
  h1_ele_mee_os_eeee = bookH1withSumw2("h_ele_mee_os_eeee","ele pairs invariant mass, opp. sign, EE-EE",mee_nbin, mee_min, mee_max,"m_{e^{+}e^{-}} (GeV/c^{2})" );
  h1_ele_mee_os_gg = bookH1withSumw2("h_ele_mee_os_gg","ele pairs invariant mass, opp. sign, good-good",mee_nbin, mee_min, mee_max,"m_{e^{+}e^{-}} (GeV/c^{2})" );
  h1_ele_mee_os_gb = bookH1withSumw2("h_ele_mee_os_gb","ele pairs invariant mass, opp. sign, good-bad",mee_nbin, mee_min, mee_max,"m_{e^{+}e^{-}} (GeV/c^{2})" );
  h1_ele_mee_os_bb = bookH1withSumw2("h_ele_mee_os_bb","ele pairs invariant mass, opp. sign, bad-bad",mee_nbin, mee_min, mee_max,"m_{e^{+}e^{-}} (GeV/c^{2})" );

  // duplicates
  h2_ele_E2mnE1vsMee_all = bookH2("h_ele_E2mnE1vsMee_all","E2 - E1 vs ele pairs invariant mass, all electrons",mee_nbin, mee_min, mee_max, 100, -50., 50.,"m_{e^{+}e^{-}} (GeV/c^{2})","E2 - E1 (GeV)");
  h2_ele_E2mnE1vsMee_egeg_all = bookH2("h_ele_E2mnE1vsMee_egeg_all","E2 - E1 vs ele pairs invariant mass, ecal driven pairs, all electrons",mee_nbin, mee_min, mee_max, 100, -50., 50.,"m_{e^{+}e^{-}} (GeV/c^{2})","E2 - E1 (GeV)");

  // charge ID
  h1_ele_ChargeMnChargeTrue = bookH1withSumw2("h_ele_ChargeMnChargeTrue","ele charge - gen charge ",5,-1.,4.,"q_{rec} - q_{gen}");
  h1_ele_simEta_matched_qmisid = bookH1withSumw2("h_ele_eta_matched_qmisid","charge misid vs gen eta",eta_nbin,eta_min,eta_max);
  h1_ele_simAbsEta_matched_qmisid = bookH1withSumw2("h_ele_abseta_matched_qmisid","charge misid vs gen |eta|",eta_nbin/2,0.,eta_max);
  h1_ele_simPt_matched_qmisid = bookH1withSumw2("h_ele_Pt_matched_qmisid","charge misid vs gen transverse momentum",pteff_nbin,5.,pt_max);
  h1_ele_simPhi_matched_qmisid = bookH1withSumw2("h_ele_phi_matched_qmisid","charge misid vs gen phi",phi_nbin,phi_min,phi_max);
  h1_ele_simZ_matched_qmisid = bookH1withSumw2("h_ele_z_matched_qmisid","charge misid vs gen z",xyz_nbin, -25, 25 );

  // matched electrons
  h1_ele_charge = bookH1withSumw2("h_ele_charge","ele charge",5,-2.5,2.5,"charge");
  h2_ele_chargeVsEta = bookH2("h_ele_chargeVsEta","ele charge vs eta",eta2D_nbin,eta_min,eta_max,5,-2.,2.);
  h2_ele_chargeVsPhi = bookH2("h_ele_chargeVsPhi","ele charge vs phi",phi2D_nbin,phi_min,phi_max,5,-2.,2.);
  h2_ele_chargeVsPt = bookH2("h_ele_chargeVsPt","ele charge vs pt",pt_nbin,0.,100.,5,-2.,2.);
  h1_ele_vertexP = bookH1withSumw2("h_ele_vertexP","ele momentum",p_nbin,0.,p_max,"p_{vertex} (GeV/c)");
  h1_ele_vertexPt = bookH1withSumw2("h_ele_vertexPt","ele transverse momentum",pt_nbin,0.,pt_max,"p_{T vertex} (GeV/c)");
  h1_ele_Et = bookH1withSumw2("h_ele_Et","ele transverse energy",pt_nbin,0.,pt_max,"E_{T} (GeV)");
  h2_ele_vertexPtVsEta = bookH2("h_ele_vertexPtVsEta","ele transverse momentum vs eta",eta2D_nbin,eta_min,eta_max,pt2D_nbin,0.,pt_max);
  h2_ele_vertexPtVsPhi = bookH2("h_ele_vertexPtVsPhi","ele transverse momentum vs phi",phi2D_nbin,phi_min,phi_max,pt2D_nbin,0.,pt_max);
  h1_ele_simPt_matched = bookH1("h_ele_simPt_matched","Efficiency vs gen transverse momentum",pteff_nbin,5.,pt_max);
  h1_ele_vertexEta = bookH1withSumw2("h_ele_vertexEta","ele momentum eta",eta_nbin,eta_min,eta_max,"#eta");
  h2_ele_vertexEtaVsPhi = bookH2("h_ele_vertexEtaVsPhi","ele momentum eta vs phi",eta2D_nbin,eta_min,eta_max,phi2D_nbin,phi_min,phi_max );
  h1_ele_simAbsEta_matched = bookH1withSumw2("h_ele_simAbsEta_matched","Efficiency vs gen |eta|",eta_nbin/2,0.,2.5);
  h1_ele_simEta_matched = bookH1withSumw2("h_ele_simEta_matched","Efficiency vs gen eta",eta_nbin,eta_min,eta_max);
  h2_ele_simPtEta_matched = bookH2withSumw2("h_ele_simPtEta_matched","Efficiency vs pt #eta",eta2D_nbin,eta_min,eta_max,pt2D_nbin,5.,pt_max );
  h1_ele_simPhi_matched = bookH1withSumw2("h_ele_simPhi_matched","Efficiency vs gen phi",phi_nbin,phi_min,phi_max);
  h1_ele_vertexPhi = bookH1withSumw2("h_ele_vertexPhi","ele  momentum #phi",phi_nbin,phi_min,phi_max,"#phi (rad)");
  h1_ele_vertexX = bookH1withSumw2("h_ele_vertexX","ele vertex x",xyz_nbin,-0.6,0.6,"x (cm)" );
  h1_ele_vertexY = bookH1withSumw2("h_ele_vertexY","ele vertex y",xyz_nbin,-0.6,0.6,"y (cm)" );
  h1_ele_vertexZ = bookH1withSumw2("h_ele_vertexZ","ele vertex z",xyz_nbin,-25, 25,"z (cm)" );
  h1_ele_simZ_matched = bookH1withSumw2("h_ele_simZ_matched","Efficiency vs gen vertex z",xyz_nbin,-25,25);
  h1_ele_vertexTIP = bookH1withSumw2("h_ele_vertexTIP","ele transverse impact parameter (wrt gen vtx)",90,0.,0.15,"TIP (cm)");
  h2_ele_vertexTIPVsEta = bookH2("h_ele_vertexTIPVsEta","ele transverse impact parameter (wrt gen vtx) vs eta",eta2D_nbin,eta_min,eta_max,45,0.,0.15,"#eta","TIP (cm)");
  h2_ele_vertexTIPVsPhi = bookH2("h_ele_vertexTIPVsPhi","ele transverse impact parameter (wrt gen vtx) vs phi",phi2D_nbin,phi_min,phi_max,45,0.,0.15,"#phi (rad)","TIP (cm)");
  h2_ele_vertexTIPVsPt = bookH2("h_ele_vertexTIPVsPt","ele transverse impact parameter (wrt gen vtx) vs transverse momentum",pt2D_nbin,0.,pt_max,45,0.,0.15,"p_{T} (GeV/c)","TIP (cm)");
  h1_ele_PoPtrue = bookH1withSumw2("h_ele_PoPtrue","ele momentum / gen momentum",poptrue_nbin,poptrue_min,poptrue_max,"P/P_{gen}");
  h1_ele_PoPtrue_barrel = bookH1withSumw2("h_ele_PoPtrue_barrel","ele momentum / gen momentum, barrel",poptrue_nbin,poptrue_min,poptrue_max,"P/P_{gen}");
  h1_ele_PoPtrue_endcaps = bookH1withSumw2("h_ele_PoPtrue_endcaps","ele momentum / gen momentum, endcaps",poptrue_nbin,poptrue_min,poptrue_max,"P/P_{gen}");
  h2_ele_PoPtrueVsEta = bookH2("h_ele_PoPtrueVsEta","ele momentum / gen momentum vs eta",eta2D_nbin,eta_min,eta_max,50,poptrue_min,poptrue_max);
  h2_ele_PoPtrueVsPhi = bookH2("h_ele_PoPtrueVsPhi","ele momentum / gen momentum vs phi",phi2D_nbin,phi_min,phi_max,50,poptrue_min,poptrue_max);
  h2_ele_PoPtrueVsPt = bookH2("h_ele_PoPtrueVsPt","ele momentum / gen momentum vs eta",pt2D_nbin,0.,pt_max,50,poptrue_min,poptrue_max);
  h1_ele_PoPtrue_golden_barrel = bookH1withSumw2("h_ele_PoPtrue_golden_barrel","ele momentum / gen momentum, golden, barrel",poptrue_nbin,poptrue_min,poptrue_max,"P/P_{gen}");
  h1_ele_PoPtrue_golden_endcaps = bookH1withSumw2("h_ele_PoPtrue_golden_endcaps","ele momentum / gen momentum, golden, endcaps",poptrue_nbin,poptrue_min,poptrue_max,"P/P_{gen}");
  h1_ele_PoPtrue_showering_barrel = bookH1withSumw2("h_ele_PoPtrue_showering_barrel","ele momentum / gen momentum, showering, barrel",poptrue_nbin,poptrue_min,poptrue_max,"P/P_{gen}");
  h1_ele_PoPtrue_showering_endcaps = bookH1withSumw2("h_ele_PoPtrue_showering_endcaps","ele momentum / gen momentum, showering, endcaps",poptrue_nbin,poptrue_min,poptrue_max,"P/P_{gen}");
  h1_ele_PtoPttrue = bookH1withSumw2("h_ele_PtoPttrue","ele transverse momentum / gen transverse momentum",poptrue_nbin,poptrue_min,poptrue_max,"P_{T}/P_{T}^{gen}");
  h1_ele_PtoPttrue_barrel = bookH1withSumw2("h_ele_PtoPttrue_barrel","ele transverse momentum / gen transverse momentum, barrel",poptrue_nbin,poptrue_min,poptrue_max,"P_{T}/P_{T}^{gen}");
  h1_ele_PtoPttrue_endcaps = bookH1withSumw2("h_ele_PtoPttrue_endcaps","ele transverse momentum / gen transverse momentum, endcaps",poptrue_nbin,poptrue_min,poptrue_max,"P_{T}/P_{T}^{gen}");
  h1_ele_EtaMnEtaTrue = bookH1withSumw2("h_ele_EtaMnEtaTrue","ele momentum  eta - gen  eta",deta_nbin,deta_min,deta_max,"#eta_{rec} - #eta_{gen}");
  h1_ele_EtaMnEtaTrue_barrel = bookH1withSumw2("h_ele_EtaMnEtaTrue_barrel","ele momentum  eta - gen  eta barrel",deta_nbin,deta_min,deta_max,"#eta_{rec} - #eta_{gen}");
  h1_ele_EtaMnEtaTrue_endcaps = bookH1withSumw2("h_ele_EtaMnEtaTrue_endcaps","ele momentum  eta - gen  eta endcaps",deta_nbin,deta_min,deta_max,"#eta_{rec} - #eta_{gen}");
  h2_ele_EtaMnEtaTrueVsEta = bookH2("h_ele_EtaMnEtaTrueVsEta","ele momentum  eta - gen  eta vs eta",eta2D_nbin,eta_min,eta_max,deta_nbin/2,deta_min,deta_max);
  h2_ele_EtaMnEtaTrueVsPhi = bookH2("h_ele_EtaMnEtaTrueVsPhi","ele momentum  eta - gen  eta vs phi",phi2D_nbin,phi_min,phi_max,deta_nbin/2,deta_min,deta_max);
  h2_ele_EtaMnEtaTrueVsPt = bookH2("h_ele_EtaMnEtaTrueVsPt","ele momentum  eta - gen  eta vs pt",pt_nbin,0.,pt_max,deta_nbin/2,deta_min,deta_max);
  h1_ele_PhiMnPhiTrue = bookH1withSumw2("h_ele_PhiMnPhiTrue","ele momentum  phi - gen  phi",dphi_nbin,dphi_min,dphi_max,"#phi_{rec} - #phi_{gen} (rad)");
  h1_ele_PhiMnPhiTrue_barrel = bookH1withSumw2("h_ele_PhiMnPhiTrue_barrel","ele momentum  phi - gen  phi barrel",dphi_nbin,dphi_min,dphi_max,"#phi_{rec} - #phi_{gen} (rad)");
  h1_ele_PhiMnPhiTrue_endcaps = bookH1withSumw2("h_ele_PhiMnPhiTrue_endcaps","ele momentum  phi - gen  phi endcaps",dphi_nbin,dphi_min,dphi_max,"#phi_{rec} - #phi_{gen} (rad)");
  h1_ele_PhiMnPhiTrue2 = bookH1("h_ele_PhiMnPhiTrue2","ele momentum  phi - gen  phi",dphimatch2D_nbin,dphimatch_min,dphimatch_max);
  h2_ele_PhiMnPhiTrueVsEta = bookH2("h_ele_PhiMnPhiTrueVsEta","ele momentum  phi - gen  phi vs eta",eta2D_nbin,eta_min,eta_max,dphi_nbin/2,dphi_min,dphi_max);
  h2_ele_PhiMnPhiTrueVsPhi = bookH2("h_ele_PhiMnPhiTrueVsPhi","ele momentum  phi - gen  phi vs phi",phi2D_nbin,phi_min,phi_max,dphi_nbin/2,dphi_min,dphi_max);
  h2_ele_PhiMnPhiTrueVsPt = bookH2("h_ele_PhiMnPhiTrueVsPt","ele momentum  phi - gen  phi vs pt",pt2D_nbin,0.,pt_max,dphi_nbin/2,dphi_min,dphi_max);

  // matched electron, superclusters
  h1_scl_En_ = bookH1withSumw2("h_scl_energy","ele supercluster energy",p_nbin,0.,p_max);
  h1_scl_EoEtrue_barrel = bookH1withSumw2("h_scl_EoEtrue_barrel","ele supercluster energy / gen energy, barrel",50,0.2,1.2,"E/E_{gen}");
  h1_scl_EoEtrue_barrel_eg = bookH1withSumw2("h_scl_EoEtrue_barrel_eg","ele supercluster energy / gen energy, barrel, ecal driven",50,0.2,1.2,"E/E_{gen}");
  h1_scl_EoEtrue_barrel_etagap = bookH1withSumw2("h_scl_EoEtrue_barrel_etagap","ele supercluster energy / gen energy, barrel, etagap",50,0.2,1.2,"E/E_{gen}");
  h1_scl_EoEtrue_barrel_phigap = bookH1withSumw2("h_scl_EoEtrue_barrel_phigap","ele supercluster energy / gen energy, barrel, phigap",50,0.2,1.2,"E/E_{gen}");
  h1_scl_EoEtrue_ebeegap = bookH1withSumw2("h_scl_EoEtrue_ebeegap","ele supercluster energy / gen energy, ebeegap",50,0.2,1.2,"E/E_{gen}");
  h1_scl_EoEtrue_endcaps = bookH1withSumw2("h_scl_EoEtrue_endcaps","ele supercluster energy / gen energy, endcaps",50,0.2,1.2,"E/E_{gen}");
  h1_scl_EoEtrue_endcaps_eg = bookH1withSumw2("h_scl_EoEtrue_endcaps_eg","ele supercluster energy / gen energy, endcaps, ecal driven",50,0.2,1.2,"E/E_{gen}");
  h1_scl_EoEtrue_endcaps_deegap = bookH1withSumw2("h_scl_EoEtrue_endcaps_deegap","ele supercluster energy / gen energy, endcaps, deegap",50,0.2,1.2,"E/E_{gen}");
  h1_scl_EoEtrue_endcaps_ringgap = bookH1withSumw2("h_scl_EoEtrue_endcaps_ringgap","ele supercluster energy / gen energy, endcaps, ringgap",50,0.2,1.2,"E/E_{gen}");
  h1_scl_EoEtrue_barrel_new = bookH1withSumw2("h_scl_EoEtrue_barrel_new","ele supercluster energy / gen energy, barrel",poptrue_nbin,poptrue_min,poptrue_max,"E/E_{gen}");
  h1_scl_EoEtrue_barrel_new_eg = bookH1withSumw2("h_scl_EoEtrue_barrel_new_eg","ele supercluster energy / gen energy, barrel, ecal driven",poptrue_nbin,poptrue_min,poptrue_max,"E/E_{gen}");
  h1_scl_EoEtrue_barrel_new_etagap = bookH1withSumw2("h_scl_EoEtrue_barrel_new_etagap","ele supercluster energy / gen energy, barrel, etagap",poptrue_nbin,poptrue_min,poptrue_max,"E/E_{gen}");
  h1_scl_EoEtrue_barrel_new_phigap = bookH1withSumw2("h_scl_EoEtrue_barrel_new_phigap","ele supercluster energy / gen energy, barrel, phigap",poptrue_nbin,poptrue_min,poptrue_max,"E/E_{gen}");
  h1_scl_EoEtrue_ebeegap_new = bookH1withSumw2("h_scl_EoEtrue_ebeegap_new","ele supercluster energy / gen energy, ebeegap",poptrue_nbin,poptrue_min,poptrue_max,"E/E_{gen}");
  h1_scl_EoEtrue_endcaps_new = bookH1withSumw2("h_scl_EoEtrue_endcaps_new","ele supercluster energy / gen energy, endcaps",poptrue_nbin,poptrue_min,poptrue_max,"E/E_{gen}");
  h1_scl_EoEtrue_endcaps_new_eg = bookH1withSumw2("h_scl_EoEtrue_endcaps_new_eg","ele supercluster energy / gen energy, endcaps, ecal driven",poptrue_nbin,poptrue_min,poptrue_max,"E/E_{gen}");
  h1_scl_EoEtrue_endcaps_new_deegap = bookH1withSumw2("h_scl_EoEtrue_endcaps_new_deegap","ele supercluster energy / gen energy, endcaps, deegap",poptrue_nbin,poptrue_min,poptrue_max,"E/E_{gen}");
  h1_scl_EoEtrue_endcaps_new_ringgap = bookH1withSumw2("h_scl_EoEtrue_endcaps_new_ringgap","ele supercluster energy / gen energy, endcaps, ringgap",poptrue_nbin,poptrue_min,poptrue_max,"E/E_{gen}");
  h1_scl_Et_ = bookH1withSumw2("h_scl_et","ele supercluster transverse energy",pt_nbin,0.,pt_max);
  h2_scl_EtVsEta_ = bookH2("h_scl_etVsEta","ele supercluster transverse energy vs eta",eta2D_nbin,eta_min,eta_max,pt_nbin,0.,pt_max);
  h2_scl_EtVsPhi_ = bookH2("h_scl_etVsPhi","ele supercluster transverse energy vs phi",phi2D_nbin,phi_min,phi_max,pt_nbin,0.,pt_max);
  h2_scl_EtaVsPhi_ = bookH2("h_scl_etaVsPhi","ele supercluster eta vs phi",phi2D_nbin,phi_min,phi_max,eta2D_nbin,eta_min,eta_max);
  h1_scl_Eta_ = bookH1withSumw2("h_scl_eta","ele supercluster eta",eta_nbin,eta_min,eta_max);
  h1_scl_Phi_ = bookH1withSumw2("h_scl_phi","ele supercluster phi",phi_nbin,phi_min,phi_max);
  h1_scl_SigEtaEta_  = bookH1withSumw2("h_scl_sigetaeta","ele supercluster sigma eta eta",100,0.,0.05,"#sigma_{#eta #eta}");
  h1_scl_SigEtaEta_barrel_  = bookH1withSumw2("h_scl_sigetaeta_barrel","ele supercluster sigma eta eta barrel",100,0.,0.05,"#sigma_{#eta #eta}");
  h1_scl_SigEtaEta_endcaps_  = bookH1withSumw2("h_scl_sigetaeta_endcaps","ele supercluster sigma eta eta endcaps",100,0.,0.05,"#sigma_{#eta #eta}");
  h1_scl_SigIEtaIEta_  = bookH1withSumw2("h_scl_sigietaieta","ele supercluster sigma ieta ieta",100,0.,0.05,"#sigma_{i#eta i#eta}");
  h1_scl_SigIEtaIEta_barrel_  = bookH1withSumw2("h_scl_sigietaieta_barrel","ele supercluster sigma ieta ieta, barrel",100,0.,0.05,"#sigma_{i#eta i#eta}");
  h1_scl_SigIEtaIEta_endcaps_  = bookH1withSumw2("h_scl_sigietaieta_endcaps","ele supercluster sigma ieta ieta, endcaps",100,0.,0.05,"#sigma_{i#eta i#eta}");
  h1_scl_E1x5_  = bookH1withSumw2("h_scl_E1x5","ele supercluster energy in 1x5",p_nbin,0., p_max,"E1x5 (GeV)");
  h1_scl_E1x5_barrel_  = bookH1withSumw2("h_scl_E1x5_barrel","ele supercluster energy in 1x5 barrel",p_nbin,0., p_max,"E1x5 (GeV)");
  h1_scl_E1x5_endcaps_  = bookH1withSumw2("h_scl_E1x5_endcaps","ele supercluster energy in 1x5 endcaps",p_nbin,0., p_max,"E1x5 (GeV)");
  h1_scl_E2x5max_  = bookH1withSumw2("h_scl_E2x5max","ele supercluster energy in 2x5 max",p_nbin,0.,p_max,"E2x5 (GeV)");
  h1_scl_E2x5max_barrel_  = bookH1withSumw2("h_scl_E2x5max_barrel","ele supercluster energy in 2x5 _max barrel",p_nbin,0.,p_max,"E2x5 (GeV)");
  h1_scl_E2x5max_endcaps_  = bookH1withSumw2("h_scl_E2x5max_endcaps","ele supercluster energy in 2x5 _max endcaps",p_nbin,0.,p_max,"E2x5 (GeV)");
  h1_scl_E5x5_  = bookH1withSumw2("h_scl_E5x5","ele supercluster energy in 5x5",p_nbin,0.,p_max,"E5x5 (GeV)");
  h1_scl_E5x5_barrel_  = bookH1withSumw2("h_scl_E5x5_barrel","ele supercluster energy in 5x5 barrel",p_nbin,0.,p_max,"E5x5 (GeV)");
  h1_scl_E5x5_endcaps_  = bookH1withSumw2("h_scl_E5x5_endcaps","ele supercluster energy in 5x5 endcaps",p_nbin,0.,p_max,"E5x5 (GeV)");
  h1_scl_SigEtaEta_eg_  = bookH1withSumw2("h_scl_sigetaeta_eg","ele supercluster sigma eta eta, ecal driven",100,0.,0.05);
  h1_scl_SigEtaEta_eg_barrel_  = bookH1withSumw2("h_scl_sigetaeta_eg_barrel","ele supercluster sigma eta eta, ecal driven barrel",100,0.,0.05);
  h1_scl_SigEtaEta_eg_endcaps_  = bookH1withSumw2("h_scl_sigetaeta_eg_endcaps","ele supercluster sigma eta eta, ecal driven endcaps",100,0.,0.05);
  h1_scl_SigIEtaIEta_eg_  = bookH1withSumw2("h_scl_sigietaieta_eg","ele supercluster sigma ieta ieta, ecal driven",100,0.,0.05);
  h1_scl_SigIEtaIEta_eg_barrel_  = bookH1withSumw2("h_scl_sigietaieta_barrel_eg","ele supercluster sigma ieta ieta, barrel, ecal driven",100,0.,0.05);
  h1_scl_SigIEtaIEta_eg_endcaps_  = bookH1withSumw2("h_scl_sigietaieta_endcaps_eg","ele supercluster sigma ieta ieta, endcaps, ecal driven",100,0.,0.05);
  h1_scl_E1x5_eg_  = bookH1withSumw2("h_scl_E1x5_eg","ele supercluster energy in 1x5, ecal driven",p_nbin,0., p_max);
  h1_scl_E1x5_eg_barrel_  = bookH1withSumw2("h_scl_E1x5_eg_barrel","ele supercluster energy in 1x5, ecal driven barrel",p_nbin,0., p_max);
  h1_scl_E1x5_eg_endcaps_  = bookH1withSumw2("h_scl_E1x5_eg_endcaps","ele supercluster energy in 1x5, ecal driven endcaps",p_nbin,0., p_max);
  h1_scl_E2x5max_eg_  = bookH1withSumw2("h_scl_E2x5max_eg","ele supercluster energy in 2x5 _max, ecal driven",p_nbin,0.,p_max);
  h1_scl_E2x5max_eg_barrel_  = bookH1withSumw2("h_scl_E2x5max_eg_barrel","ele supercluster energy in 2x5 _max, ecal driven barrel",p_nbin,0.,p_max);
  h1_scl_E2x5max_eg_endcaps_  = bookH1withSumw2("h_scl_E2x5max_eg_endcaps","ele supercluster energy in 2x5 _max, ecal driven endcaps",p_nbin,0.,p_max);
  h1_scl_E5x5_eg_  = bookH1withSumw2("h_scl_E5x5_eg","ele supercluster energy in 5x5, ecal driven",p_nbin,0.,p_max);
  h1_scl_E5x5_eg_barrel_  = bookH1withSumw2("h_scl_E5x5_eg_barrel","ele supercluster energy in 5x5, ecal driven barrel",p_nbin,0.,p_max);
  h1_scl_E5x5_eg_endcaps_  = bookH1withSumw2("h_scl_E5x5_eg_endcaps","ele supercluster energy in 5x5, ecal driven endcaps",p_nbin,0.,p_max);
  h2_scl_EoEtruePfVsEg = bookH2("h_scl_EoEtruePfVsEg","ele supercluster energy / gen energy pflow vs eg",75,-0.1,1.4, 75, -0.1, 1.4,"E/E_{gen} (e/g)","E/E_{gen} (pflow)") ;

  // matched electron, gsf tracks
  h1_ele_ambiguousTracks = bookH1withSumw2("h_ele_ambiguousTracks","ele # ambiguous tracks",  5,0.,5.,"N_{ambiguous tracks}");
  h2_ele_ambiguousTracksVsEta = bookH2("h_ele_ambiguousTracksVsEta","ele # ambiguous tracks vs eta",eta2D_nbin,eta_min,eta_max,5,0.,5.);
  h2_ele_ambiguousTracksVsPhi = bookH2("h_ele_ambiguousTracksVsPhi","ele # ambiguous tracks vs phi",phi2D_nbin,phi_min,phi_max,5,0.,5.);
  h2_ele_ambiguousTracksVsPt = bookH2("h_ele_ambiguousTracksVsPt","ele # ambiguous tracks vs pt",pt2D_nbin,0.,pt_max,5,0.,5.);
  h1_ele_foundHits = bookH1withSumw2("h_ele_foundHits","ele track # found hits",fhits_nbin,0.,fhits_max,"N_{hits}");
  h1_ele_foundHits_barrel = bookH1withSumw2("h_ele_foundHits_barrel","ele track # found hits, barrel",fhits_nbin,0.,fhits_max,"N_{hits}");
  h1_ele_foundHits_endcaps = bookH1withSumw2("h_ele_foundHits_endcaps","ele track # found hits, endcaps",fhits_nbin,0.,fhits_max,"N_{hits}");
  h2_ele_foundHitsVsEta = bookH2("h_ele_foundHitsVsEta","ele track # found hits vs eta",eta2D_nbin,eta_min,eta_max,fhits_nbin,0.,fhits_max);
  h2_ele_foundHitsVsPhi = bookH2("h_ele_foundHitsVsPhi","ele track # found hits vs phi",phi2D_nbin,phi_min,phi_max,fhits_nbin,0.,fhits_max);
  h2_ele_foundHitsVsPt = bookH2("h_ele_foundHitsVsPt","ele track # found hits vs pt",pt2D_nbin,0.,pt_max,fhits_nbin,0.,fhits_max);
  h1_ele_lostHits = bookH1withSumw2("h_ele_lostHits","ele track # lost hits",       5,0.,5.,"N_{lost hits}");
  h1_ele_lostHits_barrel = bookH1withSumw2("h_ele_lostHits_barrel","ele track # lost hits, barrel",       5,0.,5.,"N_{lost hits}");
  h1_ele_lostHits_endcaps = bookH1withSumw2("h_ele_lostHits_endcaps","ele track # lost hits, endcaps",       5,0.,5.,"N_{lost hits}");
  h2_ele_lostHitsVsEta = bookH2("h_ele_lostHitsVsEta","ele track # lost hits vs eta",eta2D_nbin,eta_min,eta_max,lhits_nbin,0.,lhits_max);
  h2_ele_lostHitsVsPhi = bookH2("h_ele_lostHitsVsPhi","ele track # lost hits vs eta",phi2D_nbin,phi_min,phi_max,lhits_nbin,0.,lhits_max);
  h2_ele_lostHitsVsPt = bookH2("h_ele_lostHitsVsPt","ele track # lost hits vs eta",pt2D_nbin,0.,pt_max,lhits_nbin,0.,lhits_max);
  h1_ele_chi2 = bookH1withSumw2("h_ele_chi2","ele track #chi^{2}",100,0.,15.,"#Chi^{2}");
  h1_ele_chi2_barrel = bookH1withSumw2("h_ele_chi2_barrel","ele track #chi^{2}, barrel",100,0.,15.,"#Chi^{2}");
  h1_ele_chi2_endcaps = bookH1withSumw2("h_ele_chi2_endcaps","ele track #chi^{2}, endcaps",100,0.,15.,"#Chi^{2}");
  h2_ele_chi2VsEta = bookH2("h_ele_chi2VsEta","ele track #chi^{2} vs eta",eta2D_nbin,eta_min,eta_max,50,0.,15.);
  h2_ele_chi2VsPhi = bookH2("h_ele_chi2VsPhi","ele track #chi^{2} vs phi",phi2D_nbin,phi_min,phi_max,50,0.,15.);
  h2_ele_chi2VsPt = bookH2("h_ele_chi2VsPt","ele track #chi^{2} vs pt",pt2D_nbin,0.,pt_max,50,0.,15.);
  h1_ele_PinMnPout = bookH1withSumw2("h_ele_PinMnPout","ele track inner p - outer p, mean of GSF components"   ,p_nbin,0.,200.,"P_{vertex} - P_{out} (GeV/c)");
  h1_ele_PinMnPout_mode = bookH1withSumw2("h_ele_PinMnPout_mode","ele track inner p - outer p, mode of GSF components"   ,p_nbin,0.,100.,"P_{vertex} - P_{out}, mode of GSF components (GeV/c)");
  h2_ele_PinMnPoutVsEta_mode = bookH2("h_ele_PinMnPoutVsEta_mode","ele track inner p - outer p vs eta, mode of GSF components" ,eta2D_nbin, eta_min,eta_max,p2D_nbin,0.,100.);
  h2_ele_PinMnPoutVsPhi_mode = bookH2("h_ele_PinMnPoutVsPhi_mode","ele track inner p - outer p vs phi, mode of GSF components" ,phi2D_nbin, phi_min,phi_max,p2D_nbin,0.,100.);
  h2_ele_PinMnPoutVsPt_mode = bookH2("h_ele_PinMnPoutVsPt_mode","ele track inner p - outer p vs pt, mode of GSF components" ,pt2D_nbin, 0.,pt_max,p2D_nbin,0.,100.);
  h2_ele_PinMnPoutVsE_mode = bookH2("h_ele_PinMnPoutVsE_mode","ele track inner p - outer p vs E, mode of GSF components" ,p2D_nbin, 0.,200.,p2D_nbin,0.,100.);
  h2_ele_PinMnPoutVsChi2_mode = bookH2("h_ele_PinMnPoutVsChi2_mode","ele track inner p - outer p vs track chi2, mode of GSF components" ,50, 0.,20.,p2D_nbin,0.,100.);
  h1_ele_outerP = bookH1withSumw2("h_ele_outerP","ele track outer p, mean of GSF components",p_nbin,0.,p_max,"P_{out} (GeV/c)");
  h1_ele_outerP_mode = bookH1withSumw2("h_ele_outerP_mode","ele track outer p, mode of GSF components",p_nbin,0.,p_max,"P_{out} (GeV/c)");
  h2_ele_outerPVsEta_mode = bookH2("h_ele_outerPVsEta_mode","ele track outer p vs eta mode",eta2D_nbin,eta_min,eta_max,50,0.,p_max);
  h1_ele_outerPt = bookH1withSumw2("h_ele_outerPt","ele track outer p_{T}, mean of GSF components",pt_nbin,0.,pt_max,"P_{T out} (GeV/c)");
  h1_ele_outerPt_mode = bookH1withSumw2("h_ele_outerPt_mode","ele track outer p_{T}, mode of GSF components",pt_nbin,0.,pt_max,"P_{T out} (GeV/c)");
  h2_ele_outerPtVsEta_mode = bookH2("h_ele_outerPtVsEta_mode","ele track outer p_{T} vs eta, mode of GSF components",eta2D_nbin,eta_min,eta_max,pt2D_nbin,0.,pt_max);
  h2_ele_outerPtVsPhi_mode = bookH2("h_ele_outerPtVsPhi_mode","ele track outer p_{T} vs phi, mode of GSF components",phi2D_nbin,phi_min,phi_max,pt2D_nbin,0.,pt_max);
  h2_ele_outerPtVsPt_mode = bookH2("h_ele_outerPtVsPt_mode","ele track outer p_{T} vs pt, mode of GSF components",pt2D_nbin,0.,100.,pt2D_nbin,0.,pt_max);

  // matched electrons, matching
  h1_ele_EoP = bookH1withSumw2("h_ele_EoP","ele E/P_{vertex}",eop_nbin,0.,eop_max,"E/P_{vertex}");
  h1_ele_EoP_eg = bookH1withSumw2("h_ele_EoP_eg","ele E/P_{vertex}, ecal driven",eop_nbin,0.,eop_max);
  h1_ele_EoP_barrel = bookH1withSumw2("h_ele_EoP_barrel","ele E/P_{vertex} barrel",eop_nbin,0.,eop_max,"E/P_{vertex}");
  h1_ele_EoP_eg_barrel = bookH1withSumw2("h_ele_EoP_eg_barrel","ele E/P_{vertex}, ecal driven barrel",eop_nbin,0.,eop_max);
  h1_ele_EoP_endcaps = bookH1withSumw2("h_ele_EoP_endcaps","ele E/P_{vertex} endcaps",eop_nbin,0.,eop_max,"E/P_{vertex}");
  h1_ele_EoP_eg_endcaps = bookH1withSumw2("h_ele_EoP_eg_endcaps","ele E/P_{vertex}, ecal driven endcaps",eop_nbin,0.,eop_max);
  h2_ele_EoPVsEta = bookH2("h_ele_EoPVsEta","ele E/P_{vertex} vs eta",eta2D_nbin,eta_min,eta_max,eop2D_nbin,0.,eopmaxsht);
  h2_ele_EoPVsPhi = bookH2("h_ele_EoPVsPhi","ele E/P_{vertex} vs phi",phi2D_nbin,phi_min,phi_max,eop2D_nbin,0.,eopmaxsht);
  h2_ele_EoPVsE = bookH2("h_ele_EoPVsE","ele E/P_{vertex} vs E",  50,0.,p_max ,50,0.,5.);
  h1_ele_EseedOP = bookH1withSumw2("h_ele_EseedOP","ele E_{seed}/P_{vertex}",eop_nbin,0.,eop_max,"E_{seed}/P_{vertex}");
  h1_ele_EseedOP_eg = bookH1withSumw2("h_ele_EseedOP_eg","ele E_{seed}/P_{vertex}, ecal driven",eop_nbin,0.,eop_max);
  h1_ele_EseedOP_barrel = bookH1withSumw2("h_ele_EseedOP_barrel","ele E_{seed}/P_{vertex} barrel",eop_nbin,0.,eop_max,"E_{seed}/P_{vertex}");
  h1_ele_EseedOP_eg_barrel = bookH1withSumw2("h_ele_EseedOP_eg_barrel","ele E_{seed}/P_{vertex}, ecal driven barrel",eop_nbin,0.,eop_max);
  h1_ele_EseedOP_endcaps = bookH1withSumw2("h_ele_EseedOP_endcaps","ele E_{seed}/P_{vertex} endcaps",eop_nbin,0.,eop_max,"E_{seed}/P_{vertex}");
  h1_ele_EseedOP_eg_endcaps = bookH1withSumw2("h_ele_EseedOP_eg_endcaps","ele E_{seed}/P_{vertex}, ecal driven, endcaps",eop_nbin,0.,eop_max);
  h2_ele_EseedOPVsEta = bookH2("h_ele_EseedOPVsEta","ele E_{seed}/P_{vertex} vs eta",eta2D_nbin,eta_min,eta_max,eop2D_nbin,0.,eopmaxsht);
  h2_ele_EseedOPVsPhi = bookH2("h_ele_EseedOPVsPhi","ele E_{seed}/P_{vertex} vs phi",phi2D_nbin,phi_min,phi_max,eop2D_nbin,0.,eopmaxsht);
  h2_ele_EseedOPVsE = bookH2("h_ele_EseedOPVsE","ele E_{seed}/P_{vertex} vs E",  50,0.,p_max ,50,0.,5.);
  h1_ele_EoPout = bookH1withSumw2("h_ele_EoPout","ele E_{seed}/P_{out}",eop_nbin,0.,eop_max,"E_{seed}/P_{out}");
  h1_ele_EoPout_eg = bookH1withSumw2("h_ele_EoPout_eg","ele E_{seed}/P_{out}, ecal driven",eop_nbin,0.,eop_max);
  h1_ele_EoPout_barrel = bookH1withSumw2("h_ele_EoPout_barrel","ele E_{seed}/P_{out} barrel",eop_nbin,0.,eop_max,"E_{seed}/P_{out}");
  h1_ele_EoPout_eg_barrel = bookH1withSumw2("h_ele_EoPout_eg_barrel","ele E_{seed}/P_{out}, ecal driven, barrel",eop_nbin,0.,eop_max);
  h1_ele_EoPout_endcaps = bookH1withSumw2("h_ele_EoPout_endcaps","ele E_{seed}/P_{out} endcaps",eop_nbin,0.,eop_max,"E_{seed}/P_{out}");
  h1_ele_EoPout_eg_endcaps = bookH1withSumw2("h_ele_EoPout_eg_endcaps","ele E_{seed}/P_{out}, ecal driven, endcaps",eop_nbin,0.,eop_max);
  h2_ele_EoPoutVsEta = bookH2("h_ele_EoPoutVsEta","ele E_{seed}/P_{out} vs eta",eta2D_nbin,eta_min,eta_max,eop2D_nbin,0.,eopmaxsht);
  h2_ele_EoPoutVsPhi = bookH2("h_ele_EoPoutVsPhi","ele E_{seed}/P_{out} vs phi",phi2D_nbin,phi_min,phi_max,eop2D_nbin,0.,eopmaxsht);
  h2_ele_EoPoutVsE = bookH2("h_ele_EoPoutVsE","ele E_{seed}/P_{out} vs E",p2D_nbin,0.,p_max,eop2D_nbin,0.,eopmaxsht);
  h1_ele_EeleOPout = bookH1withSumw2("h_ele_EeleOPout","ele E_{ele}/P_{out}",eop_nbin,0.,eop_max,"E_{ele}/P_{out}");
  h1_ele_EeleOPout_eg = bookH1withSumw2("h_ele_EeleOPout_eg","ele E_{ele}/P_{out}, ecal driven",eop_nbin,0.,eop_max);
  h1_ele_EeleOPout_barrel = bookH1withSumw2("h_ele_EeleOPout_barrel","ele E_{ele}/P_{out} barrel",eop_nbin,0.,eop_max,"E_{ele}/P_{out}");
  h1_ele_EeleOPout_eg_barrel = bookH1withSumw2("h_ele_EeleOPout_eg_barrel","ele E_{ele}/P_{out}, ecal driven, barrel",eop_nbin,0.,eop_max);
  h1_ele_EeleOPout_endcaps = bookH1withSumw2("h_ele_EeleOPout_endcaps","ele E_{ele}/P_{out} endcaps",eop_nbin,0.,eop_max,"E_{ele}/P_{out}");
  h1_ele_EeleOPout_eg_endcaps = bookH1withSumw2("h_ele_EeleOPout_eg_endcaps","ele E_{ele}/P_{out}, ecal driven, endcaps",eop_nbin,0.,eop_max);
  h2_ele_EeleOPoutVsEta = bookH2("h_ele_EeleOPoutVsEta","ele E_{ele}/P_{out} vs eta",eta2D_nbin,eta_min,eta_max,eop2D_nbin,0.,eopmaxsht);
  h2_ele_EeleOPoutVsPhi = bookH2("h_ele_EeleOPoutVsPhi","ele E_{ele}/P_{out} vs phi",phi2D_nbin,phi_min,phi_max,eop2D_nbin,0.,eopmaxsht);
  h2_ele_EeleOPoutVsE = bookH2("h_ele_EeleOPoutVsE","ele E_{ele}/P_{out} vs E",p2D_nbin,0.,p_max,eop2D_nbin,0.,eopmaxsht);
  h1_ele_dEtaSc_propVtx = bookH1withSumw2("h_ele_dEtaSc_propVtx","ele #eta_{sc} - #eta_{tr}, prop from vertex",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{sc} - #eta_{tr}");
  h1_ele_dEtaSc_propVtx_eg = bookH1withSumw2("h_ele_dEtaSc_propVtx_eg","ele #eta_{sc} - #eta_{tr}, prop from vertex, ecal driven",detamatch_nbin,detamatch_min,detamatch_max);
  h1_ele_dEtaSc_propVtx_barrel = bookH1withSumw2("h_ele_dEtaSc_propVtx_barrel","ele #eta_{sc} - #eta_{tr}, prop from vertex, barrel",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{sc} - #eta_{tr}");
  h1_ele_dEtaSc_propVtx_eg_barrel = bookH1withSumw2("h_ele_dEtaSc_propVtx_eg_barrel","ele #eta_{sc} - #eta_{tr}, prop from vertex, ecal driven, barrel",detamatch_nbin,detamatch_min,detamatch_max);
  h1_ele_dEtaSc_propVtx_endcaps = bookH1withSumw2("h_ele_dEtaSc_propVtx_endcaps","ele #eta_{sc} - #eta_{tr}, prop from vertex, endcaps",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{sc} - #eta_{tr}");
  h1_ele_dEtaSc_propVtx_eg_endcaps = bookH1withSumw2("h_ele_dEtaSc_propVtx_eg_endcaps","ele #eta_{sc} - #eta_{tr}, prop from vertex, ecal driven, endcaps",detamatch_nbin,detamatch_min,detamatch_max);
  h2_ele_dEtaScVsEta_propVtx = bookH2("h_ele_dEtaScVsEta_propVtx","ele #eta_{sc} - #eta_{tr} vs eta, prop from vertex",eta2D_nbin,eta_min,eta_max,detamatch2D_nbin,detamatch_min,detamatch_max);
  h2_ele_dEtaScVsPhi_propVtx = bookH2("h_ele_dEtaScVsPhi_propVtx","ele #eta_{sc} - #eta_{tr} vs phi, prop from vertex",phi2D_nbin,phi_min,phi_max,detamatch2D_nbin,detamatch_min,detamatch_max);
  h2_ele_dEtaScVsPt_propVtx = bookH2("h_ele_dEtaScVsPt_propVtx","ele #eta_{sc} - #eta_{tr} vs pt, prop from vertex",pt2D_nbin,0.,pt_max,detamatch2D_nbin,detamatch_min,detamatch_max);
  h1_ele_dPhiSc_propVtx = bookH1withSumw2("h_ele_dPhiSc_propVtx","ele #phi_{sc} - #phi_{tr}, prop from vertex",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{sc} - #phi_{tr} (rad)");
  h1_ele_dPhiSc_propVtx_eg = bookH1withSumw2("h_ele_dPhiSc_propVtx_eg","ele #phi_{sc} - #phi_{tr}, prop from vertex, ecal driven",dphimatch_nbin,dphimatch_min,dphimatch_max);
  h1_ele_dPhiSc_propVtx_barrel = bookH1withSumw2("h_ele_dPhiSc_propVtx_barrel","ele #phi_{sc} - #phi_{tr}, prop from vertex, barrel",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{sc} - #phi_{tr} (rad)");
  h1_ele_dPhiSc_propVtx_eg_barrel = bookH1withSumw2("h_ele_dPhiSc_propVtx_eg_barrel","ele #phi_{sc} - #phi_{tr}, prop from vertex, ecal driven, barrel",dphimatch_nbin,dphimatch_min,dphimatch_max);
  h1_ele_dPhiSc_propVtx_endcaps = bookH1withSumw2("h_ele_dPhiSc_propVtx_endcaps","ele #phi_{sc} - #phi_{tr}, prop from vertex, endcaps",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{sc} - #phi_{tr} (rad)");
  h1_ele_dPhiSc_propVtx_eg_endcaps = bookH1withSumw2("h_ele_dPhiSc_propVtx_eg_endcaps","ele #phi_{sc} - #phi_{tr}, prop from vertex, ecal driven, endcaps",dphimatch_nbin,dphimatch_min,dphimatch_max);
  h2_ele_dPhiScVsEta_propVtx = bookH2("h_ele_dPhiScVsEta_propVtx","ele #phi_{sc} - #phi_{tr} vs eta, prop from vertex",eta2D_nbin,eta_min,eta_max,dphimatch2D_nbin,dphimatch_min,dphimatch_max);
  h2_ele_dPhiScVsPhi_propVtx = bookH2("h_ele_dPhiScVsPhi_propVtx","ele #phi_{sc} - #phi_{tr} vs phi, prop from vertex",phi2D_nbin,phi_min,phi_max,dphimatch2D_nbin,dphimatch_min,dphimatch_max);
  h2_ele_dPhiScVsPt_propVtx = bookH2("h_ele_dPhiScVsPt_propVtx","ele #phi_{sc} - #phi_{tr} vs pt, prop from vertex",pt2D_nbin,0.,pt_max,dphimatch2D_nbin,dphimatch_min,dphimatch_max);
  h1_ele_dEtaCl_propOut = bookH1withSumw2("h_ele_dEtaCl_propOut","ele #eta_{cl} - #eta_{tr}, prop from outermost",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{seedcl} - #eta_{tr}");
  h1_ele_dEtaCl_propOut_eg = bookH1withSumw2("h_ele_dEtaCl_propOut_eg","ele #eta_{cl} - #eta_{tr}, prop from outermost, ecal driven",detamatch_nbin,detamatch_min,detamatch_max);
  h1_ele_dEtaCl_propOut_barrel = bookH1withSumw2("h_ele_dEtaCl_propOut_barrel","ele #eta_{cl} - #eta_{tr}, prop from outermost, barrel",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{seedcl} - #eta_{tr}");
  h1_ele_dEtaCl_propOut_eg_barrel = bookH1withSumw2("h_ele_dEtaCl_propOut_eg_barrel","ele #eta_{cl} - #eta_{tr}, prop from outermost, ecal driven, barrel",detamatch_nbin,detamatch_min,detamatch_max);
  h1_ele_dEtaCl_propOut_endcaps = bookH1withSumw2("h_ele_dEtaCl_propOut_endcaps","ele #eta_{cl} - #eta_{tr}, prop from outermost, endcaps",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{seedcl} - #eta_{tr}");
  h1_ele_dEtaCl_propOut_eg_endcaps = bookH1withSumw2("h_ele_dEtaCl_propOut_eg_endcaps","ele #eta_{cl} - #eta_{tr}, prop from outermost, ecal driven, endcaps",detamatch_nbin,detamatch_min,detamatch_max);
  h2_ele_dEtaClVsEta_propOut = bookH2("h_ele_dEtaClVsEta_propOut","ele #eta_{cl} - #eta_{tr} vs eta, prop from out",eta2D_nbin,eta_min,eta_max,detamatch2D_nbin,detamatch_min,detamatch_max);
  h2_ele_dEtaClVsPhi_propOut = bookH2("h_ele_dEtaClVsPhi_propOut","ele #eta_{cl} - #eta_{tr} vs phi, prop from out",phi2D_nbin,phi_min,phi_max,detamatch2D_nbin,detamatch_min,detamatch_max);
  h2_ele_dEtaClVsPt_propOut = bookH2("h_ele_dEtaScVsPt_propOut","ele #eta_{cl} - #eta_{tr} vs pt, prop from out",pt2D_nbin,0.,pt_max,detamatch2D_nbin,detamatch_min,detamatch_max);
  h1_ele_dPhiCl_propOut = bookH1withSumw2("h_ele_dPhiCl_propOut","ele #phi_{cl} - #phi_{tr}, prop from outermost",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{seedcl} - #phi_{tr} (rad)");
  h1_ele_dPhiCl_propOut_eg = bookH1withSumw2("h_ele_dPhiCl_propOut_eg","ele #phi_{cl} - #phi_{tr}, prop from outermost, ecal driven",dphimatch_nbin,dphimatch_min,dphimatch_max);
  h1_ele_dPhiCl_propOut_barrel = bookH1withSumw2("h_ele_dPhiCl_propOut_barrel","ele #phi_{cl} - #phi_{tr}, prop from outermost, barrel",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{seedcl} - #phi_{tr} (rad)");
  h1_ele_dPhiCl_propOut_eg_barrel = bookH1withSumw2("h_ele_dPhiCl_propOut_eg_barrel","ele #phi_{cl} - #phi_{tr}, prop from outermost, ecal driven, barrel",dphimatch_nbin,dphimatch_min,dphimatch_max);
  h1_ele_dPhiCl_propOut_endcaps = bookH1withSumw2("h_ele_dPhiCl_propOut_endcaps","ele #phi_{cl} - #phi_{tr}, prop from outermost, endcaps",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{seedcl} - #phi_{tr} (rad)");
  h1_ele_dPhiCl_propOut_eg_endcaps = bookH1withSumw2("h_ele_dPhiCl_propOut_eg_endcaps","ele #phi_{cl} - #phi_{tr}, prop from outermost, ecal driven, endcaps",dphimatch_nbin,dphimatch_min,dphimatch_max);
  h2_ele_dPhiClVsEta_propOut = bookH2("h_ele_dPhiClVsEta_propOut","ele #phi_{cl} - #phi_{tr} vs eta, prop from out",eta2D_nbin,eta_min,eta_max,dphimatch2D_nbin,dphimatch_min,dphimatch_max);
  h2_ele_dPhiClVsPhi_propOut = bookH2("h_ele_dPhiClVsPhi_propOut","ele #phi_{cl} - #phi_{tr} vs phi, prop from out",phi2D_nbin,phi_min,phi_max,dphimatch2D_nbin,dphimatch_min,dphimatch_max);
  h2_ele_dPhiClVsPt_propOut = bookH2("h_ele_dPhiSClsPt_propOut","ele #phi_{cl} - #phi_{tr} vs pt, prop from out",pt2D_nbin,0.,pt_max,dphimatch2D_nbin,dphimatch_min,dphimatch_max);
  h1_ele_dEtaEleCl_propOut = bookH1withSumw2("h_ele_dEtaEleCl_propOut","ele #eta_{EleCl} - #eta_{tr}, prop from outermost",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{elecl} - #eta_{tr}");
  h1_ele_dEtaEleCl_propOut_eg = bookH1withSumw2("h_ele_dEtaEleCl_propOut_eg","ele #eta_{EleCl} - #eta_{tr}, prop from outermost, ecal driven",detamatch_nbin,detamatch_min,detamatch_max);
  h1_ele_dEtaEleCl_propOut_barrel = bookH1withSumw2("h_ele_dEtaEleCl_propOut_barrel","ele #eta_{EleCl} - #eta_{tr}, prop from outermost, barrel",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{elecl} - #eta_{tr}");
  h1_ele_dEtaEleCl_propOut_eg_barrel = bookH1withSumw2("h_ele_dEtaEleCl_propOut_eg_barrel","ele #eta_{EleCl} - #eta_{tr}, prop from outermost, ecal driven, barrel",detamatch_nbin,detamatch_min,detamatch_max);
  h1_ele_dEtaEleCl_propOut_endcaps = bookH1withSumw2("h_ele_dEtaEleCl_propOut_endcaps","ele #eta_{EleCl} - #eta_{tr}, prop from outermost, endcaps",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{elecl} - #eta_{tr}");
  h1_ele_dEtaEleCl_propOut_eg_endcaps = bookH1withSumw2("h_ele_dEtaEleCl_propOut_eg_endcaps","ele #eta_{EleCl} - #eta_{tr}, prop from outermost, ecal driven, endcaps",detamatch_nbin,detamatch_min,detamatch_max);
  h2_ele_dEtaEleClVsEta_propOut = bookH2("h_ele_dEtaEleClVsEta_propOut","ele #eta_{EleCl} - #eta_{tr} vs eta, prop from out",eta2D_nbin,eta_min,eta_max,detamatch2D_nbin,detamatch_min,detamatch_max);
  h2_ele_dEtaEleClVsPhi_propOut = bookH2("h_ele_dEtaEleClVsPhi_propOut","ele #eta_{EleCl} - #eta_{tr} vs phi, prop from out",phi2D_nbin,phi_min,phi_max,detamatch2D_nbin,detamatch_min,detamatch_max);
  h2_ele_dEtaEleClVsPt_propOut = bookH2("h_ele_dEtaScVsPt_propOut","ele #eta_{EleCl} - #eta_{tr} vs pt, prop from out",pt2D_nbin,0.,pt_max,detamatch2D_nbin,detamatch_min,detamatch_max);
  h1_ele_dPhiEleCl_propOut = bookH1withSumw2("h_ele_dPhiEleCl_propOut","ele #phi_{EleCl} - #phi_{tr}, prop from outermost",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{elecl} - #phi_{tr} (rad)");
  h1_ele_dPhiEleCl_propOut_eg = bookH1withSumw2("h_ele_dPhiEleCl_propOut_eg","ele #phi_{EleCl} - #phi_{tr}, prop from outermost, ecal driven",dphimatch_nbin,dphimatch_min,dphimatch_max);
  h1_ele_dPhiEleCl_propOut_barrel = bookH1withSumw2("h_ele_dPhiEleCl_propOut_barrel","ele #phi_{EleCl} - #phi_{tr}, prop from outermost, barrel",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{elecl} - #phi_{tr} (rad)");
  h1_ele_dPhiEleCl_propOut_eg_barrel = bookH1withSumw2("h_ele_dPhiEleCl_propOut_eg_barrel","ele #phi_{EleCl} - #phi_{tr}, prop from outermost, ecal driven, barrel",dphimatch_nbin,dphimatch_min,dphimatch_max);
  h1_ele_dPhiEleCl_propOut_endcaps = bookH1withSumw2("h_ele_dPhiEleCl_propOut_endcaps","ele #phi_{EleCl} - #phi_{tr}, prop from outermost, endcaps",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{elecl} - #phi_{tr} (rad)");
  h1_ele_dPhiEleCl_propOut_eg_endcaps = bookH1withSumw2("h_ele_dPhiEleCl_propOut_eg_endcaps","ele #phi_{EleCl} - #phi_{tr}, prop from outermost, ecal driven, endcaps",dphimatch_nbin,dphimatch_min,dphimatch_max);
  h2_ele_dPhiEleClVsEta_propOut = bookH2("h_ele_dPhiEleClVsEta_propOut","ele #phi_{EleCl} - #phi_{tr} vs eta, prop from out",eta2D_nbin,eta_min,eta_max,dphimatch2D_nbin,dphimatch_min,dphimatch_max);
  h2_ele_dPhiEleClVsPhi_propOut = bookH2("h_ele_dPhiEleClVsPhi_propOut","ele #phi_{EleCl} - #phi_{tr} vs phi, prop from out",phi2D_nbin,phi_min,phi_max,dphimatch2D_nbin,dphimatch_min,dphimatch_max);
  h2_ele_dPhiEleClVsPt_propOut = bookH2("h_ele_dPhiSEleClsPt_propOut","ele #phi_{EleCl} - #phi_{tr} vs pt, prop from out",pt2D_nbin,0.,pt_max,dphimatch2D_nbin,dphimatch_min,dphimatch_max);
  h1_ele_HoE = bookH1withSumw2("h_ele_HoE","ele hadronic energy / em energy",hoe_nbin, hoe_min, hoe_max,"H/E") ;
  h1_ele_HoE_eg = bookH1withSumw2("h_ele_HoE_eg","ele hadronic energy / em energy, ecal driven",hoe_nbin, hoe_min, hoe_max) ;
  h1_ele_HoE_barrel = bookH1withSumw2("h_ele_HoE_barrel","ele hadronic energy / em energy, barrel",hoe_nbin, hoe_min, hoe_max,"H/E") ;
  h1_ele_HoE_eg_barrel = bookH1withSumw2("h_ele_HoE_eg_barrel","ele hadronic energy / em energy, ecal driven, barrel",hoe_nbin, hoe_min, hoe_max) ;
  h1_ele_HoE_endcaps = bookH1withSumw2("h_ele_HoE_endcaps","ele hadronic energy / em energy, endcaps",hoe_nbin, hoe_min, hoe_max,"H/E") ;
  h1_ele_HoE_eg_endcaps = bookH1withSumw2("h_ele_HoE_eg_endcaps","ele hadronic energy / em energy, ecal driven, endcaps",hoe_nbin, hoe_min, hoe_max) ;
  h1_ele_HoE_fiducial = bookH1withSumw2("h_ele_HoE_fiducial","ele hadronic energy / em energy, fiducial region",hoe_nbin, hoe_min, hoe_max,"H/E") ;
  h2_ele_HoEVsEta = bookH2("h_ele_HoEVsEta","ele hadronic energy / em energy vs eta",eta_nbin,eta_min,eta_max,hoe_nbin, hoe_min, hoe_max) ;
  h2_ele_HoEVsPhi = bookH2("h_ele_HoEVsPhi","ele hadronic energy / em energy vs phi",phi2D_nbin,phi_min,phi_max,hoe_nbin, hoe_min, hoe_max) ;
  h2_ele_HoEVsE = bookH2("h_ele_HoEVsE","ele hadronic energy / em energy vs E",p_nbin, 0.,300.,hoe_nbin, hoe_min, hoe_max) ;

  // seeds
  h1_ele_seed_subdet2_ = bookH1withSumw2("h_ele_seedSubdet2","ele seed subdet 2nd layer",11,-0.5,10.5,"2nd hit subdet Id") ;
  h1_ele_seed_mask_ = bookH1withSumw2("h_ele_seedMask","ele seed hits mask",13,-0.5,12.5) ;
  h1_ele_seed_mask_bpix_ = bookH1withSumw2("h_ele_seedMask_Bpix","ele seed hits mask when subdet2 is bpix",13,-0.5,12.5) ;
  h1_ele_seed_mask_fpix_ = bookH1withSumw2("h_ele_seedMask_Fpix","ele seed hits mask when subdet2 is bpix",13,-0.5,12.5) ;
  h1_ele_seed_mask_tec_ = bookH1withSumw2("h_ele_seedMask_Tec","ele seed hits mask when subdet2 is bpix",13,-0.5,12.5) ;
  h1_ele_seed_dphi2_ = bookH1withSumw2("h_ele_seedDphi2","ele seed dphi 2nd layer", 50,-0.010,+0.010,"#phi_{hit}-#phi_{pred} (rad)") ;
  h2_ele_seed_dphi2VsEta_ = bookH2("h_ele_seedDphi2_VsEta","ele seed dphi 2nd layer vs eta",eta2D_nbin,eta_min,eta_max,50,-0.003,+0.003) ;
  h2_ele_seed_dphi2VsPt_ = bookH2("h_ele_seedDphi2_VsPt","ele seed dphi 2nd layer vs pt",pt2D_nbin,0.,pt_max,50,-0.003,+0.003) ;
  h1_ele_seed_dphi2pos_ = bookH1withSumw2("h_ele_seedDphi2Pos","ele seed dphi 2nd layer positron", 50,-0.010,+0.010,"#phi_{hit}-#phi_{pred} (rad)") ;
  h2_ele_seed_dphi2posVsEta_ = bookH2("h_ele_seedDphi2Pos_VsEta","ele seed dphi 2nd layer positron vs eta",eta2D_nbin,eta_min,eta_max,50,-0.003,+0.003) ;
  h2_ele_seed_dphi2posVsPt_ = bookH2("h_ele_seedDphi2Pos_VsPt","ele seed dphi 2nd layer positron vs pt",pt2D_nbin,0.,pt_max,50,-0.003,+0.003) ;
  h1_ele_seed_drz2_ = bookH1withSumw2("h_ele_seedDrz2","ele seed dr (dz) 2nd layer", 50,-0.03,+0.03,"r(z)_{hit}-r(z)_{pred} (cm)") ;
  h2_ele_seed_drz2VsEta_ = bookH2("h_ele_seedDrz2_VsEta","ele seed dr/dz 2nd layer vs eta",eta2D_nbin,eta_min,eta_max,50,-0.03,+0.03) ;
  h2_ele_seed_drz2VsPt_ = bookH2("h_ele_seedDrz2_VsPt","ele seed dr/dz 2nd layer vs pt",pt2D_nbin,0.,pt_max,50,-0.03,+0.03) ;
  h1_ele_seed_drz2pos_ = bookH1withSumw2("h_ele_seedDrz2Pos","ele seed dr (dz) 2nd layer positron", 50,-0.03,+0.03,"r(z)_{hit}-r(z)_{pred} (cm)") ;
  h2_ele_seed_drz2posVsEta_ = bookH2("h_ele_seedDrz2Pos_VsEta","ele seed dr/dz 2nd layer positron vs eta",eta2D_nbin,eta_min,eta_max,50,-0.03,+0.03) ;
  h2_ele_seed_drz2posVsPt_ = bookH2("h_ele_seedDrz2Pos_VsPt","ele seed dr/dz 2nd layer positron vs pt",pt2D_nbin,0.,pt_max,50,-0.03,+0.03) ;

  // classes
  h1_ele_classes = bookH1withSumw2("h_ele_classes","ele classes",20,0.0,20.,"class Id");
  h1_ele_eta = bookH1withSumw2("h_ele_eta","ele electron eta",eta_nbin/2,0.0,eta_max);
  h1_ele_eta_golden = bookH1withSumw2("h_ele_eta_golden","ele electron eta golden",eta_nbin/2,0.0,eta_max);
  h1_ele_eta_bbrem = bookH1withSumw2("h_ele_eta_bbrem","ele electron eta bbrem",eta_nbin/2,0.0,eta_max);
  h1_ele_eta_narrow = bookH1withSumw2("h_ele_eta_narrow","ele electron eta narrow",eta_nbin/2,0.0,eta_max);
  h1_ele_eta_shower = bookH1withSumw2("h_ele_eta_show","ele electron eta showering",eta_nbin/2,0.0,eta_max);
  h2_ele_PinVsPoutGolden_mode = bookH2("h_ele_PinVsPoutGolden_mode","ele track inner p vs outer p vs eta, golden, mode of GSF components" ,p2D_nbin,0.,p_max,50,0.,p_max);
  h2_ele_PinVsPoutShowering_mode = bookH2("h_ele_PinVsPoutShowering_mode","ele track inner p vs outer p vs eta, showering, mode of GSF components" ,p2D_nbin,0.,p_max,50,0.,p_max);
  h2_ele_PinVsPoutGolden_mean = bookH2("h_ele_PinVsPoutGolden_mean","ele track inner p vs outer p vs eta, golden, mean of GSF components" ,p2D_nbin,0.,p_max,50,0.,p_max);
  h2_ele_PinVsPoutShowering_mean = bookH2("h_ele_PinVsPoutShowering_mean","ele track inner p vs outer p vs eta, showering, mean of GSF components" ,p2D_nbin,0.,p_max,50,0.,p_max);
  h2_ele_PtinVsPtoutGolden_mode = bookH2("h_ele_PtinVsPtoutGolden_mode","ele track inner pt vs outer pt vs eta, golden, mode of GSF components" ,pt2D_nbin,0.,pt_max,50,0.,pt_max);
  h2_ele_PtinVsPtoutShowering_mode = bookH2("h_ele_PtinVsPtoutShowering_mode","ele track inner pt vs outer pt vs eta, showering, mode of GSF components" ,pt2D_nbin,0.,pt_max,50,0.,pt_max);
  h2_ele_PtinVsPtoutGolden_mean = bookH2("h_ele_PtinVsPtoutGolden_mean","ele track inner pt vs outer pt vs eta, golden, mean of GSF components" ,pt2D_nbin,0.,pt_max,50,0.,pt_max);
  h2_ele_PtinVsPtoutShowering_mean = bookH2("h_ele_PtinVsPtoutShowering_mean","ele track inner pt vs outer pt vs eta, showering, mean of GSF components" ,pt2D_nbin,0.,pt_max,50,0.,pt_max);
  h1_scl_EoEtrueGolden_barrel = bookH1withSumw2("h_scl_EoEtrue_golden_barrel","ele supercluster energy / gen energy, golden, barrel",poptrue_nbin,poptrue_min,poptrue_max);
  h1_scl_EoEtrueGolden_endcaps = bookH1withSumw2("h_scl_EoEtrue_golden_endcaps","ele supercluster energy / gen energy, golden, endcaps",poptrue_nbin,poptrue_min,poptrue_max);
  h1_scl_EoEtrueShowering_barrel = bookH1withSumw2("h_scl_EoEtrue_showering_barrel","ele supercluster energy / gen energy, showering, barrel",poptrue_nbin,poptrue_min,poptrue_max);
  h1_scl_EoEtrueShowering_endcaps = bookH1withSumw2("h_scl_EoEtrue_showering_endcaps","ele supercluster energy / gen energy, showering, endcaps",poptrue_nbin,poptrue_min,poptrue_max);

  // isolation
  h1_ele_tkSumPt_dr03 = bookH1withSumw2("h_ele_tkSumPt_dr03","tk isolation sum, dR=0.3",100,0.0,20.,"TkIsoSum, cone 0.3 (GeV/c)");
  h1_ele_tkSumPt_dr03_barrel = bookH1withSumw2("h_ele_tkSumPt_dr03_barrel","tk isolation sum, dR=0.3, barrel",100,0.0,20.,"TkIsoSum, cone 0.3 (GeV/c)");
  h1_ele_tkSumPt_dr03_endcaps = bookH1withSumw2("h_ele_tkSumPt_dr03_endcaps","tk isolation sum, dR=0.3, endcaps",100,0.0,20.,"TkIsoSum, cone 0.3 (GeV/c)");
  h1_ele_ecalRecHitSumEt_dr03 = bookH1withSumw2("h_ele_ecalRecHitSumEt_dr03","ecal isolation sum, dR=0.3",100,0.0,20.,"EcalIsoSum, cone 0.3 (GeV)");
  h1_ele_ecalRecHitSumEt_dr03_barrel = bookH1withSumw2("h_ele_ecalRecHitSumEt_dr03_barrel","ecal isolation sum, dR=0.3, barrel",100,0.0,20.,"EcalIsoSum, cone 0.3 (GeV)");
  h1_ele_ecalRecHitSumEt_dr03_endcaps = bookH1withSumw2("h_ele_ecalRecHitSumEt_dr03_endcaps","ecal isolation sum, dR=0.3, endcaps",100,0.0,20.,"EcalIsoSum, cone 0.3 (GeV)");
  h1_ele_hcalTowerSumEt_dr03_depth1 = bookH1withSumw2("h_ele_hcalTowerSumEt_dr03_depth1","hcal depth1 isolation sum, dR=0.3",100,0.0,20.,"Hcal1IsoSum, cone 0.3 (GeV)");
  h1_ele_hcalTowerSumEt_dr03_depth1_barrel = bookH1withSumw2("h_ele_hcalTowerSumEt_dr03_depth1_barrel","hcal depth1 isolation sum, dR=0.3, barrel",100,0.0,20.,"Hcal1IsoSum, cone 0.3 (GeV)");
  h1_ele_hcalTowerSumEt_dr03_depth1_endcaps = bookH1withSumw2("h_ele_hcalTowerSumEt_dr03_depth1_endcaps","hcal depth1 isolation sum, dR=0.3, endcaps",100,0.0,20.,"Hcal1IsoSum, cone 0.3 (GeV)");
  h1_ele_hcalTowerSumEt_dr03_depth2 = bookH1withSumw2("h_ele_hcalTowerSumEt_dr03_depth2","hcal depth2 isolation sum, dR=0.3",100,0.0,20.,"Hcal2IsoSum, cone 0.3 (GeV)");
  h1_ele_tkSumPt_dr04 = bookH1withSumw2("h_ele_tkSumPt_dr04","tk isolation sum, dR=0.4",100,0.0,20.,"TkIsoSum, cone 0.4 (GeV/c)");
  h1_ele_tkSumPt_dr04_barrel = bookH1withSumw2("h_ele_tkSumPt_dr04_barrel","tk isolation sum, dR=0.4, barrel",100,0.0,20.,"TkIsoSum, cone 0.4 (GeV/c)");
  h1_ele_tkSumPt_dr04_endcaps = bookH1withSumw2("h_ele_tkSumPt_dr04_endcaps","tk isolation sum, dR=0.4, endcaps",100,0.0,20.,"TkIsoSum, cone 0.4 (GeV/c)");
  h1_ele_ecalRecHitSumEt_dr04 = bookH1withSumw2("h_ele_ecalRecHitSumEt_dr04","ecal isolation sum, dR=0.4",100,0.0,20.,"EcalIsoSum, cone 0.4 (GeV)");
  h1_ele_ecalRecHitSumEt_dr04_barrel = bookH1withSumw2("h_ele_ecalRecHitSumEt_dr04_barrel","ecal isolation sum, dR=0.4, barrel",100,0.0,20.,"EcalIsoSum, cone 0.4 (GeV)");
  h1_ele_ecalRecHitSumEt_dr04_endcaps = bookH1withSumw2("h_ele_ecalRecHitSumEt_dr04_endcaps","ecal isolation sum, dR=0.4, endcaps",100,0.0,20.,"EcalIsoSum, cone 0.4 (GeV)");
  h1_ele_hcalTowerSumEt_dr04_depth1 = bookH1withSumw2("h_ele_hcalTowerSumEt_dr04_depth1","hcal depth1 isolation sum, dR=0.4",100,0.0,20.,"Hcal1IsoSum, cone 0.4 (GeV)");
  h1_ele_hcalTowerSumEt_dr04_depth1_barrel = bookH1withSumw2("h_ele_hcalTowerSumEt_dr04_depth1_barrel","hcal depth1 isolation sum, dR=0.4, barrel",100,0.0,20.,"Hcal1IsoSum, cone 0.4 (GeV)");
  h1_ele_hcalTowerSumEt_dr04_depth1_endcaps = bookH1withSumw2("h_ele_hcalTowerSumEt_dr04_depth1_endcaps","hcal depth1 isolation sum, dR=0.4, endcaps",100,0.0,20.,"Hcal1IsoSum, cone 0.4 (GeV)");
  h1_ele_hcalTowerSumEt_dr04_depth2 = bookH1withSumw2("h_ele_hcalTowerSumEt_dr04_depth2","hcal depth2 isolation sum, dR=0.4",100,0.0,20.,"Hcal2IsoSum, cone 0.4 (GeV)");

  // fbrem
  h1_ele_fbrem = bookH1withSumw2("h_ele_fbrem","ele brem fraction, mode of GSF components",100,0.,1.,"P_{in} - P_{out} / P_{in}");
  h1_ele_fbrem_eg = bookH1withSumw2("h_ele_fbrem_eg","ele brem fraction, mode of GSF components, ecal driven",100,0.,1.);
  p1_ele_fbremVsEta_mode  = bookP1("h_ele_fbremvsEtamode","mean ele brem fraction vs eta, mode of GSF components",eta2D_nbin,eta_min,eta_max,0.,1.,"#eta","<P_{in} - P_{out} / P_{in}>");
  p1_ele_fbremVsEta_mean  = bookP1("h_ele_fbremvsEtamean","mean ele brem fraction vs eta, mean of GSF components",eta2D_nbin,eta_min,eta_max,0.,1.,"#eta","<P_{in} - P_{out} / P_{in}>");

  // e/g et pflow electrons
  h1_ele_mva = bookH1withSumw2("h_ele_mva","ele identification mva",100,-1.,1.);
  h1_ele_mva_eg = bookH1withSumw2("h_ele_mva_eg","ele identification mva, ecal driven",100,-1.,1.);
  h1_ele_provenance = bookH1withSumw2("h_ele_provenance","ele provenance",5,-2.,3.);

  // conversion rejection information
  h1_ele_convFlags = bookH1withSumw2("h_ele_convFlags","conversion rejection flag",5,-1.5,3.5);
  h1_ele_convFlags_all = bookH1withSumw2("h_ele_convFlags_all","conversion rejection flag, all electrons",5,-1.5,3.5);
  h1_ele_convDist = bookH1withSumw2("h_ele_convDist","distance to the conversion partner",100,-15.,15.);
  h1_ele_convDist_all = bookH1withSumw2("h_ele_convDist_all","distance to the conversion partner, all electrons",100,-15.,15.);
  h1_ele_convDcot = bookH1withSumw2("h_ele_convDcot","difference of cot(angle) with the conversion partner",100,-CLHEP::pi/2.,CLHEP::pi/2.);
  h1_ele_convDcot_all = bookH1withSumw2("h_ele_convDcot_all","difference of cot(angle) with the conversion partner, all electrons",100,-CLHEP::pi/2.,CLHEP::pi/2.);
  h1_ele_convRadius = bookH1withSumw2("h_ele_convRadius","signed conversion radius",100,0.,130.);
  h1_ele_convRadius_all = bookH1withSumw2("h_ele_convRadius_all","signed conversion radius, all electrons",100,0.,130.);

 }
void ElectronMcSignalValidator::endJob ( void  ) [virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 1218 of file ElectronMcSignalValidator.cc.

References ElectronValidator::bookH1andDivide(), ElectronValidator::bookH1withSumw2(), ElectronValidator::bookH2andDivide(), gather_cfg::cout, eta_nbin, MonitorElement::getBinContent(), MonitorElement::getNbinsX(), h1_ele_eta, h1_ele_eta_bbrem, h1_ele_eta_golden, h1_ele_eta_narrow, h1_ele_eta_shower, h1_ele_simAbsEta_matched, h1_ele_simAbsEta_matched_qmisid, h1_ele_simEta_matched, h1_ele_simEta_matched_qmisid, h1_ele_simPhi_matched, h1_ele_simPt_matched, h1_ele_simPt_matched_qmisid, h1_ele_simZ_matched, h1_ele_simZ_matched_qmisid, h1_ele_vertexEta_all, h1_ele_vertexPt_all, h1_simAbsEta, h1_simEta, h1_simPhi, h1_simPt, h1_simZ, h2_ele_ambiguousTracksVsEta, h2_ele_chi2VsEta, h2_ele_chi2VsPhi, h2_ele_EeleOPoutVsEta, h2_ele_EeleOPoutVsPhi, h2_ele_EoPoutVsEta, h2_ele_EoPoutVsPhi, h2_ele_EoPVsEta, h2_ele_EoPVsPhi, h2_ele_EtaMnEtaTrueVsEta, h2_ele_EtaMnEtaTrueVsPhi, h2_ele_foundHitsVsEta, h2_ele_foundHitsVsPhi, h2_ele_HoEVsEta, h2_ele_HoEVsPhi, h2_ele_lostHitsVsEta, h2_ele_lostHitsVsPhi, h2_ele_PhiMnPhiTrueVsEta, h2_ele_PhiMnPhiTrueVsPhi, h2_ele_PoPtrueVsEta, h2_ele_PoPtrueVsPhi, h2_ele_seed_dphi2posVsEta_, h2_ele_seed_dphi2posVsPt_, h2_ele_seed_dphi2VsEta_, h2_ele_seed_dphi2VsPt_, h2_ele_seed_drz2posVsEta_, h2_ele_seed_drz2posVsPt_, h2_ele_seed_drz2VsEta_, h2_ele_seed_drz2VsPt_, h2_ele_simPtEta_matched, h2_ele_vertexPtVsEta, h2_ele_vertexPtVsPhi, h2_ele_vertexTIPVsEta, h2_ele_vertexTIPVsPhi, h2_ele_vertexTIPVsPt, h2_scl_EoEtruePfVsEg, h2_simPtEta, funct::log(), outputFile_, p1_ele_fbremVsEta_mean, ElectronValidator::profileX(), ElectronValidator::profileY(), ElectronValidator::saveStore(), MonitorElement::setBinContent(), and ElectronValidator::setStoreFolder().

 {
  if (outputFile_!="")
   {
    setStoreFolder("EgammaV/ElectronMcSignalValidator") ;

    std::cout << "[ElectronMcSignalValidator] efficiency calculation " << std::endl ;
    bookH1andDivide("h_ele_etaEff",h1_ele_simEta_matched,h1_simEta,"#eta","Efficiency","",true);
    bookH1andDivide("h_ele_zEff",h1_ele_simZ_matched,h1_simZ,"z (cm)","Efficiency","",true);
    bookH1andDivide("h_ele_absetaEff",h1_ele_simAbsEta_matched,h1_simAbsEta,"|#eta|","Efficiency");
    bookH1andDivide("h_ele_ptEff",h1_ele_simPt_matched,h1_simPt,"p_{T} (GeV/c)","Efficiency");
    bookH1andDivide("h_ele_phiEff",h1_ele_simPhi_matched,h1_simPhi,"#phi (rad)","Efficiency");
    bookH2andDivide("h_ele_ptEtaEff",h2_ele_simPtEta_matched,h2_simPtEta,"#eta","p_{T} (GeV/c)");

    std::cout << "[ElectronMcSignalValidator] q-misid calculation " << std::endl;
    bookH1andDivide("h_ele_etaQmisid",h1_ele_simEta_matched_qmisid,h1_simEta,"#eta","q misId","",true);
    bookH1andDivide("h_ele_zQmisid",h1_ele_simZ_matched_qmisid,h1_simZ,"z (cm)","q misId","",true);
    bookH1andDivide("h_ele_absetaQmisid",h1_ele_simAbsEta_matched_qmisid,h1_simAbsEta,"|#eta|","q misId");
    bookH1andDivide("h_ele_ptQmisid",h1_ele_simPt_matched_qmisid,h1_simPt,"p_{T} (GeV/c)","q misId");

    std::cout << "[ElectronMcSignalValidator] all reco electrons " << std::endl ;
    bookH1andDivide("h_ele_etaEff_all",h1_ele_vertexEta_all,h1_simEta,"#eta","N_{rec}/N_{gen}","",true);
    bookH1andDivide("h_ele_ptEff_all",h1_ele_vertexPt_all,h1_simPt,"p_{T} (GeV/c)","N_{rec}/N_{gen}","",true);

    std::cout << "[ElectronMcSignalValidator] classes " << std::endl ;
    bookH1andDivide("h_ele_eta_goldenFrac",h1_ele_eta_golden,h1_ele_eta,"|#eta|","Fraction of electrons","fraction of golden electrons vs eta");
    bookH1andDivide("h_ele_eta_bbremFrac" ,h1_ele_eta_bbrem ,h1_ele_eta,"|#eta|","Fraction of electrons","fraction of big brem electrons vs eta");
    bookH1andDivide("h_ele_eta_narrowFrac",h1_ele_eta_narrow,h1_ele_eta,"|#eta|","Fraction of electrons","fraction of narrow electrons vs eta");
    bookH1andDivide("h_ele_eta_showerFrac",h1_ele_eta_shower,h1_ele_eta,"|#eta|","Fraction of electrons","fraction of showering electrons vs eta");

    // fbrem
    MonitorElement * h1_ele_xOverX0VsEta = bookH1withSumw2("h_ele_xOverx0VsEta","mean X/X_0 vs eta",eta_nbin/2,0.0,2.5);
    for (int ibin=1;ibin<p1_ele_fbremVsEta_mean->getNbinsX()+1;ibin++) {
      double xOverX0 = 0.;
      if (p1_ele_fbremVsEta_mean->getBinContent(ibin)>0.)
       { xOverX0 = -log(p1_ele_fbremVsEta_mean->getBinContent(ibin)) ; }
      h1_ele_xOverX0VsEta->setBinContent(ibin,xOverX0) ;
    }

    // profiles from 2D histos
    profileX("h_ele_PoPtrueVsEta_pfx",h2_ele_PoPtrueVsEta,"mean ele momentum / gen momentum vs eta","#eta","<P/P_{gen}>");
    profileX("h_ele_PoPtrueVsPhi_pfx",h2_ele_PoPtrueVsPhi,"mean ele momentum / gen momentum vs phi","#phi (rad)","<P/P_{gen}>");
    profileX("h_scl_EoEtruePfVsEg_pfx",h2_scl_EoEtruePfVsEg,"mean pflow sc energy / true energy vs e/g sc energy","E/E_{gen} (e/g)","<E/E_{gen}> (pflow)") ;
    profileY("h_scl_EoEtruePfVsEg_pfy",h2_scl_EoEtruePfVsEg,"mean e/g sc energy / true energy vs pflow sc energy","E/E_{gen} (pflow)","<E/E_{gen}> (eg)") ;
    profileX("h_ele_EtaMnEtaTrueVsEta_pfx",h2_ele_EtaMnEtaTrueVsEta,"mean ele eta - gen eta vs eta","#eta","<#eta_{rec} - #eta_{gen}>");
    profileX("h_ele_EtaMnEtaTrueVsPhi_pfx",h2_ele_EtaMnEtaTrueVsPhi,"mean ele eta - gen eta vs phi","#phi (rad)","<#eta_{rec} - #eta_{gen}>");
    profileX("h_ele_PhiMnPhiTrueVsEta_pfx",h2_ele_PhiMnPhiTrueVsEta,"mean ele phi - gen phi vs eta","#eta","<#phi_{rec} - #phi_{gen}> (rad)");
    profileX("h_ele_PhiMnPhiTrueVsPhi_pfx",h2_ele_PhiMnPhiTrueVsPhi,"mean ele phi - gen phi vs phi","#phi (rad)","");
    profileX("h_ele_vertexPtVsEta_pfx",h2_ele_vertexPtVsEta,"mean ele transverse momentum vs eta","#eta","<p_{T}> (GeV/c)");
    profileX("h_ele_vertexPtVsPhi_pfx",h2_ele_vertexPtVsPhi,"mean ele transverse momentum vs phi","#phi (rad)","<p_{T}> (GeV/c)");
    profileX("h_ele_EoPVsEta_pfx",h2_ele_EoPVsEta,"mean ele E/p vs eta","#eta","<E/P_{vertex}>");
    profileX("h_ele_EoPVsPhi_pfx",h2_ele_EoPVsPhi,"mean ele E/p vs phi","#phi (rad)","<E/P_{vertex}>");
    profileX("h_ele_EoPoutVsEta_pfx",h2_ele_EoPoutVsEta,"mean ele E/pout vs eta","#eta","<E_{seed}/P_{out}>");
    profileX("h_ele_EoPoutVsPhi_pfx",h2_ele_EoPoutVsPhi,"mean ele E/pout vs phi","#phi (rad)","<E_{seed}/P_{out}>");
    profileX("h_ele_EeleOPoutVsEta_pfx",h2_ele_EeleOPoutVsEta,"mean ele Eele/pout vs eta","#eta","<E_{ele}/P_{out}>");
    profileX("h_ele_EeleOPoutVsPhi_pfx",h2_ele_EeleOPoutVsPhi,"mean ele Eele/pout vs phi","#phi (rad)","<E_{ele}/P_{out}>");
    profileX("h_ele_HoEVsEta_pfx",h2_ele_HoEVsEta,"mean ele H/E vs eta","#eta","<H/E>");
    profileX("h_ele_HoEVsPhi_pfx",h2_ele_HoEVsPhi,"mean ele H/E vs phi","#phi (rad)","<H/E>");
    profileX("h_ele_chi2VsEta_pfx",h2_ele_chi2VsEta,"mean ele track chi2 vs eta","#eta","<#Chi^{2}>");
    profileX("h_ele_chi2VsPhi_pfx",h2_ele_chi2VsPhi,"mean ele track chi2 vs phi","#phi (rad)","<#Chi^{2}>");
    profileX("h_ele_ambiguousTracksVsEta_pfx",h2_ele_ambiguousTracksVsEta,"mean ele # ambiguous tracks  vs eta","#eta","<N_{ambiguous}>");
    profileX("h_ele_foundHitsVsEta_pfx",h2_ele_foundHitsVsEta,"mean ele track # found hits vs eta","#eta","<N_{hits}>");
    profileX("h_ele_foundHitsVsPhi_pfx",h2_ele_foundHitsVsPhi,"mean ele track # found hits vs phi","#phi (rad)","<N_{hits}>");
    profileX("h_ele_lostHitsVsEta_pfx",h2_ele_lostHitsVsEta,"mean ele track # lost hits vs eta","#eta","<N_{hits}>");
    profileX("h_ele_lostHitsVsPhi_pfx",h2_ele_lostHitsVsPhi,"mean ele track # lost hits vs phi","#phi (rad)","<N_{hits}>");
    profileX("h_ele_vertexTIPVsEta_pfx",h2_ele_vertexTIPVsEta,"mean tip (wrt gen vtx) vs eta","#eta","<TIP> (cm)");
    profileX("h_ele_vertexTIPVsPhi_pfx",h2_ele_vertexTIPVsPhi,"mean tip (wrt gen vtx) vs phi","#phi","<TIP> (cm)");
    profileX("h_ele_vertexTIPVsPt_pfx",h2_ele_vertexTIPVsPt,"mean tip (wrt gen vtx) vs phi","p_{T} (GeV/c)","<TIP> (cm)");
    profileX("h_ele_seedDphi2_VsEta_pfx",h2_ele_seed_dphi2VsEta_,"mean ele seed dphi 2nd layer vs eta","#eta","<#phi_{pred} - #phi_{hit}, 2nd layer> (rad)",-0.004,0.004);
    profileX("h_ele_seedDphi2_VsPt_pfx",h2_ele_seed_dphi2VsPt_,"mean ele seed dphi 2nd layer vs pt","p_{T} (GeV/c)","<#phi_{pred} - #phi_{hit}, 2nd layer> (rad)",-0.004,0.004);
    profileX("h_ele_seedDrz2_VsEta_pfx",h2_ele_seed_drz2VsEta_,"mean ele seed dr(dz) 2nd layer vs eta","#eta","<r(z)_{pred} - r(z)_{hit}, 2nd layer> (cm)",-0.15,0.15);
    profileX("h_ele_seedDrz2_VsPt_pfx",h2_ele_seed_drz2VsPt_,"mean ele seed dr(dz) 2nd layer vs pt","p_{T} (GeV/c)","<r(z)_{pred} - r(z)_{hit}, 2nd layer> (cm)",-0.15,0.15);
    profileX("h_ele_seedDphi2Pos_VsEta_pfx",h2_ele_seed_dphi2posVsEta_,"mean ele seed dphi 2nd layer positron vs eta","#eta","<#phi_{pred} - #phi_{hit}, 2nd layer> (rad)",-0.004,0.004);
    profileX("h_ele_seedDphi2Pos_VsPt_pfx",h2_ele_seed_dphi2posVsPt_,"mean ele seed dphi 2nd layer positron vs pt","p_{T} (GeV/c)","<#phi_{pred} - #phi_{hit}, 2nd layer> (rad)",-0.004,0.004);
    profileX("h_ele_seedDrz2Pos_VsEta_pfx",h2_ele_seed_drz2posVsEta_,"mean ele seed dr(dz) 2nd layer positron vs eta","#eta","<r(z)_{pred} - r(z)_{hit}, 2nd layer> (cm)",-0.15,0.15);
    profileX("h_ele_seedDrz2Pos_VsPt_pfx",h2_ele_seed_drz2posVsPt_,"mean ele seed dr(dz) 2nd layer positron vs pt","p_{T} (GeV/c)","<r(z)_{pred} - r(z)_{hit}, 2nd layer> (cm)",-0.15,0.15);

    saveStore(outputFile_) ;
   }
 }

Member Data Documentation

Definition at line 33 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 47 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 59 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 59 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 59 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 60 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 60 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 60 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 60 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 62 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 62 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 62 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 63 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 63 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 63 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 63 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 29 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 30 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 32 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 31 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 64 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 64 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 64 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 64 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 58 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 58 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 58 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 58 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), ElectronMcSignalValidator(), and endJob().

Definition at line 56 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 56 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 227 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 146 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 263 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 243 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 244 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 245 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 403 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 469 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 470 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 467 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 468 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 465 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 466 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 471 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 472 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 348 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 119 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 120 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 121 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 349 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 351 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 352 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 353 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 350 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 366 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 367 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 369 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 370 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 371 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 368 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 330 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 113 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 114 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 115 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 331 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 333 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 334 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 335 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 332 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 357 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 122 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 123 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 124 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 358 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 360 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 361 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 362 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 359 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 375 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 376 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 378 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 379 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 380 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 377 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 339 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 116 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 117 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 118 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 340 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 342 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 343 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 344 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 341 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 447 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 448 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 449 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 457 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 458 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 459 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 320 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 110 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 111 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 112 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 321 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 323 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 324 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 325 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 322 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 293 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 294 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 296 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 297 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 298 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 295 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 311 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 107 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 108 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 109 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 312 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 314 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 315 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 316 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 313 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 101 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 102 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 103 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 302 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 104 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 105 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 106 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 303 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 305 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 306 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 307 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 304 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 152 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 133 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 404 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 406 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 405 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 407 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and endJob().

Definition at line 408 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 264 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 265 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 266 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 421 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 422 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 231 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 232 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 233 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 450 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 451 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 452 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 453 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 460 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 461 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 462 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 463 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 410 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 128 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 129 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 130 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 411 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 413 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 414 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 415 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 412 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 416 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 237 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 238 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 239 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 134 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 135 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 141 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 136 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 137 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 138 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 140 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 139 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 439 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 440 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 285 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 286 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 288 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 289 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 270 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 273 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 271 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 272 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 277 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 278 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 250 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 255 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 256 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 257 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 258 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 259 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 260 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 441 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 251 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 261 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 262 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 390 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 393 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 396 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 399 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 386 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 387 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 388 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 389 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 385 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 89 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 96 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 88 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 95 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 91 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 98 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 90 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 97 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 92 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 99 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 125 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 126 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 127 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 444 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 445 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 446 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 454 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 455 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 456 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 158 of file ElectronMcSignalValidator.h.

Definition at line 156 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 131 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 150 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 159 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 151 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 155 of file ElectronMcSignalValidator.h.

Definition at line 132 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 163 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 160 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 161 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 162 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 72 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 73 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 71 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 76 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 75 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 78 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 77 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 202 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 203 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 217 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 218 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 219 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 204 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 205 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 206 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 220 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 221 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 222 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 207 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 208 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 209 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 223 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 224 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 225 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 210 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 168 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 169 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 171 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 173 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 178 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 180 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 182 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 183 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 174 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 175 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 184 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 170 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 176 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 172 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 179 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 185 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 181 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 186 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 177 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 434 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 435 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 436 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 437 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 187 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 191 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 192 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 196 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 197 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 211 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 212 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 213 of file ElectronMcSignalValidator.h.

Referenced by beginJob().

Definition at line 198 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 199 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 200 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 214 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 215 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 216 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 201 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 81 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 80 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 82 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 84 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 83 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 85 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 228 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 229 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 230 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 147 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 148 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 149 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 246 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 247 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 248 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 354 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 355 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 356 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 372 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 373 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 374 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 336 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 337 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 338 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 363 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 364 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 365 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 381 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 382 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 383 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 345 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 346 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 347 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 143 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 144 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 328 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 326 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 327 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 319 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 317 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 318 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 301 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 299 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 300 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 310 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 308 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 309 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 267 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 268 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 269 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 234 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 235 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 236 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 419 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 417 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 418 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 240 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 241 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 242 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 290 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 291 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 292 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 287 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 274 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 275 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 276 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 283 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 282 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 279 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 280 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 281 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 428 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 426 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 429 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 427 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 252 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 253 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 254 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 432 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 430 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 433 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 431 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 394 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 395 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 391 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 392 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 400 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 401 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 397 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 398 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 93 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 157 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 153 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 154 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 164 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 165 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 166 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 194 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 190 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 188 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 189 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 86 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 66 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 66 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 66 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 57 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 57 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

std::vector<int> ElectronMcSignalValidator::matchingIDs_ [private]

Definition at line 48 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 49 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 46 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 45 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 41 of file ElectronMcSignalValidator.h.

float ElectronMcSignalValidator::mcEta[10] [private]

Definition at line 41 of file ElectronMcSignalValidator.h.

float ElectronMcSignalValidator::mcPhi[10] [private]

Definition at line 41 of file ElectronMcSignalValidator.h.

float ElectronMcSignalValidator::mcPt[10] [private]

Definition at line 41 of file ElectronMcSignalValidator.h.

float ElectronMcSignalValidator::mcQ[10] [private]

Definition at line 41 of file ElectronMcSignalValidator.h.

Definition at line 28 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 65 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 65 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 65 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 35 of file ElectronMcSignalValidator.h.

Referenced by ElectronMcSignalValidator(), and endJob().

Definition at line 424 of file ElectronMcSignalValidator.h.

Referenced by analyze(), beginJob(), and endJob().

Definition at line 423 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and beginJob().

Definition at line 54 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 54 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 54 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 38 of file ElectronMcSignalValidator.h.

Definition at line 61 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 61 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 61 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 61 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 67 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 67 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 67 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 55 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 55 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 55 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 55 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().

Definition at line 34 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 43 of file ElectronMcSignalValidator.h.

Definition at line 43 of file ElectronMcSignalValidator.h.

Definition at line 43 of file ElectronMcSignalValidator.h.

float ElectronMcSignalValidator::seedPt[10] [private]

Definition at line 43 of file ElectronMcSignalValidator.h.

float ElectronMcSignalValidator::seedQ[10] [private]

Definition at line 43 of file ElectronMcSignalValidator.h.

Definition at line 42 of file ElectronMcSignalValidator.h.

Definition at line 42 of file ElectronMcSignalValidator.h.

Definition at line 42 of file ElectronMcSignalValidator.h.

Definition at line 42 of file ElectronMcSignalValidator.h.

Definition at line 39 of file ElectronMcSignalValidator.h.

Definition at line 37 of file ElectronMcSignalValidator.h.

Definition at line 53 of file ElectronMcSignalValidator.h.

Referenced by beginJob(), and ElectronMcSignalValidator().