CMS 3D CMS Logo

Public Member Functions | Private Attributes

ElectronMcSignalValidator Class Reference

#include <ElectronMcSignalValidator.h>

Inheritance diagram for ElectronMcSignalValidator:
ElectronDqmAnalyzerBase edm::EDAnalyzer edm::EDConsumerBase

List of all members.

Public Member Functions

virtual void analyze (const edm::Event &e, const edm::EventSetup &c)
virtual void book ()
 ElectronMcSignalValidator (const edm::ParameterSet &conf)
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_chargedHadronIso
MonitorElementh1_ele_chargedHadronIso_barrel
MonitorElementh1_ele_chargedHadronIso_endcaps
MonitorElementh1_ele_chargeInfo
MonitorElementh1_ele_ChargeMnChargeTrue
MonitorElementh1_ele_chi2
MonitorElementh1_ele_chi2_barrel
MonitorElementh1_ele_chi2_endcaps
MonitorElementh1_ele_classes
MonitorElementh1_ele_combinedP4Error
MonitorElementh1_ele_combinedP4Error_barrel
MonitorElementh1_ele_combinedP4Error_endcaps
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_dIso_ecalFullRecHitSumEt_dr03
MonitorElementh1_ele_dIso_ecalFullRecHitSumEt_dr04
MonitorElementh1_ele_dIso_ecalReducedRecHitSumEt_dr03
MonitorElementh1_ele_dIso_ecalReducedRecHitSumEt_dr04
MonitorElementh1_ele_dIso_hcalTowerSumEt_dr03
MonitorElementh1_ele_dIso_hcalTowerSumEt_dr04
MonitorElementh1_ele_dIso_tkSumPt_dr03
MonitorElementh1_ele_dIso_tkSumPt_dr04
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_ecalEnergyError
MonitorElementh1_ele_ecalEnergyError_barrel
MonitorElementh1_ele_ecalEnergyError_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_shower
MonitorElementh1_ele_EtaMnEtaTrue
MonitorElementh1_ele_EtaMnEtaTrue_barrel
MonitorElementh1_ele_EtaMnEtaTrue_endcaps
MonitorElementh1_ele_fbrem
MonitorElementh1_ele_fbrem_barrel
MonitorElementh1_ele_fbrem_eg
MonitorElementh1_ele_fbrem_endcaps
MonitorElementh1_ele_foundHits
MonitorElementh1_ele_foundHits_barrel
MonitorElementh1_ele_foundHits_endcaps
MonitorElementh1_ele_hcalDepth1OverEcalBc
MonitorElementh1_ele_hcalDepth1OverEcalBc_barrel
MonitorElementh1_ele_hcalDepth1OverEcalBc_endcaps
MonitorElementh1_ele_hcalDepth2OverEcalBc
MonitorElementh1_ele_hcalDepth2OverEcalBc_barrel
MonitorElementh1_ele_hcalDepth2OverEcalBc_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_dr03_depth2_barrel
MonitorElementh1_ele_hcalTowerSumEt_dr03_depth2_endcaps
MonitorElementh1_ele_hcalTowerSumEt_dr04_depth1
MonitorElementh1_ele_hcalTowerSumEt_dr04_depth1_barrel
MonitorElementh1_ele_hcalTowerSumEt_dr04_depth1_endcaps
MonitorElementh1_ele_hcalTowerSumEt_dr04_depth2
MonitorElementh1_ele_hcalTowerSumEt_dr04_depth2_barrel
MonitorElementh1_ele_hcalTowerSumEt_dr04_depth2_endcaps
MonitorElementh1_ele_hcalTowerSumEtBc_dr03_depth1
MonitorElementh1_ele_hcalTowerSumEtBc_dr03_depth1_barrel
MonitorElementh1_ele_hcalTowerSumEtBc_dr03_depth1_endcaps
MonitorElementh1_ele_hcalTowerSumEtBc_dr03_depth2
MonitorElementh1_ele_hcalTowerSumEtBc_dr03_depth2_barrel
MonitorElementh1_ele_hcalTowerSumEtBc_dr03_depth2_endcaps
MonitorElementh1_ele_hcalTowerSumEtBc_dr04_depth1
MonitorElementh1_ele_hcalTowerSumEtBc_dr04_depth1_barrel
MonitorElementh1_ele_hcalTowerSumEtBc_dr04_depth1_endcaps
MonitorElementh1_ele_hcalTowerSumEtBc_dr04_depth2
MonitorElementh1_ele_hcalTowerSumEtBc_dr04_depth2_barrel
MonitorElementh1_ele_hcalTowerSumEtBc_dr04_depth2_endcaps
MonitorElementh1_ele_HoE
MonitorElementh1_ele_HoE_all
MonitorElementh1_ele_HoE_all_barrel
MonitorElementh1_ele_HoE_all_endcaps
MonitorElementh1_ele_HoE_barrel
MonitorElementh1_ele_HoE_bc
MonitorElementh1_ele_HoE_bc_all
MonitorElementh1_ele_HoE_bc_barrel
MonitorElementh1_ele_HoE_bc_endcaps
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_barrel
MonitorElementh1_ele_mva_eg
MonitorElementh1_ele_mva_endcaps
MonitorElementh1_ele_neutralHadronIso
MonitorElementh1_ele_neutralHadronIso_barrel
MonitorElementh1_ele_neutralHadronIso_endcaps
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_photonIso
MonitorElementh1_ele_photonIso_barrel
MonitorElementh1_ele_photonIso_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_provenance_barrel
MonitorElementh1_ele_provenance_endcaps
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_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_mc_AbsEta
MonitorElementh1_mc_AbsEta_matched
MonitorElementh1_mc_AbsEta_matched_qmisid
MonitorElementh1_mc_Eta
MonitorElementh1_mc_Eta_matched
MonitorElementh1_mc_Eta_matched_qmisid
MonitorElementh1_mc_P
MonitorElementh1_mc_Phi
MonitorElementh1_mc_Phi_matched
MonitorElementh1_mc_Phi_matched_qmisid
MonitorElementh1_mc_Pt
MonitorElementh1_mc_Pt_matched
MonitorElementh1_mc_Pt_matched_qmisid
MonitorElementh1_mc_Z
MonitorElementh1_mc_Z_matched
MonitorElementh1_mc_Z_matched_qmisid
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
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_vertexEtaVsPhi
MonitorElementh2_ele_vertexPtVsEta
MonitorElementh2_ele_vertexPtVsPhi
MonitorElementh2_ele_vertexTIPVsEta
MonitorElementh2_ele_vertexTIPVsPhi
MonitorElementh2_ele_vertexTIPVsPt
MonitorElementh2_mc_PtEta
MonitorElementh2_mc_PtEta_matched
MonitorElementh2_scl_EoEtruePfVsEg
MonitorElementh2_scl_EtaVsPhi
MonitorElementh2_scl_EtVsEta
MonitorElementh2_scl_EtVsPhi
double hoe_max
double hoe_min
int hoe_nbin
edm::InputTag isoFromDepsEcalFull03Tag_
edm::InputTag isoFromDepsEcalFull04Tag_
edm::InputTag isoFromDepsEcalReduced03Tag_
edm::InputTag isoFromDepsEcalReduced04Tag_
edm::InputTag isoFromDepsHcal03Tag_
edm::InputTag isoFromDepsHcal04Tag_
edm::InputTag isoFromDepsTk03Tag_
edm::InputTag isoFromDepsTk04Tag_
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
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
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 45 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(), 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_dIso_ecalFullRecHitSumEt_dr03, h1_ele_dIso_ecalFullRecHitSumEt_dr04, h1_ele_dIso_ecalReducedRecHitSumEt_dr03, h1_ele_dIso_ecalReducedRecHitSumEt_dr04, h1_ele_dIso_hcalTowerSumEt_dr03, h1_ele_dIso_hcalTowerSumEt_dr04, h1_ele_dIso_tkSumPt_dr03, h1_ele_dIso_tkSumPt_dr04, 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_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_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_vertexAbsEta, h1_ele_vertexEta, h1_ele_vertexEta_all, h1_ele_vertexP, h1_ele_vertexPhi, h1_ele_vertexPt, h1_ele_vertexPt_5100, h1_ele_vertexPt_all, h1_ele_vertexTIP, h1_ele_vertexX, h1_ele_vertexY, h1_ele_vertexZ, h1_eleNum, h1_gamNum, h1_mc_AbsEta, h1_mc_AbsEta_matched, h1_mc_AbsEta_matched_qmisid, h1_mc_Eta, h1_mc_Eta_matched, h1_mc_Eta_matched_qmisid, h1_mc_P, h1_mc_Phi, h1_mc_Phi_matched, h1_mc_Phi_matched_qmisid, h1_mc_Pt, h1_mc_Pt_matched, h1_mc_Pt_matched_qmisid, h1_mc_Z, h1_mc_Z_matched, h1_mc_Z_matched_qmisid, 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, 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_vertexEtaVsPhi, h2_ele_vertexPtVsEta, h2_ele_vertexPtVsPhi, h2_ele_vertexTIPVsEta, h2_ele_vertexTIPVsPhi, h2_ele_vertexTIPVsPt, h2_mc_PtEta, h2_mc_PtEta_matched, h2_scl_EoEtruePfVsEg, h2_scl_EtaVsPhi, h2_scl_EtVsEta, h2_scl_EtVsPhi, hoe_max, hoe_min, hoe_nbin, isoFromDepsEcalFull03Tag_, isoFromDepsEcalFull04Tag_, isoFromDepsEcalReduced03Tag_, isoFromDepsEcalReduced04Tag_, isoFromDepsHcal03Tag_, isoFromDepsHcal04Tag_, isoFromDepsTk03Tag_, isoFromDepsTk04Tag_, lhits_max, lhits_nbin, matchingIDs_, matchingMotherIDs_, maxAbsEta_, maxPt_, mcTruthCollection_, 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, poptrue_max, poptrue_min, poptrue_nbin, pt2D_nbin, pt_max, pt_nbin, pteff_nbin, readAOD_, and xyz_nbin.

 : ElectronDqmAnalyzerBase(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");

  isoFromDepsTk03Tag_ = conf.getParameter<edm::InputTag>( "isoFromDepsTk03" ) ;
  isoFromDepsTk04Tag_ = conf.getParameter<edm::InputTag>( "isoFromDepsTk04" ) ;
  isoFromDepsEcalFull03Tag_ = conf.getParameter<edm::InputTag>( "isoFromDepsEcalFull03" ) ;
  isoFromDepsEcalFull04Tag_ = conf.getParameter<edm::InputTag>( "isoFromDepsEcalFull04" ) ;
  isoFromDepsEcalReduced03Tag_ = conf.getParameter<edm::InputTag>( "isoFromDepsEcalReduced03" ) ;
  isoFromDepsEcalReduced04Tag_ = conf.getParameter<edm::InputTag>( "isoFromDepsEcalReduced04" ) ;
  isoFromDepsHcal03Tag_ = conf.getParameter<edm::InputTag>( "isoFromDepsHcal03" ) ;
  isoFromDepsHcal04Tag_ = conf.getParameter<edm::InputTag>( "isoFromDepsHcal04" ) ;

  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");

  // so to please coverity...
  h1_mcNum = 0 ;
  h1_eleNum = 0 ;
  h1_gamNum = 0 ;

  h1_recEleNum = 0 ;
  h1_recCoreNum = 0 ;
  h1_recTrackNum = 0 ;
  h1_recSeedNum = 0 ;

  h1_mc_Eta = 0 ;
  h1_mc_AbsEta = 0 ;
  h1_mc_P = 0 ;
  h1_mc_Pt = 0 ;
  h1_mc_Phi = 0 ;
  h1_mc_Z = 0 ;
  h2_mc_PtEta = 0 ;

  h1_mc_Eta_matched = 0 ;
  h1_mc_AbsEta_matched = 0 ;
  h1_mc_Pt_matched = 0 ;
  h1_mc_Phi_matched = 0 ;
  h1_mc_Z_matched = 0 ;
  h2_mc_PtEta_matched = 0 ;

  h1_mc_Eta_matched_qmisid = 0 ;
  h1_mc_AbsEta_matched_qmisid = 0 ;
  h1_mc_Pt_matched_qmisid = 0 ;
  h1_mc_Phi_matched_qmisid = 0 ;
  h1_mc_Z_matched_qmisid = 0 ;

  h1_ele_EoverP_all = 0 ;
  h1_ele_EoverP_all_barrel = 0 ;
  h1_ele_EoverP_all_endcaps = 0 ;
  h1_ele_EseedOP_all = 0 ;
  h1_ele_EseedOP_all_barrel = 0 ;
  h1_ele_EseedOP_all_endcaps = 0 ;
  h1_ele_EoPout_all = 0 ;
  h1_ele_EoPout_all_barrel = 0 ;
  h1_ele_EoPout_all_endcaps = 0 ;
  h1_ele_EeleOPout_all = 0 ;
  h1_ele_EeleOPout_all_barrel = 0 ;
  h1_ele_EeleOPout_all_endcaps = 0 ;
  h1_ele_dEtaSc_propVtx_all = 0 ;
  h1_ele_dEtaSc_propVtx_all_barrel = 0 ;
  h1_ele_dEtaSc_propVtx_all_endcaps = 0 ;
  h1_ele_dPhiSc_propVtx_all = 0 ;
  h1_ele_dPhiSc_propVtx_all_barrel = 0 ;
  h1_ele_dPhiSc_propVtx_all_endcaps = 0 ;
  h1_ele_dEtaCl_propOut_all = 0 ;
  h1_ele_dEtaCl_propOut_all_barrel = 0 ;
  h1_ele_dEtaCl_propOut_all_endcaps = 0 ;
  h1_ele_dPhiCl_propOut_all = 0 ;
  h1_ele_dPhiCl_propOut_all_barrel = 0 ;
  h1_ele_dPhiCl_propOut_all_endcaps = 0 ;
  h1_ele_TIP_all = 0 ;
  h1_ele_TIP_all_barrel = 0 ;
  h1_ele_TIP_all_endcaps = 0 ;
  h1_ele_HoE_all = 0 ;
  h1_ele_HoE_all_barrel = 0 ;
  h1_ele_HoE_all_endcaps = 0 ;
  h1_ele_vertexEta_all = 0 ;
  h1_ele_vertexPt_all = 0 ;
  h1_ele_Et_all = 0 ;
  h1_ele_mee_all = 0 ;
  h1_ele_mee_os = 0 ;
  h1_ele_mee_os_ebeb = 0 ;
  h1_ele_mee_os_ebee = 0 ;
  h1_ele_mee_os_eeee = 0 ;
  h1_ele_mee_os_gg = 0 ;
  h1_ele_mee_os_gb = 0 ;
  h1_ele_mee_os_bb = 0 ;

  h2_ele_E2mnE1vsMee_all = 0 ;
  h2_ele_E2mnE1vsMee_egeg_all = 0 ;

  h1_ele_charge = 0 ;
  h2_ele_chargeVsEta = 0 ;
  h2_ele_chargeVsPhi = 0 ;
  h2_ele_chargeVsPt = 0 ;
  h1_ele_vertexP = 0 ;
  h1_ele_vertexPt = 0 ;
  h1_ele_Et = 0 ;
  h2_ele_vertexPtVsEta = 0 ;
  h2_ele_vertexPtVsPhi = 0 ;
  h1_ele_vertexPt_5100 = 0 ;
  h1_ele_vertexEta = 0 ;
  h2_ele_vertexEtaVsPhi = 0 ;
  h1_ele_vertexAbsEta = 0 ;
  h1_ele_vertexPhi = 0 ;
  h1_ele_vertexX = 0 ;
  h1_ele_vertexY = 0 ;
  h1_ele_vertexZ = 0 ;
  h1_ele_vertexTIP = 0 ;
  h2_ele_vertexTIPVsEta = 0 ;
  h2_ele_vertexTIPVsPhi = 0 ;
  h2_ele_vertexTIPVsPt = 0 ;

  h1_scl_En = 0 ;
  h1_scl_EoEtrue_barrel = 0 ;
  h1_scl_EoEtrue_endcaps = 0 ;
  h1_scl_EoEtrue_barrel_eg = 0 ;
  h1_scl_EoEtrue_endcaps_eg = 0 ;
  h1_scl_EoEtrue_barrel_etagap = 0 ;
  h1_scl_EoEtrue_barrel_phigap = 0 ;
  h1_scl_EoEtrue_ebeegap = 0 ;
  h1_scl_EoEtrue_endcaps_deegap = 0 ;
  h1_scl_EoEtrue_endcaps_ringgap = 0 ;
  h1_scl_EoEtrue_barrel_new = 0 ;
  h1_scl_EoEtrue_endcaps_new = 0 ;
  h1_scl_EoEtrue_barrel_new_eg = 0 ;
  h1_scl_EoEtrue_endcaps_new_eg = 0 ;
  h1_scl_EoEtrue_barrel_new_etagap = 0 ;
  h1_scl_EoEtrue_barrel_new_phigap = 0 ;
  h1_scl_EoEtrue_ebeegap_new = 0 ;
  h1_scl_EoEtrue_endcaps_new_deegap = 0 ;
  h1_scl_EoEtrue_endcaps_new_ringgap = 0 ;
  h1_scl_Et = 0 ;
  h2_scl_EtVsEta = 0 ;
  h2_scl_EtVsPhi = 0 ;
  h2_scl_EtaVsPhi = 0 ;
  h1_scl_Eta = 0 ;
  h1_scl_Phi = 0 ;

  h2_scl_EoEtruePfVsEg  = 0 ;

  h1_scl_SigEtaEta = 0 ;
  h1_scl_SigEtaEta_barrel = 0 ;
  h1_scl_SigEtaEta_endcaps = 0 ;
  h1_scl_SigIEtaIEta = 0 ;
  h1_scl_SigIEtaIEta_barrel = 0 ;
  h1_scl_SigIEtaIEta_endcaps = 0 ;
  h1_scl_E1x5 = 0 ;
  h1_scl_E1x5_barrel = 0 ;
  h1_scl_E1x5_endcaps = 0 ;
  h1_scl_E2x5max = 0 ;
  h1_scl_E2x5max_barrel = 0 ;
  h1_scl_E2x5max_endcaps = 0 ;
  h1_scl_E5x5 = 0 ;
  h1_scl_E5x5_barrel = 0 ;
  h1_scl_E5x5_endcaps = 0 ;
  h1_scl_SigEtaEta_eg = 0 ;
  h1_scl_SigEtaEta_eg_barrel = 0 ;
  h1_scl_SigEtaEta_eg_endcaps = 0 ;
  h1_scl_SigIEtaIEta_eg = 0 ;
  h1_scl_SigIEtaIEta_eg_barrel = 0 ;
  h1_scl_SigIEtaIEta_eg_endcaps = 0 ;
  h1_scl_E1x5_eg = 0 ;
  h1_scl_E1x5_eg_barrel = 0 ;
  h1_scl_E1x5_eg_endcaps = 0 ;
  h1_scl_E2x5max_eg = 0 ;
  h1_scl_E2x5max_eg_barrel = 0 ;
  h1_scl_E2x5max_eg_endcaps = 0 ;
  h1_scl_E5x5_eg = 0 ;
  h1_scl_E5x5_eg_barrel = 0 ;
  h1_scl_E5x5_eg_endcaps = 0 ;

  h1_ele_ambiguousTracks = 0 ;
  h2_ele_ambiguousTracksVsEta = 0 ;
  h2_ele_ambiguousTracksVsPhi = 0 ;
  h2_ele_ambiguousTracksVsPt = 0 ;
  h1_ele_foundHits = 0 ;
  h1_ele_foundHits_barrel = 0 ;
  h1_ele_foundHits_endcaps = 0 ;
  h2_ele_foundHitsVsEta = 0 ;
  h2_ele_foundHitsVsPhi = 0 ;
  h2_ele_foundHitsVsPt = 0 ;
  h1_ele_lostHits = 0 ;
  h1_ele_lostHits_barrel = 0 ;
  h1_ele_lostHits_endcaps = 0 ;
  h2_ele_lostHitsVsEta = 0 ;
  h2_ele_lostHitsVsPhi = 0 ;
  h2_ele_lostHitsVsPt = 0 ;
  h1_ele_chi2 = 0 ;
  h1_ele_chi2_barrel = 0 ;
  h1_ele_chi2_endcaps = 0 ;
  h2_ele_chi2VsEta = 0 ;
  h2_ele_chi2VsPhi = 0 ;
  h2_ele_chi2VsPt = 0 ;

  h1_ele_PoPtrue = 0 ;
  h1_ele_PtoPttrue = 0 ;
  h2_ele_PoPtrueVsEta = 0 ;
  h2_ele_PoPtrueVsPhi = 0 ;
  h2_ele_PoPtrueVsPt = 0 ;
  h1_ele_PoPtrue_barrel = 0 ;
  h1_ele_PoPtrue_endcaps = 0 ;
  h1_ele_PoPtrue_golden_barrel = 0 ;
  h1_ele_PoPtrue_golden_endcaps = 0 ;
  h1_ele_PoPtrue_showering_barrel = 0 ;
  h1_ele_PoPtrue_showering_endcaps = 0 ;
  h1_ele_PtoPttrue_barrel = 0 ;
  h1_ele_PtoPttrue_endcaps = 0 ;
  h1_ele_ChargeMnChargeTrue = 0 ;
  h1_ele_EtaMnEtaTrue = 0 ;
  h1_ele_EtaMnEtaTrue_barrel = 0 ;
  h1_ele_EtaMnEtaTrue_endcaps = 0 ;
  h2_ele_EtaMnEtaTrueVsEta = 0 ;
  h2_ele_EtaMnEtaTrueVsPhi = 0 ;
  h2_ele_EtaMnEtaTrueVsPt = 0 ;
  h1_ele_PhiMnPhiTrue = 0 ;
  h1_ele_PhiMnPhiTrue_barrel = 0 ;
  h1_ele_PhiMnPhiTrue_endcaps = 0 ;
  h1_ele_PhiMnPhiTrue2 = 0 ;
  h2_ele_PhiMnPhiTrueVsEta = 0 ;
  h2_ele_PhiMnPhiTrueVsPhi = 0 ;
  h2_ele_PhiMnPhiTrueVsPt = 0 ;
  h1_ele_PinMnPout = 0 ;
  h1_ele_PinMnPout_mode = 0 ;
  h2_ele_PinMnPoutVsEta_mode = 0 ;
  h2_ele_PinMnPoutVsPhi_mode = 0 ;
  h2_ele_PinMnPoutVsPt_mode = 0 ;
  h2_ele_PinMnPoutVsE_mode = 0 ;
  h2_ele_PinMnPoutVsChi2_mode = 0 ;

  h1_ele_outerP = 0 ;
  h1_ele_outerP_mode = 0 ;
  h2_ele_outerPVsEta_mode = 0 ;
  h1_ele_outerPt = 0 ;
  h1_ele_outerPt_mode = 0 ;
  h2_ele_outerPtVsEta_mode = 0 ;
  h2_ele_outerPtVsPhi_mode = 0 ;
  h2_ele_outerPtVsPt_mode = 0 ;
  h1_ele_EoP = 0 ;
  h1_ele_EoP_barrel = 0 ;
  h1_ele_EoP_endcaps = 0 ;
  h1_ele_EoP_eg = 0 ;
  h1_ele_EoP_eg_barrel = 0 ;
  h1_ele_EoP_eg_endcaps = 0 ;
  h2_ele_EoPVsEta = 0 ;
  h2_ele_EoPVsPhi = 0 ;
  h2_ele_EoPVsE = 0 ;
  h1_ele_EseedOP = 0 ;
  h1_ele_EseedOP_barrel = 0 ;
  h1_ele_EseedOP_endcaps = 0 ;
  h1_ele_EseedOP_eg = 0 ;
  h1_ele_EseedOP_eg_barrel = 0 ;
  h1_ele_EseedOP_eg_endcaps = 0 ;
  h2_ele_EseedOPVsEta = 0 ;
  h2_ele_EseedOPVsPhi = 0 ;
  h2_ele_EseedOPVsE = 0 ;
  h1_ele_EoPout = 0 ;
  h1_ele_EoPout_barrel = 0 ;
  h1_ele_EoPout_endcaps = 0 ;
  h1_ele_EoPout_eg = 0 ;
  h1_ele_EoPout_eg_barrel = 0 ;
  h1_ele_EoPout_eg_endcaps = 0 ;
  h2_ele_EoPoutVsEta = 0 ;
  h2_ele_EoPoutVsPhi = 0 ;
  h2_ele_EoPoutVsE = 0 ;
  h1_ele_EeleOPout = 0 ;
  h1_ele_EeleOPout_barrel = 0 ;
  h1_ele_EeleOPout_endcaps = 0 ;
  h1_ele_EeleOPout_eg = 0 ;
  h1_ele_EeleOPout_eg_barrel = 0 ;
  h1_ele_EeleOPout_eg_endcaps = 0 ;
  h2_ele_EeleOPoutVsEta = 0 ;
  h2_ele_EeleOPoutVsPhi = 0 ;
  h2_ele_EeleOPoutVsE = 0 ;

  h1_ele_dEtaSc_propVtx = 0 ;
  h1_ele_dEtaSc_propVtx_barrel = 0 ;
  h1_ele_dEtaSc_propVtx_endcaps = 0 ;
  h1_ele_dEtaSc_propVtx_eg = 0 ;
  h1_ele_dEtaSc_propVtx_eg_barrel = 0 ;
  h1_ele_dEtaSc_propVtx_eg_endcaps = 0 ;
  h2_ele_dEtaScVsEta_propVtx = 0 ;
  h2_ele_dEtaScVsPhi_propVtx = 0 ;
  h2_ele_dEtaScVsPt_propVtx = 0 ;
  h1_ele_dPhiSc_propVtx = 0 ;
  h1_ele_dPhiSc_propVtx_barrel = 0 ;
  h1_ele_dPhiSc_propVtx_endcaps = 0 ;
  h1_ele_dPhiSc_propVtx_eg = 0 ;
  h1_ele_dPhiSc_propVtx_eg_barrel = 0 ;
  h1_ele_dPhiSc_propVtx_eg_endcaps = 0 ;
  h2_ele_dPhiScVsEta_propVtx = 0 ;
  h2_ele_dPhiScVsPhi_propVtx = 0 ;
  h2_ele_dPhiScVsPt_propVtx = 0 ;
  h1_ele_dEtaCl_propOut = 0 ;
  h1_ele_dEtaCl_propOut_barrel = 0 ;
  h1_ele_dEtaCl_propOut_endcaps = 0 ;
  h1_ele_dEtaCl_propOut_eg = 0 ;
  h1_ele_dEtaCl_propOut_eg_barrel = 0 ;
  h1_ele_dEtaCl_propOut_eg_endcaps = 0 ;
  h2_ele_dEtaClVsEta_propOut = 0 ;
  h2_ele_dEtaClVsPhi_propOut = 0 ;
  h2_ele_dEtaClVsPt_propOut = 0 ;
  h1_ele_dPhiCl_propOut = 0 ;
  h1_ele_dPhiCl_propOut_barrel = 0 ;
  h1_ele_dPhiCl_propOut_endcaps = 0 ;
  h1_ele_dPhiCl_propOut_eg = 0 ;
  h1_ele_dPhiCl_propOut_eg_barrel = 0 ;
  h1_ele_dPhiCl_propOut_eg_endcaps = 0 ;
  h2_ele_dPhiClVsEta_propOut = 0 ;
  h2_ele_dPhiClVsPhi_propOut = 0 ;
  h2_ele_dPhiClVsPt_propOut = 0 ;
  h1_ele_dEtaEleCl_propOut = 0 ;
  h1_ele_dEtaEleCl_propOut_barrel = 0 ;
  h1_ele_dEtaEleCl_propOut_endcaps = 0 ;
  h1_ele_dEtaEleCl_propOut_eg = 0 ;
  h1_ele_dEtaEleCl_propOut_eg_barrel = 0 ;
  h1_ele_dEtaEleCl_propOut_eg_endcaps = 0 ;
  h2_ele_dEtaEleClVsEta_propOut = 0 ;
  h2_ele_dEtaEleClVsPhi_propOut = 0 ;
  h2_ele_dEtaEleClVsPt_propOut = 0 ;
  h1_ele_dPhiEleCl_propOut = 0 ;
  h1_ele_dPhiEleCl_propOut_barrel = 0 ;
  h1_ele_dPhiEleCl_propOut_endcaps = 0 ;
  h1_ele_dPhiEleCl_propOut_eg = 0 ;
  h1_ele_dPhiEleCl_propOut_eg_barrel = 0 ;
  h1_ele_dPhiEleCl_propOut_eg_endcaps = 0 ;
  h2_ele_dPhiEleClVsEta_propOut = 0 ;
  h2_ele_dPhiEleClVsPhi_propOut = 0 ;
  h2_ele_dPhiEleClVsPt_propOut = 0 ;

  h1_ele_seed_subdet2 = 0 ;
  h1_ele_seed_mask = 0 ;
  h1_ele_seed_mask_bpix = 0 ;
  h1_ele_seed_mask_fpix = 0 ;
  h1_ele_seed_mask_tec = 0 ;
  h1_ele_seed_dphi2 = 0 ;
  h2_ele_seed_dphi2VsEta = 0 ;
  h2_ele_seed_dphi2VsPt = 0 ;
  h1_ele_seed_dphi2pos = 0 ;
  h2_ele_seed_dphi2posVsEta = 0 ;
  h2_ele_seed_dphi2posVsPt = 0 ;
  h1_ele_seed_drz2 = 0 ;
  h2_ele_seed_drz2VsEta = 0 ;
  h2_ele_seed_drz2VsPt = 0 ;
  h1_ele_seed_drz2pos = 0 ;
  h2_ele_seed_drz2posVsEta = 0 ;
  h2_ele_seed_drz2posVsPt = 0 ;

  h1_ele_classes = 0 ;
  h1_ele_eta = 0 ;
  h1_ele_eta_golden = 0 ;
  h1_ele_eta_bbrem = 0 ;
  h1_ele_eta_shower = 0 ;

  h1_ele_HoE = 0 ;
  h1_ele_HoE_barrel = 0 ;
  h1_ele_HoE_endcaps = 0 ;
  h1_ele_HoE_eg = 0 ;
  h1_ele_HoE_eg_barrel = 0 ;
  h1_ele_HoE_eg_endcaps = 0 ;
  h1_ele_HoE_fiducial = 0 ;
  h2_ele_HoEVsEta = 0 ;
  h2_ele_HoEVsPhi = 0 ;
  h2_ele_HoEVsE = 0 ;

  h1_ele_fbrem = 0 ;
  h1_ele_fbrem_eg = 0 ;
  p1_ele_fbremVsEta_mode = 0 ;
  p1_ele_fbremVsEta_mean = 0 ;

  h2_ele_PinVsPoutGolden_mode = 0 ;
  h2_ele_PinVsPoutShowering_mode = 0 ;
  h2_ele_PinVsPoutGolden_mean = 0 ;
  h2_ele_PinVsPoutShowering_mean = 0 ;
  h2_ele_PtinVsPtoutGolden_mode = 0 ;
  h2_ele_PtinVsPtoutShowering_mode = 0 ;
  h2_ele_PtinVsPtoutGolden_mean = 0 ;
  h2_ele_PtinVsPtoutShowering_mean = 0 ;
  h1_scl_EoEtrueGolden_barrel = 0 ;
  h1_scl_EoEtrueGolden_endcaps = 0 ;
  h1_scl_EoEtrueShowering_barrel = 0 ;
  h1_scl_EoEtrueShowering_endcaps = 0 ;

  h1_ele_mva = 0 ;
  h1_ele_mva_eg = 0 ;
  h1_ele_provenance = 0 ;

  // isolation
  h1_ele_tkSumPt_dr03 = 0 ;
  h1_ele_tkSumPt_dr03_barrel = 0 ;
  h1_ele_tkSumPt_dr03_endcaps = 0 ;
  h1_ele_ecalRecHitSumEt_dr03 = 0 ;
  h1_ele_ecalRecHitSumEt_dr03_barrel = 0 ;
  h1_ele_ecalRecHitSumEt_dr03_endcaps = 0 ;
  h1_ele_hcalTowerSumEt_dr03_depth1 = 0 ;
  h1_ele_hcalTowerSumEt_dr03_depth1_barrel = 0 ;
  h1_ele_hcalTowerSumEt_dr03_depth1_endcaps = 0 ;
  h1_ele_hcalTowerSumEt_dr03_depth2 = 0 ;
  h1_ele_tkSumPt_dr04 = 0 ;
  h1_ele_tkSumPt_dr04_barrel = 0 ;
  h1_ele_tkSumPt_dr04_endcaps = 0 ;
  h1_ele_ecalRecHitSumEt_dr04 = 0 ;
  h1_ele_ecalRecHitSumEt_dr04_barrel = 0 ;
  h1_ele_ecalRecHitSumEt_dr04_endcaps = 0 ;
  h1_ele_hcalTowerSumEt_dr04_depth1 = 0 ;
  h1_ele_hcalTowerSumEt_dr04_depth1_barrel = 0 ;
  h1_ele_hcalTowerSumEt_dr04_depth1_endcaps = 0 ;
  h1_ele_hcalTowerSumEt_dr04_depth2 = 0 ;

  h1_ele_dIso_tkSumPt_dr03 = 0 ;
  h1_ele_dIso_tkSumPt_dr04 = 0 ;
  h1_ele_dIso_ecalFullRecHitSumEt_dr03 = 0 ;
  h1_ele_dIso_ecalFullRecHitSumEt_dr04 = 0 ;
  h1_ele_dIso_ecalReducedRecHitSumEt_dr03 = 0 ;
  h1_ele_dIso_ecalReducedRecHitSumEt_dr04 = 0 ;
  h1_ele_dIso_hcalTowerSumEt_dr03 = 0 ;
  h1_ele_dIso_hcalTowerSumEt_dr04 = 0 ;

  // conversions
  h1_ele_convFlags = 0 ;
  h1_ele_convFlags_all = 0 ;
  h1_ele_convDist = 0 ;
  h1_ele_convDist_all = 0 ;
  h1_ele_convDcot = 0 ;
  h1_ele_convDcot_all = 0 ;
  h1_ele_convRadius = 0 ;
  h1_ele_convRadius_all = 0 ;
 }
ElectronMcSignalValidator::~ElectronMcSignalValidator ( ) [virtual]

Definition at line 1045 of file ElectronMcSignalValidator.cc.

 {}

Member Function Documentation

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

Reimplemented from ElectronDqmAnalyzerBase.

Definition at line 1048 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::correctedEcalEnergyError(), 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::dr03HcalDepth1TowerSumEtBc(), reco::GsfElectron::dr03HcalDepth2TowerSumEt(), reco::GsfElectron::dr03HcalDepth2TowerSumEtBc(), reco::GsfElectron::dr03HcalTowerSumEt(), reco::GsfElectron::dr03TkSumPt(), reco::GsfElectron::dr04EcalRecHitSumEt(), reco::GsfElectron::dr04HcalDepth1TowerSumEt(), reco::GsfElectron::dr04HcalDepth1TowerSumEtBc(), reco::GsfElectron::dr04HcalDepth2TowerSumEt(), reco::GsfElectron::dr04HcalDepth2TowerSumEtBc(), reco::GsfElectron::dr04HcalTowerSumEt(), reco::GsfElectron::dr04TkSumPt(), reco::GsfElectron::ecalDrivenSeed(), reco::GsfElectron::ecalEnergy(), 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_chargedHadronIso, h1_ele_chargedHadronIso_barrel, h1_ele_chargedHadronIso_endcaps, h1_ele_chargeInfo, h1_ele_ChargeMnChargeTrue, h1_ele_chi2, h1_ele_chi2_barrel, h1_ele_chi2_endcaps, h1_ele_classes, h1_ele_combinedP4Error, h1_ele_combinedP4Error_barrel, h1_ele_combinedP4Error_endcaps, 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_dIso_ecalFullRecHitSumEt_dr03, h1_ele_dIso_ecalFullRecHitSumEt_dr04, h1_ele_dIso_ecalReducedRecHitSumEt_dr03, h1_ele_dIso_ecalReducedRecHitSumEt_dr04, h1_ele_dIso_hcalTowerSumEt_dr03, h1_ele_dIso_hcalTowerSumEt_dr04, h1_ele_dIso_tkSumPt_dr03, h1_ele_dIso_tkSumPt_dr04, 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_ecalEnergyError, h1_ele_ecalEnergyError_barrel, h1_ele_ecalEnergyError_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_barrel, h1_ele_fbrem_eg, h1_ele_fbrem_endcaps, h1_ele_foundHits, h1_ele_foundHits_barrel, h1_ele_foundHits_endcaps, h1_ele_hcalDepth1OverEcalBc, h1_ele_hcalDepth1OverEcalBc_barrel, h1_ele_hcalDepth1OverEcalBc_endcaps, h1_ele_hcalDepth2OverEcalBc, h1_ele_hcalDepth2OverEcalBc_barrel, h1_ele_hcalDepth2OverEcalBc_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_dr03_depth2_barrel, h1_ele_hcalTowerSumEt_dr03_depth2_endcaps, h1_ele_hcalTowerSumEt_dr04_depth1, h1_ele_hcalTowerSumEt_dr04_depth1_barrel, h1_ele_hcalTowerSumEt_dr04_depth1_endcaps, h1_ele_hcalTowerSumEt_dr04_depth2, h1_ele_hcalTowerSumEt_dr04_depth2_barrel, h1_ele_hcalTowerSumEt_dr04_depth2_endcaps, h1_ele_hcalTowerSumEtBc_dr03_depth1, h1_ele_hcalTowerSumEtBc_dr03_depth1_barrel, h1_ele_hcalTowerSumEtBc_dr03_depth1_endcaps, h1_ele_hcalTowerSumEtBc_dr03_depth2, h1_ele_hcalTowerSumEtBc_dr03_depth2_barrel, h1_ele_hcalTowerSumEtBc_dr03_depth2_endcaps, h1_ele_hcalTowerSumEtBc_dr04_depth1, h1_ele_hcalTowerSumEtBc_dr04_depth1_barrel, h1_ele_hcalTowerSumEtBc_dr04_depth1_endcaps, h1_ele_hcalTowerSumEtBc_dr04_depth2, h1_ele_hcalTowerSumEtBc_dr04_depth2_barrel, h1_ele_hcalTowerSumEtBc_dr04_depth2_endcaps, h1_ele_HoE, h1_ele_HoE_all, h1_ele_HoE_barrel, h1_ele_HoE_bc, h1_ele_HoE_bc_all, h1_ele_HoE_bc_barrel, h1_ele_HoE_bc_endcaps, 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_barrel, h1_ele_mva_eg, h1_ele_mva_endcaps, h1_ele_neutralHadronIso, h1_ele_neutralHadronIso_barrel, h1_ele_neutralHadronIso_endcaps, 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_photonIso, h1_ele_photonIso_barrel, h1_ele_photonIso_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_provenance_barrel, h1_ele_provenance_endcaps, 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_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_mc_AbsEta, h1_mc_AbsEta_matched, h1_mc_AbsEta_matched_qmisid, h1_mc_Eta, h1_mc_Eta_matched, h1_mc_Eta_matched_qmisid, h1_mc_P, h1_mc_Phi, h1_mc_Phi_matched, h1_mc_Phi_matched_qmisid, h1_mc_Pt, h1_mc_Pt_matched, h1_mc_Pt_matched_qmisid, h1_mc_Z, h1_mc_Z_matched, h1_mc_Z_matched_qmisid, 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, 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_vertexEtaVsPhi, h2_ele_vertexPtVsEta, h2_ele_vertexPtVsPhi, h2_ele_vertexTIPVsEta, h2_ele_vertexTIPVsPhi, h2_ele_vertexTIPVsPt, h2_mc_PtEta, h2_mc_PtEta_matched, h2_scl_EoEtruePfVsEg, h2_scl_EtaVsPhi, h2_scl_EtVsEta, h2_scl_EtVsPhi, reco::GsfElectron::hcalDepth1OverEcalBc(), reco::GsfElectron::hcalDepth2OverEcalBc(), reco::GsfElectron::hcalOverEcal(), reco::GsfElectron::hcalOverEcalBc(), 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(), reco::GsfElectron::isGsfCtfChargeConsistent(), reco::GsfElectron::isGsfCtfScPixChargeConsistent(), reco::GsfElectron::isGsfScPixChargeConsistent(), edm::Ref< C, T, F >::isNull(), isoFromDepsEcalFull03Tag_, isoFromDepsEcalFull04Tag_, isoFromDepsEcalReduced03Tag_, isoFromDepsEcalReduced04Tag_, isoFromDepsHcal03Tag_, isoFromDepsHcal04Tag_, isoFromDepsTk03Tag_, isoFromDepsTk04Tag_, edm::HandleBase::isValid(), matchingIDs_, matchingMotherIDs_, maxAbsEta_, maxPt_, mcTruthCollection_, reco::Candidate::mother(), reco::GsfElectron::mva(), reco::LeafCandidate::p(), p1_ele_fbremVsEta_mean, p1_ele_fbremVsEta_mode, reco::GsfElectron::P4_COMBINATION, reco::GsfElectron::p4Error(), reco::Candidate::pdgId(), perp(), reco::GsfElectron::pfIsolationVariables(), 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::Handle<edm::ValueMap<double> > isoFromDepsTk03Handle          ;   iEvent.getByLabel( isoFromDepsTk03Tag_         , isoFromDepsTk03Handle          ) ;
  edm::Handle<edm::ValueMap<double> > isoFromDepsTk04Handle          ;   iEvent.getByLabel( isoFromDepsTk04Tag_         , isoFromDepsTk04Handle          ) ;
  edm::Handle<edm::ValueMap<double> > isoFromDepsEcalFull03Handle    ;   iEvent.getByLabel( isoFromDepsEcalFull03Tag_   , isoFromDepsEcalFull03Handle    ) ;
  edm::Handle<edm::ValueMap<double> > isoFromDepsEcalFull04Handle    ;   iEvent.getByLabel( isoFromDepsEcalFull04Tag_   , isoFromDepsEcalFull04Handle    ) ;
  edm::Handle<edm::ValueMap<double> > isoFromDepsEcalReduced03Handle ;   iEvent.getByLabel( isoFromDepsEcalReduced03Tag_, isoFromDepsEcalReduced03Handle ) ;
  edm::Handle<edm::ValueMap<double> > isoFromDepsEcalReduced04Handle ;   iEvent.getByLabel( isoFromDepsEcalReduced04Tag_, isoFromDepsEcalReduced04Handle ) ;
  edm::Handle<edm::ValueMap<double> > isoFromDepsHcal03Handle        ;   iEvent.getByLabel( isoFromDepsHcal03Tag_       , isoFromDepsHcal03Handle        ) ;
  edm::Handle<edm::ValueMap<double> > isoFromDepsHcal04Handle        ;   iEvent.getByLabel( isoFromDepsHcal04Tag_       , isoFromDepsHcal04Handle        ) ;

  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->hcalOverEcal()) ;
    h1_ele_HoE_bc_all->Fill(gsfIter->hcalOverEcalBc()) ;
    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->ecalEnergy()/cosh(gsfIter->superCluster()->eta()));
    float enrj1=gsfIter->ecalEnergy();

    // 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->ecalEnergy() ;
      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::BIGBREM && gsfIter2->classification()==GsfElectron::GOLDEN) ||
           (gsfIter->classification()==GsfElectron::BIGBREM && gsfIter2->classification()==GsfElectron::BIGBREM) )
         { 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_mc_Pt_matched_qmisid->Fill( mcIter->pt() ) ;
          h1_mc_Phi_matched_qmisid->Fill( mcIter->phi() ) ;
          h1_mc_AbsEta_matched_qmisid->Fill( std::abs(mcIter->eta()) ) ;
          h1_mc_Eta_matched_qmisid->Fill( mcIter->eta() ) ;
          h1_mc_Z_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_mc_Eta->Fill( mcIter->eta() );
    h1_mc_AbsEta->Fill( std::abs(mcIter->eta()) );
    h1_mc_P->Fill( mcIter->p() );
    h1_mc_Pt->Fill( mcIter->pt() );
    h1_mc_Phi->Fill( mcIter->phi() );
    h1_mc_Z->Fill( mcIter->vz() );
    h2_mc_PtEta->Fill( mcIter->eta(),mcIter->pt() );

    // find best matched electron
    bool okGsfFound = false ;
    double gsfOkRatio = 999999. ;
    reco::GsfElectron bestGsfElectron ;
    reco::GsfElectronRef bestGsfElectronRef ;
    reco::GsfElectronCollection::const_iterator gsfIter ;
    reco::GsfElectronCollection::size_type iElectron ;
    for ( gsfIter=gsfElectrons->begin(), iElectron=0 ; gsfIter!=gsfElectrons->end() ; gsfIter++, iElectron++ )
     {
      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;
            bestGsfElectronRef=reco::GsfElectronRef(gsfElectrons,iElectron);
            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.ecalEnergy()/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_mc_Pt_matched->Fill( mcIter->pt() );
    h1_mc_Phi_matched->Fill( mcIter->phi() );
    h1_mc_AbsEta_matched->Fill( std::abs(mcIter->eta()) );
    h1_mc_Eta_matched->Fill( mcIter->eta() );
    h2_mc_PtEta_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_mc_Z_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());
    h1_ele_ecalEnergyError->Fill(bestGsfElectron.correctedEcalEnergyError());
    if (bestGsfElectron.isEB()) h1_ele_ecalEnergyError_barrel->Fill(bestGsfElectron.correctedEcalEnergyError());
    if (bestGsfElectron.isEE()) h1_ele_ecalEnergyError_endcaps->Fill(bestGsfElectron.correctedEcalEnergyError());
    h1_ele_combinedP4Error->Fill(bestGsfElectron.p4Error(bestGsfElectron.P4_COMBINATION));
    if (bestGsfElectron.isEB()) h1_ele_combinedP4Error_barrel->Fill(bestGsfElectron.p4Error(bestGsfElectron.P4_COMBINATION));
    if (bestGsfElectron.isEE()) h1_ele_combinedP4Error_endcaps->Fill(bestGsfElectron.p4Error(bestGsfElectron.P4_COMBINATION));

    // supercluster related distributions
    reco::SuperClusterRef sclRef = bestGsfElectron.superCluster();
    //if (!bestGsfElectron.ecalDrivenSeed()&&bestGsfElectron.trackerDrivenSeed())
    // { sclRef = bestGsfElectron.pflowSuperCluster() ; }

    h1_scl_En->Fill(bestGsfElectron.ecalEnergy());
    if (bestGsfElectron.isEB())  h1_scl_EoEtrue_barrel->Fill(bestGsfElectron.ecalEnergy()/mcIter->p());
    if (bestGsfElectron.isEE())  h1_scl_EoEtrue_endcaps->Fill(bestGsfElectron.ecalEnergy()/mcIter->p());
    if (bestGsfElectron.isEB() && bestGsfElectron.ecalDrivenSeed())  h1_scl_EoEtrue_barrel_eg->Fill(bestGsfElectron.ecalEnergy()/mcIter->p());
    if (bestGsfElectron.isEE() && bestGsfElectron.ecalDrivenSeed())  h1_scl_EoEtrue_endcaps_eg->Fill(bestGsfElectron.ecalEnergy()/mcIter->p());
    if (bestGsfElectron.isEB() && bestGsfElectron.isEBEtaGap())  h1_scl_EoEtrue_barrel_etagap->Fill(bestGsfElectron.ecalEnergy()/mcIter->p());
    if (bestGsfElectron.isEB() && bestGsfElectron.isEBPhiGap())  h1_scl_EoEtrue_barrel_phigap->Fill(bestGsfElectron.ecalEnergy()/mcIter->p());
    if (bestGsfElectron.isEBEEGap())  h1_scl_EoEtrue_ebeegap->Fill(bestGsfElectron.ecalEnergy()/mcIter->p());
    //if (bestGsfElectron.isEE())  h1_scl_EoEtrue_endcaps->Fill(bestGsfElectron.ecalEnergy()/mcIter->p());
    if (bestGsfElectron.isEE() && bestGsfElectron.isEEDeeGap())  h1_scl_EoEtrue_endcaps_deegap->Fill(bestGsfElectron.ecalEnergy()/mcIter->p());
    if (bestGsfElectron.isEE() && bestGsfElectron.isEERingGap())  h1_scl_EoEtrue_endcaps_ringgap->Fill(bestGsfElectron.ecalEnergy()/mcIter->p());
    if (bestGsfElectron.isEB())  h1_scl_EoEtrue_barrel_new->Fill(bestGsfElectron.ecalEnergy()/mcIter->p());
    if (bestGsfElectron.isEE())  h1_scl_EoEtrue_endcaps_new->Fill(bestGsfElectron.ecalEnergy()/mcIter->p());
    if (bestGsfElectron.isEB() && bestGsfElectron.ecalDrivenSeed())  h1_scl_EoEtrue_barrel_new_eg->Fill(bestGsfElectron.ecalEnergy()/mcIter->p());
    if (bestGsfElectron.isEE() && bestGsfElectron.ecalDrivenSeed())  h1_scl_EoEtrue_endcaps_new_eg->Fill(bestGsfElectron.ecalEnergy()/mcIter->p());
    if (bestGsfElectron.isEB() && bestGsfElectron.isEBEtaGap())  h1_scl_EoEtrue_barrel_new_etagap->Fill(bestGsfElectron.ecalEnergy()/mcIter->p());
    if (bestGsfElectron.isEB() && bestGsfElectron.isEBPhiGap())  h1_scl_EoEtrue_barrel_new_phigap->Fill(bestGsfElectron.ecalEnergy()/mcIter->p());
    if (bestGsfElectron.isEBEEGap())  h1_scl_EoEtrue_ebeegap_new->Fill(bestGsfElectron.ecalEnergy()/mcIter->p());
    //if (bestGsfElectron.isEE())  h1_scl_EoEtrue_endcaps_new->Fill(bestGsfElectron.ecalEnergy()/mcIter->p());
    if (bestGsfElectron.isEE() && bestGsfElectron.isEEDeeGap())  h1_scl_EoEtrue_endcaps_new_deegap->Fill(bestGsfElectron.ecalEnergy()/mcIter->p());
    if (bestGsfElectron.isEE() && bestGsfElectron.isEERingGap())  h1_scl_EoEtrue_endcaps_new_ringgap->Fill(bestGsfElectron.ecalEnergy()/mcIter->p());

    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));
    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. ;
    if (!bestGsfElectron.pflowSuperCluster().isNull()) pfEnergy = bestGsfElectron.pflowSuperCluster()->energy();
    h2_scl_EoEtruePfVsEg->Fill(bestGsfElectron.ecalEnergy()/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.hcalOverEcal());
    h1_ele_HoE_bc->Fill(bestGsfElectron.hcalOverEcalBc());
    if (bestGsfElectron.isEB()) h1_ele_HoE_bc_barrel->Fill(bestGsfElectron.hcalOverEcalBc());
    if (bestGsfElectron.isEE()) h1_ele_HoE_bc_endcaps->Fill(bestGsfElectron.hcalOverEcalBc());
    if (bestGsfElectron.ecalDrivenSeed()) h1_ele_HoE_eg->Fill(bestGsfElectron.hcalOverEcal());
    if (bestGsfElectron.isEB()) h1_ele_HoE_barrel->Fill(bestGsfElectron.hcalOverEcal());
    if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_HoE_eg_barrel->Fill(bestGsfElectron.hcalOverEcal());
    if (bestGsfElectron.isEE()) h1_ele_HoE_endcaps->Fill(bestGsfElectron.hcalOverEcal());
    if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_HoE_eg_endcaps->Fill(bestGsfElectron.hcalOverEcal());
    if (!bestGsfElectron.isEBEtaGap() && !bestGsfElectron.isEBPhiGap()&& !bestGsfElectron.isEBEEGap() &&
        !bestGsfElectron.isEERingGap() && !bestGsfElectron.isEEDeeGap()) h1_ele_HoE_fiducial->Fill(bestGsfElectron.hcalOverEcal());
    h2_ele_HoEVsEta->Fill( bestGsfElectron.eta(),bestGsfElectron.hcalOverEcal());
    h2_ele_HoEVsPhi->Fill(bestGsfElectron.phi(),bestGsfElectron.hcalOverEcal());
    h2_ele_HoEVsE->Fill(bestGsfElectron.caloEnergy(),bestGsfElectron.hcalOverEcal());

    //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::SHOWERING) h1_ele_eta_shower->Fill(std::abs(bestGsfElectron.eta()));

    // fbrem

    double fbrem_mode =  bestGsfElectron.fbrem();
    h1_ele_fbrem->Fill(fbrem_mode);

    if (bestGsfElectron.isEB())
     {
      double fbrem_mode_barrel = bestGsfElectron.fbrem();
      h1_ele_fbrem_barrel->Fill(fbrem_mode_barrel);
     }

    if (bestGsfElectron.isEE())
     {
      double fbrem_mode_endcaps = bestGsfElectron.fbrem();
      h1_ele_fbrem_endcaps->Fill(fbrem_mode_endcaps);
     }

    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
     {
      double fbrem_mean =  1. - bestGsfElectron.gsfTrack()->outerMomentum().R()/bestGsfElectron.gsfTrack()->innerMomentum().R() ;
      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.isEB()) h1_ele_mva_barrel->Fill(bestGsfElectron.mva());
    if (bestGsfElectron.isEE()) h1_ele_mva_endcaps->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.);

    if (bestGsfElectron.ecalDrivenSeed() && bestGsfElectron.isEB()) h1_ele_provenance_barrel->Fill(1.);
    if (bestGsfElectron.trackerDrivenSeed() && bestGsfElectron.isEB()) h1_ele_provenance_barrel->Fill(-1.);
    if ((bestGsfElectron.trackerDrivenSeed()||bestGsfElectron.ecalDrivenSeed()) && bestGsfElectron.isEB()) h1_ele_provenance_barrel->Fill(0.);
    if (bestGsfElectron.trackerDrivenSeed()&&!bestGsfElectron.ecalDrivenSeed() && bestGsfElectron.isEB()) h1_ele_provenance_barrel->Fill(-2.);
    if (!bestGsfElectron.trackerDrivenSeed()&&bestGsfElectron.ecalDrivenSeed() && bestGsfElectron.isEB()) h1_ele_provenance_barrel->Fill(2.);
    if (bestGsfElectron.ecalDrivenSeed() && bestGsfElectron.isEE()) h1_ele_provenance_endcaps->Fill(1.);
    if (bestGsfElectron.trackerDrivenSeed() && bestGsfElectron.isEE()) h1_ele_provenance_endcaps->Fill(-1.);
    if ((bestGsfElectron.trackerDrivenSeed()||bestGsfElectron.ecalDrivenSeed()) && bestGsfElectron.isEE()) h1_ele_provenance_endcaps->Fill(0.);
    if (bestGsfElectron.trackerDrivenSeed()&&!bestGsfElectron.ecalDrivenSeed() && bestGsfElectron.isEE()) h1_ele_provenance_endcaps->Fill(-2.);
    if (!bestGsfElectron.trackerDrivenSeed()&&bestGsfElectron.ecalDrivenSeed() && bestGsfElectron.isEE()) h1_ele_provenance_endcaps->Fill(2.);

    if (bestGsfElectron.isGsfCtfScPixChargeConsistent()) h1_ele_chargeInfo->Fill(-1.0);
    if (bestGsfElectron.isGsfScPixChargeConsistent()) h1_ele_chargeInfo->Fill(0.);
    if (bestGsfElectron.isGsfCtfChargeConsistent()) h1_ele_chargeInfo->Fill(1.0);

    // Pflow isolation
    h1_ele_chargedHadronIso->Fill(bestGsfElectron.pfIsolationVariables().chargedHadronIso);
    if (bestGsfElectron.isEB()) h1_ele_chargedHadronIso_barrel->Fill(bestGsfElectron.pfIsolationVariables().chargedHadronIso);
    if (bestGsfElectron.isEE()) h1_ele_chargedHadronIso_endcaps->Fill(bestGsfElectron.pfIsolationVariables().chargedHadronIso);

    h1_ele_neutralHadronIso->Fill(bestGsfElectron.pfIsolationVariables().neutralHadronIso);
    if (bestGsfElectron.isEB()) h1_ele_neutralHadronIso_barrel->Fill(bestGsfElectron.pfIsolationVariables().neutralHadronIso);
    if (bestGsfElectron.isEE()) h1_ele_neutralHadronIso_endcaps->Fill(bestGsfElectron.pfIsolationVariables().neutralHadronIso);

    h1_ele_photonIso->Fill(bestGsfElectron.pfIsolationVariables().photonIso);
    if (bestGsfElectron.isEB()) h1_ele_photonIso_barrel->Fill(bestGsfElectron.pfIsolationVariables().photonIso);
    if (bestGsfElectron.isEE()) h1_ele_photonIso_endcaps->Fill(bestGsfElectron.pfIsolationVariables().photonIso);

    // 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());
    if (bestGsfElectron.isEB()) h1_ele_hcalTowerSumEt_dr03_depth2_barrel->Fill(bestGsfElectron.dr03HcalDepth2TowerSumEt());
    if (bestGsfElectron.isEE()) h1_ele_hcalTowerSumEt_dr03_depth2_endcaps->Fill(bestGsfElectron.dr03HcalDepth2TowerSumEt());
    h1_ele_hcalTowerSumEtBc_dr03_depth1->Fill(bestGsfElectron.dr03HcalDepth1TowerSumEtBc());
    if (bestGsfElectron.isEB()) h1_ele_hcalTowerSumEtBc_dr03_depth1_barrel->Fill(bestGsfElectron.dr03HcalDepth1TowerSumEtBc());
    if (bestGsfElectron.isEE()) h1_ele_hcalTowerSumEtBc_dr03_depth1_endcaps->Fill(bestGsfElectron.dr03HcalDepth1TowerSumEtBc());
    h1_ele_hcalTowerSumEtBc_dr03_depth2->Fill(bestGsfElectron.dr03HcalDepth2TowerSumEtBc());
    if (bestGsfElectron.isEB()) h1_ele_hcalTowerSumEtBc_dr03_depth2_barrel->Fill(bestGsfElectron.dr03HcalDepth2TowerSumEtBc());
    if (bestGsfElectron.isEE()) h1_ele_hcalTowerSumEtBc_dr03_depth2_endcaps->Fill(bestGsfElectron.dr03HcalDepth2TowerSumEtBc());
    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());
    if (bestGsfElectron.isEB()) h1_ele_hcalTowerSumEt_dr04_depth2_barrel->Fill(bestGsfElectron.dr04HcalDepth2TowerSumEt());
    if (bestGsfElectron.isEE()) h1_ele_hcalTowerSumEt_dr04_depth2_endcaps->Fill(bestGsfElectron.dr04HcalDepth2TowerSumEt());

    h1_ele_hcalTowerSumEtBc_dr04_depth1->Fill(bestGsfElectron.dr04HcalDepth1TowerSumEtBc());
    if (bestGsfElectron.isEB()) h1_ele_hcalTowerSumEtBc_dr04_depth1_barrel->Fill(bestGsfElectron.dr04HcalDepth1TowerSumEtBc());
    if (bestGsfElectron.isEE()) h1_ele_hcalTowerSumEtBc_dr04_depth1_endcaps->Fill(bestGsfElectron.dr04HcalDepth1TowerSumEtBc());
    h1_ele_hcalTowerSumEtBc_dr04_depth2->Fill(bestGsfElectron.dr04HcalDepth2TowerSumEtBc());
    if (bestGsfElectron.isEB()) h1_ele_hcalTowerSumEtBc_dr04_depth2_barrel->Fill(bestGsfElectron.dr04HcalDepth2TowerSumEtBc());
    if (bestGsfElectron.isEE()) h1_ele_hcalTowerSumEtBc_dr04_depth2_endcaps->Fill(bestGsfElectron.dr04HcalDepth2TowerSumEtBc());

    h1_ele_hcalDepth1OverEcalBc->Fill(bestGsfElectron.hcalDepth1OverEcalBc());
    if (bestGsfElectron.isEB()) h1_ele_hcalDepth1OverEcalBc_barrel->Fill(bestGsfElectron.hcalDepth1OverEcalBc());
    if (bestGsfElectron.isEE()) h1_ele_hcalDepth1OverEcalBc_endcaps->Fill(bestGsfElectron.hcalDepth1OverEcalBc());
    h1_ele_hcalDepth2OverEcalBc->Fill(bestGsfElectron.hcalDepth2OverEcalBc());
    if (bestGsfElectron.isEB()) h1_ele_hcalDepth2OverEcalBc_barrel->Fill(bestGsfElectron.hcalDepth2OverEcalBc());
    if (bestGsfElectron.isEE()) h1_ele_hcalDepth2OverEcalBc_endcaps->Fill(bestGsfElectron.hcalDepth2OverEcalBc());

    // isolation : difference with iso deposits
    if ( isoFromDepsTk03Handle.isValid() )
     { h1_ele_dIso_tkSumPt_dr03->Fill(bestGsfElectron.dr03TkSumPt()-((*isoFromDepsTk03Handle)[bestGsfElectronRef])) ; }
    if ( isoFromDepsTk04Handle.isValid() )
     { h1_ele_dIso_tkSumPt_dr04->Fill(bestGsfElectron.dr04TkSumPt()-((*isoFromDepsTk04Handle)[bestGsfElectronRef])) ; }
    if ( isoFromDepsEcalFull03Handle.isValid() )
     { h1_ele_dIso_ecalFullRecHitSumEt_dr03->Fill(bestGsfElectron.dr03EcalRecHitSumEt()-((*isoFromDepsEcalFull03Handle)[bestGsfElectronRef])) ; }
    if ( isoFromDepsEcalFull04Handle.isValid() )
     { h1_ele_dIso_ecalFullRecHitSumEt_dr04->Fill(bestGsfElectron.dr04EcalRecHitSumEt()-((*isoFromDepsEcalFull04Handle)[bestGsfElectronRef])) ; }
    if ( isoFromDepsEcalReduced03Handle.isValid() )
     { h1_ele_dIso_ecalReducedRecHitSumEt_dr03->Fill(bestGsfElectron.dr03EcalRecHitSumEt()-((*isoFromDepsEcalReduced03Handle)[bestGsfElectronRef])) ; }
    if ( isoFromDepsEcalReduced04Handle.isValid() )
     { h1_ele_dIso_ecalReducedRecHitSumEt_dr04->Fill(bestGsfElectron.dr04EcalRecHitSumEt()-((*isoFromDepsEcalReduced04Handle)[bestGsfElectronRef])) ; }
    if ( isoFromDepsHcal03Handle.isValid() )
     { h1_ele_dIso_hcalTowerSumEt_dr03->Fill(bestGsfElectron.dr03HcalTowerSumEt()-((*isoFromDepsHcal03Handle)[bestGsfElectronRef])) ; }
    if ( isoFromDepsHcal04Handle.isValid() )
     { h1_ele_dIso_hcalTowerSumEt_dr04->Fill(bestGsfElectron.dr04HcalTowerSumEt()-((*isoFromDepsHcal04Handle)[bestGsfElectronRef])) ; }

    // 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::book ( ) [virtual]

Reimplemented from ElectronDqmAnalyzerBase.

Definition at line 553 of file ElectronMcSignalValidator.cc.

References ElectronDqmAnalyzerBase::bookH1(), ElectronDqmAnalyzerBase::bookH1withSumw2(), ElectronDqmAnalyzerBase::bookH2(), ElectronDqmAnalyzerBase::bookH2withSumw2(), ElectronDqmAnalyzerBase::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_chargedHadronIso, h1_ele_chargedHadronIso_barrel, h1_ele_chargedHadronIso_endcaps, h1_ele_chargeInfo, h1_ele_ChargeMnChargeTrue, h1_ele_chi2, h1_ele_chi2_barrel, h1_ele_chi2_endcaps, h1_ele_classes, h1_ele_combinedP4Error, h1_ele_combinedP4Error_barrel, h1_ele_combinedP4Error_endcaps, 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_dIso_ecalFullRecHitSumEt_dr03, h1_ele_dIso_ecalFullRecHitSumEt_dr04, h1_ele_dIso_ecalReducedRecHitSumEt_dr03, h1_ele_dIso_ecalReducedRecHitSumEt_dr04, h1_ele_dIso_hcalTowerSumEt_dr03, h1_ele_dIso_hcalTowerSumEt_dr04, h1_ele_dIso_tkSumPt_dr03, h1_ele_dIso_tkSumPt_dr04, 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_ecalEnergyError, h1_ele_ecalEnergyError_barrel, h1_ele_ecalEnergyError_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_shower, h1_ele_EtaMnEtaTrue, h1_ele_EtaMnEtaTrue_barrel, h1_ele_EtaMnEtaTrue_endcaps, h1_ele_fbrem, h1_ele_fbrem_barrel, h1_ele_fbrem_eg, h1_ele_fbrem_endcaps, h1_ele_foundHits, h1_ele_foundHits_barrel, h1_ele_foundHits_endcaps, h1_ele_hcalDepth1OverEcalBc, h1_ele_hcalDepth1OverEcalBc_barrel, h1_ele_hcalDepth1OverEcalBc_endcaps, h1_ele_hcalDepth2OverEcalBc, h1_ele_hcalDepth2OverEcalBc_barrel, h1_ele_hcalDepth2OverEcalBc_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_dr03_depth2_barrel, h1_ele_hcalTowerSumEt_dr03_depth2_endcaps, h1_ele_hcalTowerSumEt_dr04_depth1, h1_ele_hcalTowerSumEt_dr04_depth1_barrel, h1_ele_hcalTowerSumEt_dr04_depth1_endcaps, h1_ele_hcalTowerSumEt_dr04_depth2, h1_ele_hcalTowerSumEt_dr04_depth2_barrel, h1_ele_hcalTowerSumEt_dr04_depth2_endcaps, h1_ele_hcalTowerSumEtBc_dr03_depth1, h1_ele_hcalTowerSumEtBc_dr03_depth1_barrel, h1_ele_hcalTowerSumEtBc_dr03_depth1_endcaps, h1_ele_hcalTowerSumEtBc_dr03_depth2, h1_ele_hcalTowerSumEtBc_dr03_depth2_barrel, h1_ele_hcalTowerSumEtBc_dr03_depth2_endcaps, h1_ele_hcalTowerSumEtBc_dr04_depth1, h1_ele_hcalTowerSumEtBc_dr04_depth1_barrel, h1_ele_hcalTowerSumEtBc_dr04_depth1_endcaps, h1_ele_hcalTowerSumEtBc_dr04_depth2, h1_ele_hcalTowerSumEtBc_dr04_depth2_barrel, h1_ele_hcalTowerSumEtBc_dr04_depth2_endcaps, h1_ele_HoE, h1_ele_HoE_all, h1_ele_HoE_all_barrel, h1_ele_HoE_all_endcaps, h1_ele_HoE_barrel, h1_ele_HoE_bc, h1_ele_HoE_bc_all, h1_ele_HoE_bc_barrel, h1_ele_HoE_bc_endcaps, 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_barrel, h1_ele_mva_eg, h1_ele_mva_endcaps, h1_ele_neutralHadronIso, h1_ele_neutralHadronIso_barrel, h1_ele_neutralHadronIso_endcaps, 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_photonIso, h1_ele_photonIso_barrel, h1_ele_photonIso_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_provenance_barrel, h1_ele_provenance_endcaps, 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_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_mc_AbsEta, h1_mc_AbsEta_matched, h1_mc_AbsEta_matched_qmisid, h1_mc_Eta, h1_mc_Eta_matched, h1_mc_Eta_matched_qmisid, h1_mc_P, h1_mc_Phi, h1_mc_Phi_matched, h1_mc_Phi_matched_qmisid, h1_mc_Pt, h1_mc_Pt_matched, h1_mc_Pt_matched_qmisid, h1_mc_Z, h1_mc_Z_matched, h1_mc_Z_matched_qmisid, 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, 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_vertexEtaVsPhi, h2_ele_vertexPtVsEta, h2_ele_vertexPtVsPhi, h2_ele_vertexTIPVsEta, h2_ele_vertexTIPVsPhi, h2_ele_vertexTIPVsPt, h2_mc_PtEta, h2_mc_PtEta_matched, h2_scl_EoEtruePfVsEg, h2_scl_EtaVsPhi, h2_scl_EtVsEta, h2_scl_EtVsPhi, 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, pt2D_nbin, pt_max, pt_nbin, pteff_nbin, ElectronDqmAnalyzerBase::setBookIndex(), ElectronDqmAnalyzerBase::setBookPrefix(), and xyz_nbin.

 {
//  prepareStore() ;
//  setStoreFolder("EgammaV/ElectronMcSignalValidator") ;
  setBookIndex(-1) ;
  setBookPrefix("h") ;

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

  // rec event collections sizes
  h1_recEleNum = bookH1("recEleNum","# rec electrons",11, -0.5,10.5,"N_{ele}");
  h1_recCoreNum = bookH1("recCoreNum","# rec electron cores",21, -0.5,20.5,"N_{core}");
  h1_recTrackNum = bookH1("recTrackNum","# rec gsf tracks",41, -0.5,40.5,"N_{track}");
  h1_recSeedNum = bookH1("recSeedNum","# rec electron seeds",101, -0.5,100.5,"N_{seed}");

  // mc
  setBookPrefix("h_mc") ;
  h1_mc_Eta = bookH1withSumw2("Eta","gen #eta",eta_nbin,eta_min,eta_max,"#eta");
  h1_mc_AbsEta = bookH1withSumw2("AbsEta","gen |#eta|",eta_nbin/2,0.,eta_max);
  h1_mc_P = bookH1withSumw2("P","gen p",p_nbin,0.,p_max,"p (GeV/c)");
  h1_mc_Pt = bookH1withSumw2("Pt","gen pt",pteff_nbin,5.,pt_max);
  h1_mc_Phi = bookH1withSumw2("Phi","gen phi",phi_nbin,phi_min,phi_max);
  h1_mc_Z = bookH1withSumw2("Z","gen z ",xyz_nbin, -25, 25 );
  h2_mc_PtEta = bookH2withSumw2("PtEta","gen pt vs #eta",eta2D_nbin,eta_min,eta_max,pt2D_nbin,5.,pt_max );

  // all electrons
  setBookPrefix("h_ele") ;
  h1_ele_EoverP_all = bookH1withSumw2("EoverP_all","ele E/P_{vertex}, all reco electrons",eop_nbin,0.,eop_max,"E/P_{vertex}","Events","ELE_LOGY E1 P");
  h1_ele_EoverP_all_barrel = bookH1withSumw2("EoverP_all_barrel","ele E/P_{vertex}, all reco electrons, barrel",eop_nbin,0.,eop_max,"E/P_{vertex}","Events","ELE_LOGY E1 P");
  h1_ele_EoverP_all_endcaps = bookH1withSumw2("EoverP_all_endcaps","ele E/P_{vertex}, all reco electrons, endcaps",eop_nbin,0.,eop_max,"E/P_{vertex}","Events","ELE_LOGY E1 P");
  h1_ele_EseedOP_all = bookH1withSumw2("EseedOP_all","ele E_{seed}/P_{vertex}, all reco electrons",eop_nbin,0.,eop_max,"E_{seed}/P_{vertex}","Events","ELE_LOGY E1 P");
  h1_ele_EseedOP_all_barrel = bookH1withSumw2("EseedOP_all_barrel","ele E_{seed}/P_{vertex}, all reco electrons, barrel",eop_nbin,0.,eop_max,"E_{seed}/P_{vertex}","Events","ELE_LOGY E1 P");
  h1_ele_EseedOP_all_endcaps = bookH1withSumw2("EseedOP_all_endcaps","ele E_{seed}/P_{vertex}, all reco electrons, endcaps",eop_nbin,0.,eop_max,"E_{seed}/P_{vertex}","Events","ELE_LOGY E1 P");
  h1_ele_EoPout_all = bookH1withSumw2("EoPout_all","ele E_{seed}/P_{out}, all reco electrons",eop_nbin,0.,eop_max,"E_{seed}/P_{out}","Events","ELE_LOGY E1 P");
  h1_ele_EoPout_all_barrel = bookH1withSumw2("EoPout_all_barrel","ele E_{seed}/P_{out}, all reco electrons barrel",eop_nbin,0.,eop_max,"E_{seed}/P_{out}","Events","ELE_LOGY E1 P");
  h1_ele_EoPout_all_endcaps = bookH1withSumw2("EoPout_all_endcaps","ele E_{seed}/P_{out}, all reco electrons endcaps",eop_nbin,0.,eop_max,"E_{seed}/P_{out}","Events","ELE_LOGY E1 P");
  h1_ele_EeleOPout_all = bookH1withSumw2("EeleOPout_all","ele E_{ele}/P_{out}, all reco electrons",eop_nbin,0.,eop_max,"E_{ele}/P_{out}","Events","ELE_LOGY E1 P");
  h1_ele_EeleOPout_all_barrel = bookH1withSumw2("EeleOPout_all_barrel","ele E_{ele}/P_{out}, all reco electrons barrel",eop_nbin,0.,eop_max,"E_{ele}/P_{out}","Events","ELE_LOGY E1 P");
  h1_ele_EeleOPout_all_endcaps = bookH1withSumw2("EeleOPout_all_endcaps","ele E_{ele}/P_{out}, all reco electrons endcaps",eop_nbin,0.,eop_max,"E_{ele}/P_{out}","Events","ELE_LOGY E1 P");
  h1_ele_dEtaSc_propVtx_all = bookH1withSumw2("dEtaSc_propVtx_all","ele #eta_{sc} - #eta_{tr}, prop from vertex, all reco electrons",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{sc} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h1_ele_dEtaSc_propVtx_all_barrel = bookH1withSumw2("dEtaSc_propVtx_all_barrel","ele #eta_{sc} - #eta_{tr}, prop from vertex, all reco electrons barrel",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{sc} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h1_ele_dEtaSc_propVtx_all_endcaps = bookH1withSumw2("dEtaSc_propVtx_all_endcaps","ele #eta_{sc} - #eta_{tr}, prop from vertex, all reco electrons endcaps",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{sc} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h1_ele_dPhiSc_propVtx_all = bookH1withSumw2("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)","Events","ELE_LOGY E1 P");
  h1_ele_dPhiSc_propVtx_all_barrel = bookH1withSumw2("dPhiSc_propVtx_all_barrel","ele #phi_{sc} - #phi_{tr}, prop from vertex, all reco electrons barrel",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{sc} - #phi_{tr} (rad)","Events","ELE_LOGY E1 P");
  h1_ele_dPhiSc_propVtx_all_endcaps = bookH1withSumw2("dPhiSc_propVtx_all_endcaps","ele #phi_{sc} - #phi_{tr}, prop from vertex, all reco electrons endcaps",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{sc} - #phi_{tr} (rad)","Events","ELE_LOGY E1 P");
  h1_ele_dEtaCl_propOut_all = bookH1withSumw2("dEtaCl_propOut_all","ele #eta_{cl} - #eta_{tr}, prop from outermost, all reco electrons",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{sc} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h1_ele_dEtaCl_propOut_all_barrel = bookH1withSumw2("dEtaCl_propOut_all_barrel","ele #eta_{cl} - #eta_{tr}, prop from outermost, all reco electrons barrel",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{sc} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h1_ele_dEtaCl_propOut_all_endcaps = bookH1withSumw2("dEtaCl_propOut_all_endcaps","ele #eta_{cl} - #eta_{tr}, prop from outermost, all reco electrons endcaps",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{sc} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h1_ele_dPhiCl_propOut_all = bookH1withSumw2("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)","Events","ELE_LOGY E1 P");
  h1_ele_dPhiCl_propOut_all_barrel = bookH1withSumw2("dPhiCl_propOut_all_barrel","ele #phi_{cl} - #phi_{tr}, prop from outermost, all reco electrons barrel",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{sc} - #phi_{tr} (rad)","Events","ELE_LOGY E1 P");
  h1_ele_dPhiCl_propOut_all_endcaps = bookH1withSumw2("dPhiCl_propOut_all_endcaps","ele #phi_{cl} - #phi_{tr}, prop from outermost, all reco electrons endcaps",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{sc} - #phi_{tr} (rad)","Events","ELE_LOGY E1 P");
  h1_ele_HoE_all = bookH1withSumw2("HoE_all","ele hadronic energy / em energy, all reco electrons",hoe_nbin, hoe_min, hoe_max,"H/E","Events","ELE_LOGY E1 P") ;
  h1_ele_HoE_all_barrel = bookH1withSumw2("HoE_all_barrel","ele hadronic energy / em energy, all reco electrons barrel",hoe_nbin, hoe_min, hoe_max,"H/E","Events","ELE_LOGY E1 P") ;
  h1_ele_HoE_all_endcaps = bookH1withSumw2("HoE_all_endcaps","ele hadronic energy / em energy, all reco electrons endcaps",hoe_nbin, hoe_min, hoe_max,"H/E","Events","ELE_LOGY E1 P") ;
  h1_ele_HoE_bc_all = bookH1withSumw2("HoE_bc_all","ele hadronic energy / em energy, all reco electrons, behind cluster",hoe_nbin, hoe_min, hoe_max,"H/E","Events","ELE_LOGY E1 P") ;
  h1_ele_vertexPt_all = bookH1withSumw2("vertexPt_all","ele p_{T}, all reco electrons",pteff_nbin,5.,pt_max,"","Events","ELE_LOGY E1 P");
  h1_ele_Et_all = bookH1withSumw2("Et_all","ele ecal E_{T}, all reco electrons",pteff_nbin,5.,pt_max,"E_{T} (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_vertexEta_all = bookH1withSumw2("vertexEta_all","ele eta, all reco electrons",eta_nbin,eta_min,eta_max,"","Events","ELE_LOGY E1 P");
  h1_ele_TIP_all = bookH1withSumw2("TIP_all","ele vertex transverse radius, all reco electrons",  100,0.,0.2,"r_{T} (cm)","Events","ELE_LOGY E1 P");
  h1_ele_TIP_all_barrel = bookH1withSumw2("TIP_all_barrel","ele vertex transverse radius, all reco electrons barrel",  100,0.,0.2,"r_{T} (cm)","Events","ELE_LOGY E1 P");
  h1_ele_TIP_all_endcaps = bookH1withSumw2("TIP_all_endcaps","ele vertex transverse radius, all reco electrons endcaps",  100,0.,0.2,"r_{T} (cm)","Events","ELE_LOGY E1 P");
  h1_ele_mee_all = bookH1withSumw2("mee_all","ele pairs invariant mass, all reco electrons",mee_nbin, mee_min, mee_max,"m_{ee} (GeV/c^{2})","Events","ELE_LOGY E1 P");
  h1_ele_mee_os = bookH1withSumw2("mee_os","ele pairs invariant mass, opp. sign",mee_nbin, mee_min, mee_max,"m_{e^{+}e^{-}} (GeV/c^{2})","Events","ELE_LOGY E1 P");
  h1_ele_mee_os_ebeb = bookH1withSumw2("mee_os_ebeb","ele pairs invariant mass, opp. sign, EB-EB",mee_nbin, mee_min, mee_max,"m_{e^{+}e^{-}} (GeV/c^{2})","Events","ELE_LOGY E1 P");
  h1_ele_mee_os_ebee = bookH1withSumw2("mee_os_ebee","ele pairs invariant mass, opp. sign, EB-EE",mee_nbin, mee_min, mee_max,"m_{e^{+}e^{-}} (GeV/c^{2})","Events","ELE_LOGY E1 P");
  h1_ele_mee_os_eeee = bookH1withSumw2("mee_os_eeee","ele pairs invariant mass, opp. sign, EE-EE",mee_nbin, mee_min, mee_max,"m_{e^{+}e^{-}} (GeV/c^{2})","Events","ELE_LOGY E1 P");
  h1_ele_mee_os_gg = bookH1withSumw2("mee_os_gg","ele pairs invariant mass, opp. sign, good-good",mee_nbin, mee_min, mee_max,"m_{e^{+}e^{-}} (GeV/c^{2})","Events","ELE_LOGY E1 P");
  h1_ele_mee_os_gb = bookH1withSumw2("mee_os_gb","ele pairs invariant mass, opp. sign, good-bad",mee_nbin, mee_min, mee_max,"m_{e^{+}e^{-}} (GeV/c^{2})","Events","ELE_LOGY E1 P");
  h1_ele_mee_os_bb = bookH1withSumw2("mee_os_bb","ele pairs invariant mass, opp. sign, bad-bad",mee_nbin, mee_min, mee_max,"m_{e^{+}e^{-}} (GeV/c^{2})","Events","ELE_LOGY E1 P");

  // duplicates
  h2_ele_E2mnE1vsMee_all = bookH2("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("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("ChargeMnChargeTrue","ele charge - gen charge ",5,-1.,4.,"q_{rec} - q_{gen}");
  setBookPrefix("h_mc") ;
  h1_mc_Eta_matched_qmisid = bookH1withSumw2("Eta_matched_qmisid","charge misid vs gen eta",eta_nbin,eta_min,eta_max);
  h1_mc_AbsEta_matched_qmisid = bookH1withSumw2("AbsEta_matched_qmisid","charge misid vs gen |eta|",eta_nbin/2,0.,eta_max);
  h1_mc_Pt_matched_qmisid = bookH1withSumw2("Pt_matched_qmisid","charge misid vs gen transverse momentum",pteff_nbin,5.,pt_max);
  h1_mc_Phi_matched_qmisid = bookH1withSumw2("Phi_matched_qmisid","charge misid vs gen phi",phi_nbin,phi_min,phi_max);
  h1_mc_Z_matched_qmisid = bookH1withSumw2("Z_matched_qmisid","charge misid vs gen z",xyz_nbin, -25, 25 );

  // matched electrons
  setBookPrefix("h_mc") ;
  h1_mc_Eta_matched = bookH1withSumw2("Eta_matched","Efficiency vs gen eta",eta_nbin,eta_min,eta_max);
  h1_mc_AbsEta_matched = bookH1withSumw2("AbsEta_matched","Efficiency vs gen |eta|",eta_nbin/2,0.,2.5);
  h1_mc_Pt_matched = bookH1("Pt_matched","Efficiency vs gen transverse momentum",pteff_nbin,5.,pt_max);
  h1_mc_Phi_matched = bookH1withSumw2("Phi_matched","Efficiency vs gen phi",phi_nbin,phi_min,phi_max);
  h1_mc_Z_matched = bookH1withSumw2("Z_matched","Efficiency vs gen vertex z",xyz_nbin,-25,25);
  h2_mc_PtEta_matched = bookH2withSumw2("PtEta_matched","Efficiency vs pt #eta",eta2D_nbin,eta_min,eta_max,pt2D_nbin,5.,pt_max );
  setBookPrefix("h_ele") ;
  h1_ele_charge = bookH1withSumw2("charge","ele charge",5,-2.5,2.5,"charge");
  h2_ele_chargeVsEta = bookH2("chargeVsEta","ele charge vs eta",eta2D_nbin,eta_min,eta_max,5,-2.,2.);
  h2_ele_chargeVsPhi = bookH2("chargeVsPhi","ele charge vs phi",phi2D_nbin,phi_min,phi_max,5,-2.,2.);
  h2_ele_chargeVsPt = bookH2("chargeVsPt","ele charge vs pt",pt_nbin,0.,100.,5,-2.,2.);
  h1_ele_vertexP = bookH1withSumw2("vertexP","ele momentum",p_nbin,0.,p_max,"p_{vertex} (GeV/c)");
  h1_ele_vertexPt = bookH1withSumw2("vertexPt","ele transverse momentum",pt_nbin,0.,pt_max,"p_{T vertex} (GeV/c)");
  h1_ele_Et = bookH1withSumw2("Et","ele ecal E_{T}",pt_nbin,0.,pt_max,"E_{T} (GeV)");
  h2_ele_vertexPtVsEta = bookH2("vertexPtVsEta","ele transverse momentum vs eta",eta2D_nbin,eta_min,eta_max,pt2D_nbin,0.,pt_max);
  h2_ele_vertexPtVsPhi = bookH2("vertexPtVsPhi","ele transverse momentum vs phi",phi2D_nbin,phi_min,phi_max,pt2D_nbin,0.,pt_max);
  h1_ele_vertexEta = bookH1withSumw2("vertexEta","ele momentum eta",eta_nbin,eta_min,eta_max,"#eta");
  h2_ele_vertexEtaVsPhi = bookH2("vertexEtaVsPhi","ele momentum eta vs phi",eta2D_nbin,eta_min,eta_max,phi2D_nbin,phi_min,phi_max );
  h1_ele_vertexPhi = bookH1withSumw2("vertexPhi","ele  momentum #phi",phi_nbin,phi_min,phi_max,"#phi (rad)");
  h1_ele_vertexX = bookH1withSumw2("vertexX","ele vertex x",xyz_nbin,-0.6,0.6,"x (cm)" );
  h1_ele_vertexY = bookH1withSumw2("vertexY","ele vertex y",xyz_nbin,-0.6,0.6,"y (cm)" );
  h1_ele_vertexZ = bookH1withSumw2("vertexZ","ele vertex z",xyz_nbin,-25, 25,"z (cm)" );
  h1_ele_vertexTIP = bookH1withSumw2("vertexTIP","ele transverse impact parameter (wrt gen vtx)",90,0.,0.15,"TIP (cm)");
  h2_ele_vertexTIPVsEta = bookH2("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("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("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("PoPtrue","ele momentum / gen momentum",poptrue_nbin,poptrue_min,poptrue_max,"P/P_{gen}");
  h1_ele_PoPtrue_barrel = bookH1withSumw2("PoPtrue_barrel","ele momentum / gen momentum, barrel",poptrue_nbin,poptrue_min,poptrue_max,"P/P_{gen}");
  h1_ele_PoPtrue_endcaps = bookH1withSumw2("PoPtrue_endcaps","ele momentum / gen momentum, endcaps",poptrue_nbin,poptrue_min,poptrue_max,"P/P_{gen}");
  h2_ele_PoPtrueVsEta = bookH2withSumw2("PoPtrueVsEta","ele momentum / gen momentum vs eta",eta2D_nbin,eta_min,eta_max,50,poptrue_min,poptrue_max);
  h2_ele_PoPtrueVsPhi = bookH2("PoPtrueVsPhi","ele momentum / gen momentum vs phi",phi2D_nbin,phi_min,phi_max,50,poptrue_min,poptrue_max);
  h2_ele_PoPtrueVsPt = bookH2("PoPtrueVsPt","ele momentum / gen momentum vs eta",pt2D_nbin,0.,pt_max,50,poptrue_min,poptrue_max);
  h1_ele_PoPtrue_golden_barrel = bookH1withSumw2("PoPtrue_golden_barrel","ele momentum / gen momentum, golden, barrel",poptrue_nbin,poptrue_min,poptrue_max,"P/P_{gen}");
  h1_ele_PoPtrue_golden_endcaps = bookH1withSumw2("PoPtrue_golden_endcaps","ele momentum / gen momentum, golden, endcaps",poptrue_nbin,poptrue_min,poptrue_max,"P/P_{gen}");
  h1_ele_PoPtrue_showering_barrel = bookH1withSumw2("PoPtrue_showering_barrel","ele momentum / gen momentum, showering, barrel",poptrue_nbin,poptrue_min,poptrue_max,"P/P_{gen}");
  h1_ele_PoPtrue_showering_endcaps = bookH1withSumw2("PoPtrue_showering_endcaps","ele momentum / gen momentum, showering, endcaps",poptrue_nbin,poptrue_min,poptrue_max,"P/P_{gen}");
  h1_ele_PtoPttrue = bookH1withSumw2("PtoPttrue","ele transverse momentum / gen transverse momentum",poptrue_nbin,poptrue_min,poptrue_max,"P_{T}/P_{T}^{gen}");
  h1_ele_PtoPttrue_barrel = bookH1withSumw2("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("PtoPttrue_endcaps","ele transverse momentum / gen transverse momentum, endcaps",poptrue_nbin,poptrue_min,poptrue_max,"P_{T}/P_{T}^{gen}");
  h1_ele_EtaMnEtaTrue = bookH1withSumw2("EtaMnEtaTrue","ele momentum  eta - gen  eta",deta_nbin,deta_min,deta_max,"#eta_{rec} - #eta_{gen}");
  h1_ele_EtaMnEtaTrue_barrel = bookH1withSumw2("EtaMnEtaTrue_barrel","ele momentum  eta - gen  eta barrel",deta_nbin,deta_min,deta_max,"#eta_{rec} - #eta_{gen}");
  h1_ele_EtaMnEtaTrue_endcaps = bookH1withSumw2("EtaMnEtaTrue_endcaps","ele momentum  eta - gen  eta endcaps",deta_nbin,deta_min,deta_max,"#eta_{rec} - #eta_{gen}");
  h2_ele_EtaMnEtaTrueVsEta = bookH2("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("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("EtaMnEtaTrueVsPt","ele momentum  eta - gen  eta vs pt",pt_nbin,0.,pt_max,deta_nbin/2,deta_min,deta_max);
  h1_ele_PhiMnPhiTrue = bookH1withSumw2("PhiMnPhiTrue","ele momentum  phi - gen  phi",dphi_nbin,dphi_min,dphi_max,"#phi_{rec} - #phi_{gen} (rad)");
  h1_ele_PhiMnPhiTrue_barrel = bookH1withSumw2("PhiMnPhiTrue_barrel","ele momentum  phi - gen  phi barrel",dphi_nbin,dphi_min,dphi_max,"#phi_{rec} - #phi_{gen} (rad)");
  h1_ele_PhiMnPhiTrue_endcaps = bookH1withSumw2("PhiMnPhiTrue_endcaps","ele momentum  phi - gen  phi endcaps",dphi_nbin,dphi_min,dphi_max,"#phi_{rec} - #phi_{gen} (rad)");
  h1_ele_PhiMnPhiTrue2 = bookH1("PhiMnPhiTrue2","ele momentum  phi - gen  phi",dphimatch2D_nbin,dphimatch_min,dphimatch_max);
  h2_ele_PhiMnPhiTrueVsEta = bookH2("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("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("PhiMnPhiTrueVsPt","ele momentum  phi - gen  phi vs pt",pt2D_nbin,0.,pt_max,dphi_nbin/2,dphi_min,dphi_max);
  h1_ele_ecalEnergyError = bookH1withSumw2("ecalEnergyError","",30,0,30);
  h1_ele_ecalEnergyError_barrel = bookH1withSumw2("ecalEnergyError_barrel","",30,0,30);
  h1_ele_ecalEnergyError_endcaps = bookH1withSumw2("ecalEnergyError_endcaps","",30,0,30);
  h1_ele_combinedP4Error = bookH1withSumw2("combinedP4Error","",30,0,30);
  h1_ele_combinedP4Error_barrel = bookH1withSumw2("combinedP4Error_barrel","",30,0,30);
  h1_ele_combinedP4Error_endcaps = bookH1withSumw2("combinedP4Error_endcaps","",30,0,30);

  // matched electron, superclusters
  setBookPrefix("h_scl") ;
  h1_scl_En = bookH1withSumw2("energy","ele ecal energy",p_nbin,0.,p_max);
  h1_scl_EoEtrue_barrel = bookH1withSumw2("EoEtrue_barrel","ele ecal energy / gen energy, barrel",50,0.2,1.2,"E/E_{gen}");
  h1_scl_EoEtrue_barrel_eg = bookH1withSumw2("EoEtrue_barrel_eg","ele ecal energy / gen energy, barrel, ecal driven",50,0.2,1.2,"E/E_{gen}");
  h1_scl_EoEtrue_barrel_etagap = bookH1withSumw2("EoEtrue_barrel_etagap","ele ecal energy / gen energy, barrel, etagap",50,0.2,1.2,"E/E_{gen}");
  h1_scl_EoEtrue_barrel_phigap = bookH1withSumw2("EoEtrue_barrel_phigap","ele ecal energy / gen energy, barrel, phigap",50,0.2,1.2,"E/E_{gen}");
  h1_scl_EoEtrue_ebeegap = bookH1withSumw2("EoEtrue_ebeegap","ele ecal energy / gen energy, ebeegap",50,0.2,1.2,"E/E_{gen}");
  h1_scl_EoEtrue_endcaps = bookH1withSumw2("EoEtrue_endcaps","ele ecal energy / gen energy, endcaps",50,0.2,1.2,"E/E_{gen}");
  h1_scl_EoEtrue_endcaps_eg = bookH1withSumw2("EoEtrue_endcaps_eg","ele ecal energy / gen energy, endcaps, ecal driven",50,0.2,1.2,"E/E_{gen}");
  h1_scl_EoEtrue_endcaps_deegap = bookH1withSumw2("EoEtrue_endcaps_deegap","ele ecal energy / gen energy, endcaps, deegap",50,0.2,1.2,"E/E_{gen}");
  h1_scl_EoEtrue_endcaps_ringgap = bookH1withSumw2("EoEtrue_endcaps_ringgap","ele ecal energy / gen energy, endcaps, ringgap",50,0.2,1.2,"E/E_{gen}");
  h1_scl_EoEtrue_barrel_new = bookH1withSumw2("EoEtrue_barrel_new","ele ecal energy / gen energy, barrel",poptrue_nbin,poptrue_min,poptrue_max,"E/E_{gen}");
  h1_scl_EoEtrue_barrel_new_eg = bookH1withSumw2("EoEtrue_barrel_new_eg","ele ecal energy / gen energy, barrel, ecal driven",poptrue_nbin,poptrue_min,poptrue_max,"E/E_{gen}");
  h1_scl_EoEtrue_barrel_new_etagap = bookH1withSumw2("EoEtrue_barrel_new_etagap","ele ecal energy / gen energy, barrel, etagap",poptrue_nbin,poptrue_min,poptrue_max,"E/E_{gen}");
  h1_scl_EoEtrue_barrel_new_phigap = bookH1withSumw2("EoEtrue_barrel_new_phigap","ele ecal energy / gen energy, barrel, phigap",poptrue_nbin,poptrue_min,poptrue_max,"E/E_{gen}");
  h1_scl_EoEtrue_ebeegap_new = bookH1withSumw2("EoEtrue_ebeegap_new","ele ecal energy / gen energy, ebeegap",poptrue_nbin,poptrue_min,poptrue_max,"E/E_{gen}");
  h1_scl_EoEtrue_endcaps_new = bookH1withSumw2("EoEtrue_endcaps_new","ele ecal energy / gen energy, endcaps",poptrue_nbin,poptrue_min,poptrue_max,"E/E_{gen}");
  h1_scl_EoEtrue_endcaps_new_eg = bookH1withSumw2("EoEtrue_endcaps_new_eg","ele ecal energy / gen energy, endcaps, ecal driven",poptrue_nbin,poptrue_min,poptrue_max,"E/E_{gen}");
  h1_scl_EoEtrue_endcaps_new_deegap = bookH1withSumw2("EoEtrue_endcaps_new_deegap","ele ecal energy / gen energy, endcaps, deegap",poptrue_nbin,poptrue_min,poptrue_max,"E/E_{gen}");
  h1_scl_EoEtrue_endcaps_new_ringgap = bookH1withSumw2("EoEtrue_endcaps_new_ringgap","ele ecal energy / gen energy, endcaps, ringgap",poptrue_nbin,poptrue_min,poptrue_max,"E/E_{gen}");
  h1_scl_Et = bookH1withSumw2("et","ele supercluster transverse energy",pt_nbin,0.,pt_max);
  h2_scl_EtVsEta = bookH2("etVsEta","ele supercluster transverse energy vs eta",eta2D_nbin,eta_min,eta_max,pt_nbin,0.,pt_max);
  h2_scl_EtVsPhi = bookH2("etVsPhi","ele supercluster transverse energy vs phi",phi2D_nbin,phi_min,phi_max,pt_nbin,0.,pt_max);
  h2_scl_EtaVsPhi = bookH2("etaVsPhi","ele supercluster eta vs phi",phi2D_nbin,phi_min,phi_max,eta2D_nbin,eta_min,eta_max);
  h1_scl_Eta = bookH1withSumw2("eta","ele supercluster eta",eta_nbin,eta_min,eta_max);
  h1_scl_Phi = bookH1withSumw2("phi","ele supercluster phi",phi_nbin,phi_min,phi_max);
  h1_scl_SigEtaEta = bookH1withSumw2("sigetaeta","ele supercluster sigma eta eta",100,0.,0.05,"#sigma_{#eta #eta}","Events","ELE_LOGY E1 P");
  h1_scl_SigEtaEta_barrel = bookH1withSumw2("sigetaeta_barrel","ele supercluster sigma eta eta barrel",100,0.,0.05,"#sigma_{#eta #eta}","Events","ELE_LOGY E1 P");
  h1_scl_SigEtaEta_endcaps = bookH1withSumw2("sigetaeta_endcaps","ele supercluster sigma eta eta endcaps",100,0.,0.05,"#sigma_{#eta #eta}","Events","ELE_LOGY E1 P");
  h1_scl_SigIEtaIEta = bookH1withSumw2("sigietaieta","ele supercluster sigma ieta ieta",100,0.,0.05,"#sigma_{i#eta i#eta}","Events","ELE_LOGY E1 P");
  h1_scl_SigIEtaIEta_barrel = bookH1withSumw2("sigietaieta_barrel","ele supercluster sigma ieta ieta, barrel",100,0.,0.05,"#sigma_{i#eta i#eta}","Events","ELE_LOGY E1 P");
  h1_scl_SigIEtaIEta_endcaps = bookH1withSumw2("sigietaieta_endcaps","ele supercluster sigma ieta ieta, endcaps",100,0.,0.05,"#sigma_{i#eta i#eta}","Events","ELE_LOGY E1 P");
  h1_scl_E1x5 = bookH1withSumw2("E1x5","ele supercluster energy in 1x5",p_nbin,0., p_max,"E1x5 (GeV)","Events","ELE_LOGY E1 P");
  h1_scl_E1x5_barrel = bookH1withSumw2("E1x5_barrel","ele supercluster energy in 1x5 barrel",p_nbin,0., p_max,"E1x5 (GeV)","Events","ELE_LOGY E1 P");
  h1_scl_E1x5_endcaps = bookH1withSumw2("E1x5_endcaps","ele supercluster energy in 1x5 endcaps",p_nbin,0., p_max,"E1x5 (GeV)","Events","ELE_LOGY E1 P");
  h1_scl_E2x5max = bookH1withSumw2("E2x5max","ele supercluster energy in 2x5 max",p_nbin,0.,p_max,"E2x5 (GeV)","Events","ELE_LOGY E1 P");
  h1_scl_E2x5max_barrel = bookH1withSumw2("E2x5max_barrel","ele supercluster energy in 2x5 _max barrel",p_nbin,0.,p_max,"E2x5 (GeV)","Events","ELE_LOGY E1 P");
  h1_scl_E2x5max_endcaps = bookH1withSumw2("E2x5max_endcaps","ele supercluster energy in 2x5 _max endcaps",p_nbin,0.,p_max,"E2x5 (GeV)","Events","ELE_LOGY E1 P");
  h1_scl_E5x5 = bookH1withSumw2("E5x5","ele supercluster energy in 5x5",p_nbin,0.,p_max,"E5x5 (GeV)","Events","ELE_LOGY E1 P");
  h1_scl_E5x5_barrel = bookH1withSumw2("E5x5_barrel","ele supercluster energy in 5x5 barrel",p_nbin,0.,p_max,"E5x5 (GeV)","Events","ELE_LOGY E1 P");
  h1_scl_E5x5_endcaps = bookH1withSumw2("E5x5_endcaps","ele supercluster energy in 5x5 endcaps",p_nbin,0.,p_max,"E5x5 (GeV)","Events","ELE_LOGY E1 P");
  h1_scl_SigEtaEta_eg = bookH1withSumw2("sigetaeta_eg","ele supercluster sigma eta eta, ecal driven",100,0.,0.05,"#sigma_{#eta #eta}","Events","ELE_LOGY E1 P");
  h1_scl_SigEtaEta_eg_barrel = bookH1withSumw2("sigetaeta_eg_barrel","ele supercluster sigma eta eta, ecal driven barrel",100,0.,0.05,"#sigma_{#eta #eta}","Events","ELE_LOGY E1 P");
  h1_scl_SigEtaEta_eg_endcaps = bookH1withSumw2("sigetaeta_eg_endcaps","ele supercluster sigma eta eta, ecal driven endcaps",100,0.,0.05,"#sigma_{#eta #eta}","Events","ELE_LOGY E1 P");
  h1_scl_SigIEtaIEta_eg = bookH1withSumw2("sigietaieta_eg","ele supercluster sigma ieta ieta, ecal driven",100,0.,0.05,"#sigma_{i#eta i#eta}","Events","ELE_LOGY E1 P");
  h1_scl_SigIEtaIEta_eg_barrel = bookH1withSumw2("sigietaieta_barrel_eg","ele supercluster sigma ieta ieta, barrel, ecal driven",100,0.,0.05,"#sigma_{i#eta i#eta}","Events","ELE_LOGY E1 P");
  h1_scl_SigIEtaIEta_eg_endcaps = bookH1withSumw2("sigietaieta_endcaps_eg","ele supercluster sigma ieta ieta, endcaps, ecal driven",100,0.,0.05,"#sigma_{i#eta i#eta}","Events","ELE_LOGY E1 P");
  h1_scl_E1x5_eg = bookH1withSumw2("E1x5_eg","ele supercluster energy in 1x5, ecal driven",p_nbin,0., p_max,"E1x5 (GeV)","Events","ELE_LOGY E1 P");
  h1_scl_E1x5_eg_barrel = bookH1withSumw2("E1x5_eg_barrel","ele supercluster energy in 1x5, ecal driven barrel",p_nbin,0., p_max,"E1x5 (GeV)","Events","ELE_LOGY E1 P");
  h1_scl_E1x5_eg_endcaps = bookH1withSumw2("E1x5_eg_endcaps","ele supercluster energy in 1x5, ecal driven endcaps",p_nbin,0., p_max,"E1x5 (GeV)","Events","ELE_LOGY E1 P");
  h1_scl_E2x5max_eg = bookH1withSumw2("E2x5max_eg","ele supercluster energy in 2x5 _max, ecal driven",p_nbin,0.,p_max,"E2x5 (GeV)","Events","ELE_LOGY E1 P");
  h1_scl_E2x5max_eg_barrel = bookH1withSumw2("E2x5max_eg_barrel","ele supercluster energy in 2x5 _max, ecal driven barrel",p_nbin,0.,p_max,"E2x5 (GeV)","Events","ELE_LOGY E1 P");
  h1_scl_E2x5max_eg_endcaps = bookH1withSumw2("E2x5max_eg_endcaps","ele supercluster energy in 2x5 _max, ecal driven endcaps",p_nbin,0.,p_max,"E2x5 (GeV)","Events","ELE_LOGY E1 P");
  h1_scl_E5x5_eg = bookH1withSumw2("E5x5_eg","ele supercluster energy in 5x5, ecal driven",p_nbin,0.,p_max,"E5x5 (GeV)","Events","ELE_LOGY E1 P");
  h1_scl_E5x5_eg_barrel = bookH1withSumw2("E5x5_eg_barrel","ele supercluster energy in 5x5, ecal driven barrel",p_nbin,0.,p_max,"E5x5 (GeV)","Events","ELE_LOGY E1 P");
  h1_scl_E5x5_eg_endcaps = bookH1withSumw2("E5x5_eg_endcaps","ele supercluster energy in 5x5, ecal driven endcaps",p_nbin,0.,p_max,"E5x5 (GeV)");
  h2_scl_EoEtruePfVsEg = bookH2("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
  setBookPrefix("h_ele") ;
  h1_ele_ambiguousTracks = bookH1withSumw2("ambiguousTracks","ele # ambiguous tracks",  5,0.,5.,"N_{ambiguous tracks}","Events","ELE_LOGY E1 P");
  h2_ele_ambiguousTracksVsEta = bookH2("ambiguousTracksVsEta","ele # ambiguous tracks vs eta",eta2D_nbin,eta_min,eta_max,5,0.,5.);
  h2_ele_ambiguousTracksVsPhi = bookH2("ambiguousTracksVsPhi","ele # ambiguous tracks vs phi",phi2D_nbin,phi_min,phi_max,5,0.,5.);
  h2_ele_ambiguousTracksVsPt = bookH2("ambiguousTracksVsPt","ele # ambiguous tracks vs pt",pt2D_nbin,0.,pt_max,5,0.,5.);
  h1_ele_foundHits = bookH1withSumw2("foundHits","ele track # found hits",fhits_nbin,0.,fhits_max,"N_{hits}");
  h1_ele_foundHits_barrel = bookH1withSumw2("foundHits_barrel","ele track # found hits, barrel",fhits_nbin,0.,fhits_max,"N_{hits}");
  h1_ele_foundHits_endcaps = bookH1withSumw2("foundHits_endcaps","ele track # found hits, endcaps",fhits_nbin,0.,fhits_max,"N_{hits}");
  h2_ele_foundHitsVsEta = bookH2("foundHitsVsEta","ele track # found hits vs eta",eta2D_nbin,eta_min,eta_max,fhits_nbin,0.,fhits_max);
  h2_ele_foundHitsVsPhi = bookH2("foundHitsVsPhi","ele track # found hits vs phi",phi2D_nbin,phi_min,phi_max,fhits_nbin,0.,fhits_max);
  h2_ele_foundHitsVsPt = bookH2("foundHitsVsPt","ele track # found hits vs pt",pt2D_nbin,0.,pt_max,fhits_nbin,0.,fhits_max);
  h1_ele_lostHits = bookH1withSumw2("lostHits","ele track # lost hits",       5,0.,5.,"N_{lost hits}");
  h1_ele_lostHits_barrel = bookH1withSumw2("lostHits_barrel","ele track # lost hits, barrel",       5,0.,5.,"N_{lost hits}");
  h1_ele_lostHits_endcaps = bookH1withSumw2("lostHits_endcaps","ele track # lost hits, endcaps",       5,0.,5.,"N_{lost hits}");
  h2_ele_lostHitsVsEta = bookH2("lostHitsVsEta","ele track # lost hits vs eta",eta2D_nbin,eta_min,eta_max,lhits_nbin,0.,lhits_max);
  h2_ele_lostHitsVsPhi = bookH2("lostHitsVsPhi","ele track # lost hits vs eta",phi2D_nbin,phi_min,phi_max,lhits_nbin,0.,lhits_max);
  h2_ele_lostHitsVsPt = bookH2("lostHitsVsPt","ele track # lost hits vs eta",pt2D_nbin,0.,pt_max,lhits_nbin,0.,lhits_max);
  h1_ele_chi2 = bookH1withSumw2("chi2","ele track #chi^{2}",100,0.,15.,"#Chi^{2}","Events","ELE_LOGY E1 P");
  h1_ele_chi2_barrel = bookH1withSumw2("chi2_barrel","ele track #chi^{2}, barrel",100,0.,15.,"#Chi^{2}","Events","ELE_LOGY E1 P");
  h1_ele_chi2_endcaps = bookH1withSumw2("chi2_endcaps","ele track #chi^{2}, endcaps",100,0.,15.,"#Chi^{2}","Events","ELE_LOGY E1 P");
  h2_ele_chi2VsEta = bookH2("chi2VsEta","ele track #chi^{2} vs eta",eta2D_nbin,eta_min,eta_max,50,0.,15.);
  h2_ele_chi2VsPhi = bookH2("chi2VsPhi","ele track #chi^{2} vs phi",phi2D_nbin,phi_min,phi_max,50,0.,15.);
  h2_ele_chi2VsPt = bookH2("chi2VsPt","ele track #chi^{2} vs pt",pt2D_nbin,0.,pt_max,50,0.,15.);
  h1_ele_PinMnPout = bookH1withSumw2("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("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("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("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("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("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("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("outerP","ele track outer p, mean of GSF components",p_nbin,0.,p_max,"P_{out} (GeV/c)");
  h1_ele_outerP_mode = bookH1withSumw2("outerP_mode","ele track outer p, mode of GSF components",p_nbin,0.,p_max,"P_{out} (GeV/c)");
  h2_ele_outerPVsEta_mode = bookH2("outerPVsEta_mode","ele track outer p vs eta mode",eta2D_nbin,eta_min,eta_max,50,0.,p_max);
  h1_ele_outerPt = bookH1withSumw2("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("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("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("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("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("EoP","ele E/P_{vertex}",eop_nbin,0.,eop_max,"E/P_{vertex}","Events","ELE_LOGY E1 P");
  h1_ele_EoP_eg = bookH1withSumw2("EoP_eg","ele E/P_{vertex}, ecal driven",eop_nbin,0.,eop_max,"E/P_{vertex}","Events","ELE_LOGY E1 P");
  h1_ele_EoP_barrel = bookH1withSumw2("EoP_barrel","ele E/P_{vertex} barrel",eop_nbin,0.,eop_max,"E/P_{vertex}","Events","ELE_LOGY E1 P");
  h1_ele_EoP_eg_barrel = bookH1withSumw2("EoP_eg_barrel","ele E/P_{vertex}, ecal driven barrel",eop_nbin,0.,eop_max,"E/P_{vertex}","Events","ELE_LOGY E1 P");
  h1_ele_EoP_endcaps = bookH1withSumw2("EoP_endcaps","ele E/P_{vertex} endcaps",eop_nbin,0.,eop_max,"E/P_{vertex}","Events","ELE_LOGY E1 P");
  h1_ele_EoP_eg_endcaps = bookH1withSumw2("EoP_eg_endcaps","ele E/P_{vertex}, ecal driven endcaps",eop_nbin,0.,eop_max,"E/P_{vertex}","Events","ELE_LOGY E1 P");
  h2_ele_EoPVsEta = bookH2("EoPVsEta","ele E/P_{vertex} vs eta",eta2D_nbin,eta_min,eta_max,eop2D_nbin,0.,eopmaxsht);
  h2_ele_EoPVsPhi = bookH2("EoPVsPhi","ele E/P_{vertex} vs phi",phi2D_nbin,phi_min,phi_max,eop2D_nbin,0.,eopmaxsht);
  h2_ele_EoPVsE = bookH2("EoPVsE","ele E/P_{vertex} vs E",  50,0.,p_max ,50,0.,5.);
  h1_ele_EseedOP = bookH1withSumw2("EseedOP","ele E_{seed}/P_{vertex}",eop_nbin,0.,eop_max,"E_{seed}/P_{vertex}","Events","ELE_LOGY E1 P");
  h1_ele_EseedOP_eg = bookH1withSumw2("EseedOP_eg","ele E_{seed}/P_{vertex}, ecal driven",eop_nbin,0.,eop_max,"E_{seed}/P_{vertex}","Events","ELE_LOGY E1 P");
  h1_ele_EseedOP_barrel = bookH1withSumw2("EseedOP_barrel","ele E_{seed}/P_{vertex} barrel",eop_nbin,0.,eop_max,"E_{seed}/P_{vertex}","Events","ELE_LOGY E1 P");
  h1_ele_EseedOP_eg_barrel = bookH1withSumw2("EseedOP_eg_barrel","ele E_{seed}/P_{vertex}, ecal driven barrel",eop_nbin,0.,eop_max,"E_{seed}/P_{vertex}","Events","ELE_LOGY E1 P");
  h1_ele_EseedOP_endcaps = bookH1withSumw2("EseedOP_endcaps","ele E_{seed}/P_{vertex} endcaps",eop_nbin,0.,eop_max,"E_{seed}/P_{vertex}","Events","ELE_LOGY E1 P");
  h1_ele_EseedOP_eg_endcaps = bookH1withSumw2("EseedOP_eg_endcaps","ele E_{seed}/P_{vertex}, ecal driven, endcaps",eop_nbin,0.,eop_max,"E_{seed}/P_{vertex}","Events","ELE_LOGY E1 P");
  h2_ele_EseedOPVsEta = bookH2("EseedOPVsEta","ele E_{seed}/P_{vertex} vs eta",eta2D_nbin,eta_min,eta_max,eop2D_nbin,0.,eopmaxsht);
  h2_ele_EseedOPVsPhi = bookH2("EseedOPVsPhi","ele E_{seed}/P_{vertex} vs phi",phi2D_nbin,phi_min,phi_max,eop2D_nbin,0.,eopmaxsht);
  h2_ele_EseedOPVsE = bookH2("EseedOPVsE","ele E_{seed}/P_{vertex} vs E",  50,0.,p_max ,50,0.,5.);
  h1_ele_EoPout = bookH1withSumw2("EoPout","ele E_{seed}/P_{out}",eop_nbin,0.,eop_max,"E_{seed}/P_{out}","Events","ELE_LOGY E1 P");
  h1_ele_EoPout_eg = bookH1withSumw2("EoPout_eg","ele E_{seed}/P_{out}, ecal driven",eop_nbin,0.,eop_max,"E_{seed}/P_{out}","Events","ELE_LOGY E1 P");
  h1_ele_EoPout_barrel = bookH1withSumw2("EoPout_barrel","ele E_{seed}/P_{out} barrel",eop_nbin,0.,eop_max,"E_{seed}/P_{out}","Events","ELE_LOGY E1 P");
  h1_ele_EoPout_eg_barrel = bookH1withSumw2("EoPout_eg_barrel","ele E_{seed}/P_{out}, ecal driven, barrel",eop_nbin,0.,eop_max,"E_{seed}/P_{out}","Events","ELE_LOGY E1 P");
  h1_ele_EoPout_endcaps = bookH1withSumw2("EoPout_endcaps","ele E_{seed}/P_{out} endcaps",eop_nbin,0.,eop_max,"E_{seed}/P_{out}","Events","ELE_LOGY E1 P");
  h1_ele_EoPout_eg_endcaps = bookH1withSumw2("EoPout_eg_endcaps","ele E_{seed}/P_{out}, ecal driven, endcaps",eop_nbin,0.,eop_max,"E_{seed}/P_{out}","Events","ELE_LOGY E1 P");
  h2_ele_EoPoutVsEta = bookH2("EoPoutVsEta","ele E_{seed}/P_{out} vs eta",eta2D_nbin,eta_min,eta_max,eop2D_nbin,0.,eopmaxsht);
  h2_ele_EoPoutVsPhi = bookH2("EoPoutVsPhi","ele E_{seed}/P_{out} vs phi",phi2D_nbin,phi_min,phi_max,eop2D_nbin,0.,eopmaxsht);
  h2_ele_EoPoutVsE = bookH2("EoPoutVsE","ele E_{seed}/P_{out} vs E",p2D_nbin,0.,p_max,eop2D_nbin,0.,eopmaxsht);
  h1_ele_EeleOPout = bookH1withSumw2("EeleOPout","ele E_{ele}/P_{out}",eop_nbin,0.,eop_max,"E_{ele}/P_{out}","Events","ELE_LOGY E1 P");
  h1_ele_EeleOPout_eg = bookH1withSumw2("EeleOPout_eg","ele E_{ele}/P_{out}, ecal driven",eop_nbin,0.,eop_max,"E_{ele}/P_{out}","Events","ELE_LOGY E1 P");
  h1_ele_EeleOPout_barrel = bookH1withSumw2("EeleOPout_barrel","ele E_{ele}/P_{out} barrel",eop_nbin,0.,eop_max,"E_{ele}/P_{out}","Events","ELE_LOGY E1 P");
  h1_ele_EeleOPout_eg_barrel = bookH1withSumw2("EeleOPout_eg_barrel","ele E_{ele}/P_{out}, ecal driven, barrel",eop_nbin,0.,eop_max,"E_{ele}/P_{out}","Events","ELE_LOGY E1 P");
  h1_ele_EeleOPout_endcaps = bookH1withSumw2("EeleOPout_endcaps","ele E_{ele}/P_{out} endcaps",eop_nbin,0.,eop_max,"E_{ele}/P_{out}","Events","ELE_LOGY E1 P");
  h1_ele_EeleOPout_eg_endcaps = bookH1withSumw2("EeleOPout_eg_endcaps","ele E_{ele}/P_{out}, ecal driven, endcaps",eop_nbin,0.,eop_max,"E_{ele}/P_{out}","Events","ELE_LOGY E1 P");
  h2_ele_EeleOPoutVsEta = bookH2("EeleOPoutVsEta","ele E_{ele}/P_{out} vs eta",eta2D_nbin,eta_min,eta_max,eop2D_nbin,0.,eopmaxsht);
  h2_ele_EeleOPoutVsPhi = bookH2("EeleOPoutVsPhi","ele E_{ele}/P_{out} vs phi",phi2D_nbin,phi_min,phi_max,eop2D_nbin,0.,eopmaxsht);
  h2_ele_EeleOPoutVsE = bookH2("EeleOPoutVsE","ele E_{ele}/P_{out} vs E",p2D_nbin,0.,p_max,eop2D_nbin,0.,eopmaxsht);
  h1_ele_dEtaSc_propVtx = bookH1withSumw2("dEtaSc_propVtx","ele #eta_{sc} - #eta_{tr}, prop from vertex",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{sc} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h1_ele_dEtaSc_propVtx_eg = bookH1withSumw2("dEtaSc_propVtx_eg","ele #eta_{sc} - #eta_{tr}, prop from vertex, ecal driven",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{sc} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h1_ele_dEtaSc_propVtx_barrel = bookH1withSumw2("dEtaSc_propVtx_barrel","ele #eta_{sc} - #eta_{tr}, prop from vertex, barrel",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{sc} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h1_ele_dEtaSc_propVtx_eg_barrel = bookH1withSumw2("dEtaSc_propVtx_eg_barrel","ele #eta_{sc} - #eta_{tr}, prop from vertex, ecal driven, barrel",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{sc} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h1_ele_dEtaSc_propVtx_endcaps = bookH1withSumw2("dEtaSc_propVtx_endcaps","ele #eta_{sc} - #eta_{tr}, prop from vertex, endcaps",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{sc} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h1_ele_dEtaSc_propVtx_eg_endcaps = bookH1withSumw2("dEtaSc_propVtx_eg_endcaps","ele #eta_{sc} - #eta_{tr}, prop from vertex, ecal driven, endcaps",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{sc} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h2_ele_dEtaScVsEta_propVtx = bookH2("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("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("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("dPhiSc_propVtx","ele #phi_{sc} - #phi_{tr}, prop from vertex",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{sc} - #phi_{tr} (rad)","Events","ELE_LOGY E1 P");
  h1_ele_dPhiSc_propVtx_eg = bookH1withSumw2("dPhiSc_propVtx_eg","ele #phi_{sc} - #phi_{tr}, prop from vertex, ecal driven",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{sc} - #phi_{tr} (rad)","Events","ELE_LOGY E1 P");
  h1_ele_dPhiSc_propVtx_barrel = bookH1withSumw2("dPhiSc_propVtx_barrel","ele #phi_{sc} - #phi_{tr}, prop from vertex, barrel",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{sc} - #phi_{tr} (rad)","Events","ELE_LOGY E1 P");
  h1_ele_dPhiSc_propVtx_eg_barrel = bookH1withSumw2("dPhiSc_propVtx_eg_barrel","ele #phi_{sc} - #phi_{tr}, prop from vertex, ecal driven, barrel",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{sc} - #phi_{tr} (rad)","Events","ELE_LOGY E1 P");
  h1_ele_dPhiSc_propVtx_endcaps = bookH1withSumw2("dPhiSc_propVtx_endcaps","ele #phi_{sc} - #phi_{tr}, prop from vertex, endcaps",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{sc} - #phi_{tr} (rad)","Events","ELE_LOGY E1 P");
  h1_ele_dPhiSc_propVtx_eg_endcaps = bookH1withSumw2("dPhiSc_propVtx_eg_endcaps","ele #phi_{sc} - #phi_{tr}, prop from vertex, ecal driven, endcaps",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{sc} - #phi_{tr} (rad)","Events","ELE_LOGY E1 P");
  h2_ele_dPhiScVsEta_propVtx = bookH2("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("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("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("dEtaCl_propOut","ele #eta_{cl} - #eta_{tr}, prop from outermost",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{seedcl} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h1_ele_dEtaCl_propOut_eg = bookH1withSumw2("dEtaCl_propOut_eg","ele #eta_{cl} - #eta_{tr}, prop from outermost, ecal driven",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{seedcl} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h1_ele_dEtaCl_propOut_barrel = bookH1withSumw2("dEtaCl_propOut_barrel","ele #eta_{cl} - #eta_{tr}, prop from outermost, barrel",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{seedcl} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h1_ele_dEtaCl_propOut_eg_barrel = bookH1withSumw2("dEtaCl_propOut_eg_barrel","ele #eta_{cl} - #eta_{tr}, prop from outermost, ecal driven, barrel",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{seedcl} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h1_ele_dEtaCl_propOut_endcaps = bookH1withSumw2("dEtaCl_propOut_endcaps","ele #eta_{cl} - #eta_{tr}, prop from outermost, endcaps",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{seedcl} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h1_ele_dEtaCl_propOut_eg_endcaps = bookH1withSumw2("dEtaCl_propOut_eg_endcaps","ele #eta_{cl} - #eta_{tr}, prop from outermost, ecal driven, endcaps",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{seedcl} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h2_ele_dEtaClVsEta_propOut = bookH2("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("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("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("dPhiCl_propOut","ele #phi_{cl} - #phi_{tr}, prop from outermost",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{seedcl} - #phi_{tr} (rad)","Events","ELE_LOGY E1 P");
  h1_ele_dPhiCl_propOut_eg = bookH1withSumw2("dPhiCl_propOut_eg","ele #phi_{cl} - #phi_{tr}, prop from outermost, ecal driven",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{seedcl} - #phi_{tr} (rad)","Events","ELE_LOGY E1 P");
  h1_ele_dPhiCl_propOut_barrel = bookH1withSumw2("dPhiCl_propOut_barrel","ele #phi_{cl} - #phi_{tr}, prop from outermost, barrel",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{seedcl} - #phi_{tr} (rad)","Events","ELE_LOGY E1 P");
  h1_ele_dPhiCl_propOut_eg_barrel = bookH1withSumw2("dPhiCl_propOut_eg_barrel","ele #phi_{cl} - #phi_{tr}, prop from outermost, ecal driven, barrel",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{seedcl} - #phi_{tr} (rad)","Events","ELE_LOGY E1 P");
  h1_ele_dPhiCl_propOut_endcaps = bookH1withSumw2("dPhiCl_propOut_endcaps","ele #phi_{cl} - #phi_{tr}, prop from outermost, endcaps",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{seedcl} - #phi_{tr} (rad)","Events","ELE_LOGY E1 P");
  h1_ele_dPhiCl_propOut_eg_endcaps = bookH1withSumw2("dPhiCl_propOut_eg_endcaps","ele #phi_{cl} - #phi_{tr}, prop from outermost, ecal driven, endcaps",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{seedcl} - #phi_{tr} (rad)","Events","ELE_LOGY E1 P");
  h2_ele_dPhiClVsEta_propOut = bookH2("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("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("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("dEtaEleCl_propOut","ele #eta_{EleCl} - #eta_{tr}, prop from outermost",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{elecl} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h1_ele_dEtaEleCl_propOut_eg = bookH1withSumw2("dEtaEleCl_propOut_eg","ele #eta_{EleCl} - #eta_{tr}, prop from outermost, ecal driven",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{elecl} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h1_ele_dEtaEleCl_propOut_barrel = bookH1withSumw2("dEtaEleCl_propOut_barrel","ele #eta_{EleCl} - #eta_{tr}, prop from outermost, barrel",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{elecl} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h1_ele_dEtaEleCl_propOut_eg_barrel = bookH1withSumw2("dEtaEleCl_propOut_eg_barrel","ele #eta_{EleCl} - #eta_{tr}, prop from outermost, ecal driven, barrel",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{elecl} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h1_ele_dEtaEleCl_propOut_endcaps = bookH1withSumw2("dEtaEleCl_propOut_endcaps","ele #eta_{EleCl} - #eta_{tr}, prop from outermost, endcaps",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{elecl} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h1_ele_dEtaEleCl_propOut_eg_endcaps = bookH1withSumw2("dEtaEleCl_propOut_eg_endcaps","ele #eta_{EleCl} - #eta_{tr}, prop from outermost, ecal driven, endcaps",detamatch_nbin,detamatch_min,detamatch_max,"#eta_{elecl} - #eta_{tr}","Events","ELE_LOGY E1 P");
  h2_ele_dEtaEleClVsEta_propOut = bookH2("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("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("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("dPhiEleCl_propOut","ele #phi_{EleCl} - #phi_{tr}, prop from outermost",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{elecl} - #phi_{tr} (rad)","Events","ELE_LOGY E1 P");
  h1_ele_dPhiEleCl_propOut_eg = bookH1withSumw2("dPhiEleCl_propOut_eg","ele #phi_{EleCl} - #phi_{tr}, prop from outermost, ecal driven",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{elecl} - #phi_{tr} (rad)","Events","ELE_LOGY E1 P");
  h1_ele_dPhiEleCl_propOut_barrel = bookH1withSumw2("dPhiEleCl_propOut_barrel","ele #phi_{EleCl} - #phi_{tr}, prop from outermost, barrel",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{elecl} - #phi_{tr} (rad)","Events","ELE_LOGY E1 P");
  h1_ele_dPhiEleCl_propOut_eg_barrel = bookH1withSumw2("dPhiEleCl_propOut_eg_barrel","ele #phi_{EleCl} - #phi_{tr}, prop from outermost, ecal driven, barrel",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{elecl} - #phi_{tr} (rad)","Events","ELE_LOGY E1 P");
  h1_ele_dPhiEleCl_propOut_endcaps = bookH1withSumw2("dPhiEleCl_propOut_endcaps","ele #phi_{EleCl} - #phi_{tr}, prop from outermost, endcaps",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{elecl} - #phi_{tr} (rad)","Events","ELE_LOGY E1 P");
  h1_ele_dPhiEleCl_propOut_eg_endcaps = bookH1withSumw2("dPhiEleCl_propOut_eg_endcaps","ele #phi_{EleCl} - #phi_{tr}, prop from outermost, ecal driven, endcaps",dphimatch_nbin,dphimatch_min,dphimatch_max,"#phi_{elecl} - #phi_{tr} (rad)","Events","ELE_LOGY E1 P");
  h2_ele_dPhiEleClVsEta_propOut = bookH2("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("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("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("HoE","ele hadronic energy / em energy",hoe_nbin, hoe_min, hoe_max,"H/E","Events","ELE_LOGY E1 P") ;
  h1_ele_HoE_bc = bookH1withSumw2("HoE_bc","ele hadronic energy / em energy behind cluster",hoe_nbin, hoe_min, hoe_max,"H/E","Events","ELE_LOGY E1 P") ;
  h1_ele_HoE_eg = bookH1withSumw2("HoE_eg","ele hadronic energy / em energy, ecal driven",hoe_nbin, hoe_min, hoe_max,"H/E","Events","ELE_LOGY E1 P") ;
  h1_ele_HoE_barrel = bookH1withSumw2("HoE_barrel","ele hadronic energy / em energy, barrel",hoe_nbin, hoe_min, hoe_max,"H/E","Events","ELE_LOGY E1 P") ;
  h1_ele_HoE_bc_barrel = bookH1withSumw2("HoE_bc_barrel","ele hadronic energy / em energy, behind cluster barrel",hoe_nbin, hoe_min, hoe_max,"H/E","Events","ELE_LOGY E1 P") ;
  h1_ele_HoE_eg_barrel = bookH1withSumw2("HoE_eg_barrel","ele hadronic energy / em energy, ecal driven, barrel",hoe_nbin, hoe_min, hoe_max,"H/E","Events","ELE_LOGY E1 P") ;
  h1_ele_HoE_endcaps = bookH1withSumw2("HoE_endcaps","ele hadronic energy / em energy, endcaps",hoe_nbin, hoe_min, hoe_max,"H/E","Events","ELE_LOGY E1 P") ;
  h1_ele_HoE_bc_endcaps = bookH1withSumw2("HoE_bc_endcaps","ele hadronic energy / em energy, behind cluster, endcaps",hoe_nbin, hoe_min, hoe_max,"H/E","Events","ELE_LOGY E1 P") ;
  h1_ele_HoE_eg_endcaps = bookH1withSumw2("HoE_eg_endcaps","ele hadronic energy / em energy, ecal driven, endcaps",hoe_nbin, hoe_min, hoe_max,"H/E","Events","ELE_LOGY E1 P") ;
  h1_ele_hcalDepth1OverEcalBc = bookH1withSumw2("hcalDepth1OverEcalBc","hcalDepth1OverEcalBc",hoe_nbin, hoe_min, hoe_max,"H/E","Events","ELE_LOGY E1 P");
  h1_ele_hcalDepth1OverEcalBc_barrel = bookH1withSumw2("hcalDepth1OverEcalBc_barrel","hcalDepth1OverEcalBc_barrel",hoe_nbin, hoe_min, hoe_max,"H/E","Events","ELE_LOGY E1 P");
  h1_ele_hcalDepth1OverEcalBc_endcaps = bookH1withSumw2("hcalDepth1OverEcalBc_endcaps","hcalDepth1OverEcalBc_endcaps",hoe_nbin, hoe_min, hoe_max,"H/E","Events","ELE_LOGY E1 P");
  h1_ele_hcalDepth2OverEcalBc = bookH1withSumw2("hcalDepth2OverEcalBc","hcalDepth2OverEcalBc",hoe_nbin, hoe_min, hoe_max,"H/E","Events","ELE_LOGY E1 P");
  h1_ele_hcalDepth2OverEcalBc_barrel = bookH1withSumw2("hcalDepth2OverEcalBc_barrel","hcalDepth2OverEcalBc_barrel",hoe_nbin, hoe_min, hoe_max,"H/E","Events","ELE_LOGY E1 P");
  h1_ele_hcalDepth2OverEcalBc_endcaps = bookH1withSumw2("hcalDepth2OverEcalBc_endcaps","hcalDepth2OverEcalBc_endcaps",hoe_nbin, hoe_min, hoe_max,"H/E","Events","ELE_LOGY E1 P");

  h1_ele_HoE_fiducial = bookH1withSumw2("HoE_fiducial","ele hadronic energy / em energy, fiducial region",hoe_nbin, hoe_min, hoe_max,"H/E","Events","ELE_LOGY E1 P") ;
  h2_ele_HoEVsEta = bookH2("HoEVsEta","ele hadronic energy / em energy vs eta",eta_nbin,eta_min,eta_max,hoe_nbin, hoe_min, hoe_max) ;
  h2_ele_HoEVsPhi = bookH2("HoEVsPhi","ele hadronic energy / em energy vs phi",phi2D_nbin,phi_min,phi_max,hoe_nbin, hoe_min, hoe_max) ;
  h2_ele_HoEVsE = bookH2("HoEVsE","ele hadronic energy / em energy vs E",p_nbin, 0.,300.,hoe_nbin, hoe_min, hoe_max) ;

  // seeds
  h1_ele_seed_subdet2 = bookH1withSumw2("seedSubdet2","ele seed subdet 2nd layer",11,-0.5,10.5,"2nd hit subdet Id") ;
  h1_ele_seed_mask = bookH1withSumw2("seedMask","ele seed hits mask",13,-0.5,12.5) ;
  h1_ele_seed_mask_bpix = bookH1withSumw2("seedMask_Bpix","ele seed hits mask when subdet2 is bpix",13,-0.5,12.5) ;
  h1_ele_seed_mask_fpix = bookH1withSumw2("seedMask_Fpix","ele seed hits mask when subdet2 is fpix",13,-0.5,12.5) ;
  h1_ele_seed_mask_tec = bookH1withSumw2("seedMask_Tec","ele seed hits mask when subdet2 is tec",13,-0.5,12.5) ;
  h1_ele_seed_dphi2 = bookH1withSumw2("seedDphi2","ele seed dphi 2nd layer", 50,-0.010,+0.010,"#phi_{hit}-#phi_{pred} (rad)") ;
  h2_ele_seed_dphi2VsEta = bookH2("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("seedDphi2_VsPt","ele seed dphi 2nd layer vs pt",pt2D_nbin,0.,pt_max,50,-0.003,+0.003) ;
  h1_ele_seed_dphi2pos = bookH1withSumw2("seedDphi2Pos","ele seed dphi 2nd layer positron", 50,-0.010,+0.010,"#phi_{hit}-#phi_{pred} (rad)") ;
  h2_ele_seed_dphi2posVsEta = bookH2("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("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("seedDrz2","ele seed dr (dz) 2nd layer", 50,-0.03,+0.03,"r(z)_{hit}-r(z)_{pred} (cm)") ;
  h2_ele_seed_drz2VsEta = bookH2("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("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("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("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("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("classes","ele classes",20,0.0,20.,"class Id");
  h1_ele_eta = bookH1withSumw2("eta","ele electron eta",eta_nbin/2,0.0,eta_max);
  h1_ele_eta_golden = bookH1withSumw2("eta_golden","ele electron eta golden",eta_nbin/2,0.0,eta_max);
  h1_ele_eta_bbrem = bookH1withSumw2("eta_bbrem","ele electron eta bbrem",eta_nbin/2,0.0,eta_max);
  h1_ele_eta_shower = bookH1withSumw2("eta_shower","ele electron eta showering",eta_nbin/2,0.0,eta_max);
  h2_ele_PinVsPoutGolden_mode = bookH2("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("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("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("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("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("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("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("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);
  setBookPrefix("h_scl") ;
  h1_scl_EoEtrueGolden_barrel = bookH1withSumw2("EoEtrue_golden_barrel","ele supercluster energy / gen energy, golden, barrel",poptrue_nbin,poptrue_min,poptrue_max);
  h1_scl_EoEtrueGolden_endcaps = bookH1withSumw2("EoEtrue_golden_endcaps","ele supercluster energy / gen energy, golden, endcaps",poptrue_nbin,poptrue_min,poptrue_max);
  h1_scl_EoEtrueShowering_barrel = bookH1withSumw2("EoEtrue_showering_barrel","ele supercluster energy / gen energy, showering, barrel",poptrue_nbin,poptrue_min,poptrue_max);
  h1_scl_EoEtrueShowering_endcaps = bookH1withSumw2("EoEtrue_showering_endcaps","ele supercluster energy / gen energy, showering, endcaps",poptrue_nbin,poptrue_min,poptrue_max);

  // isolation
  setBookPrefix("h_ele") ;
  h1_ele_tkSumPt_dr03 = bookH1withSumw2("tkSumPt_dr03","tk isolation sum, dR=0.3",100,0.0,20.,"TkIsoSum, cone 0.3 (GeV/c)","Events","ELE_LOGY E1 P");
  h1_ele_tkSumPt_dr03_barrel = bookH1withSumw2("tkSumPt_dr03_barrel","tk isolation sum, dR=0.3, barrel",100,0.0,20.,"TkIsoSum, cone 0.3 (GeV/c)","Events","ELE_LOGY E1 P");
  h1_ele_tkSumPt_dr03_endcaps = bookH1withSumw2("tkSumPt_dr03_endcaps","tk isolation sum, dR=0.3, endcaps",100,0.0,20.,"TkIsoSum, cone 0.3 (GeV/c)","Events","ELE_LOGY E1 P");
  h1_ele_ecalRecHitSumEt_dr03 = bookH1withSumw2("ecalRecHitSumEt_dr03","ecal isolation sum, dR=0.3",100,0.0,20.,"EcalIsoSum, cone 0.3 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_ecalRecHitSumEt_dr03_barrel = bookH1withSumw2("ecalRecHitSumEt_dr03_barrel","ecal isolation sum, dR=0.3, barrel",100,0.0,20.,"EcalIsoSum, cone 0.3 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_ecalRecHitSumEt_dr03_endcaps = bookH1withSumw2("ecalRecHitSumEt_dr03_endcaps","ecal isolation sum, dR=0.3, endcaps",100,0.0,20.,"EcalIsoSum, cone 0.3 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_hcalTowerSumEt_dr03_depth1 = bookH1withSumw2("hcalTowerSumEt_dr03_depth1","hcal depth1 isolation sum, dR=0.3",100,0.0,20.,"Hcal1IsoSum, cone 0.3 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_hcalTowerSumEt_dr03_depth1_barrel = bookH1withSumw2("hcalTowerSumEt_dr03_depth1_barrel","hcal depth1 isolation sum, dR=0.3, barrel",100,0.0,20.,"Hcal1IsoSum, cone 0.3 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_hcalTowerSumEt_dr03_depth1_endcaps = bookH1withSumw2("hcalTowerSumEt_dr03_depth1_endcaps","hcal depth1 isolation sum, dR=0.3, endcaps",100,0.0,20.,"Hcal1IsoSum, cone 0.3 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_hcalTowerSumEt_dr03_depth2 = bookH1withSumw2("hcalTowerSumEt_dr03_depth2","hcal depth2 isolation sum, dR=0.3",100,0.0,20.,"Hcal2IsoSum, cone 0.3 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_hcalTowerSumEt_dr03_depth2_barrel = bookH1withSumw2("hcalTowerSumEt_dr03_depth2_barrel","hcal depth2 isolation sum, dR=0.3",100,0.0,20.,"Hcal2IsoSum, cone 0.3 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_hcalTowerSumEt_dr03_depth2_endcaps = bookH1withSumw2("hcalTowerSumEt_dr03_depth2_endcaps","hcal depth2 isolation sum, dR=0.3",100,0.0,20.,"Hcal2IsoSum, cone 0.3 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_tkSumPt_dr04 = bookH1withSumw2("tkSumPt_dr04","tk isolation sum, dR=0.4",100,0.0,20.,"TkIsoSum, cone 0.4 (GeV/c)","Events","ELE_LOGY E1 P");
  h1_ele_tkSumPt_dr04_barrel = bookH1withSumw2("tkSumPt_dr04_barrel","tk isolation sum, dR=0.4, barrel",100,0.0,20.,"TkIsoSum, cone 0.4 (GeV/c)","Events","ELE_LOGY E1 P");
  h1_ele_tkSumPt_dr04_endcaps = bookH1withSumw2("tkSumPt_dr04_endcaps","tk isolation sum, dR=0.4, endcaps",100,0.0,20.,"TkIsoSum, cone 0.4 (GeV/c)","Events","ELE_LOGY E1 P");
  h1_ele_ecalRecHitSumEt_dr04 = bookH1withSumw2("ecalRecHitSumEt_dr04","ecal isolation sum, dR=0.4",100,0.0,20.,"EcalIsoSum, cone 0.4 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_ecalRecHitSumEt_dr04_barrel = bookH1withSumw2("ecalRecHitSumEt_dr04_barrel","ecal isolation sum, dR=0.4, barrel",100,0.0,20.,"EcalIsoSum, cone 0.4 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_ecalRecHitSumEt_dr04_endcaps = bookH1withSumw2("ecalRecHitSumEt_dr04_endcaps","ecal isolation sum, dR=0.4, endcaps",100,0.0,20.,"EcalIsoSum, cone 0.4 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_hcalTowerSumEt_dr04_depth1 = bookH1withSumw2("hcalTowerSumEt_dr04_depth1","hcal depth1 isolation sum, dR=0.4",100,0.0,20.,"Hcal1IsoSum, cone 0.4 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_hcalTowerSumEt_dr04_depth1_barrel = bookH1withSumw2("hcalTowerSumEt_dr04_depth1_barrel","hcal depth1 isolation sum, dR=0.4, barrel",100,0.0,20.,"Hcal1IsoSum, cone 0.4 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_hcalTowerSumEt_dr04_depth1_endcaps = bookH1withSumw2("hcalTowerSumEt_dr04_depth1_endcaps","hcal depth1 isolation sum, dR=0.4, endcaps",100,0.0,20.,"Hcal1IsoSum, cone 0.4 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_hcalTowerSumEt_dr04_depth2 = bookH1withSumw2("hcalTowerSumEt_dr04_depth2","hcal depth2 isolation sum, dR=0.4",100,0.0,20.,"Hcal2IsoSum, cone 0.4 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_hcalTowerSumEt_dr04_depth2_barrel = bookH1withSumw2("hcalTowerSumEt_dr04_depth2_barrel","hcal depth2 isolation sum, dR=0.4",100,0.0,20.,"Hcal2IsoSum, cone 0.4 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_hcalTowerSumEt_dr04_depth2_endcaps = bookH1withSumw2("hcalTowerSumEt_dr04_depth2_endcaps","hcal depth2 isolation sum, dR=0.4",100,0.0,20.,"Hcal2IsoSum, cone 0.4 (GeV)","Events","ELE_LOGY E1 P");

  h1_ele_dIso_tkSumPt_dr03 = bookH1withSumw2("dIso_tkSumPt_dr03","diff with iso from deposits, tk isolation sum, dR=0.3",21,-10.0,10.,"TkIsoSum diff, cone 0.3 (GeV/c)","Events","ELE_LOGY E1 P");
  h1_ele_dIso_tkSumPt_dr04 = bookH1withSumw2("dIso_tkSumPt_dr04","diff with iso from deposits, tk isolation sum, dR=0.4",21,-10.0,10.,"TkIsoSum diff, cone 0.4 (GeV/c)","Events","ELE_LOGY E1 P");
  h1_ele_dIso_ecalFullRecHitSumEt_dr03 = bookH1withSumw2("dIso_ecalFullRecHitSumEt_dr03","diff with iso from deposits, ecal isolation sum, dR=0.3",21,-10.0,10.,"EcalIsoSum diff, cone 0.3 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_dIso_ecalFullRecHitSumEt_dr04 = bookH1withSumw2("dIso_ecalFullRecHitSumEt_dr04","diff with iso from deposits, ecal isolation sum, dR=0.4",21,-10.0,10.,"EcalIsoSum diff, cone 0.4 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_dIso_ecalReducedRecHitSumEt_dr03 = bookH1withSumw2("dIso_ecalReducedRecHitSumEt_dr03","diff with iso from deposits, ecal isolation sum, dR=0.3",21,-10.0,10.,"EcalIsoSum diff, cone 0.3 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_dIso_ecalReducedRecHitSumEt_dr04 = bookH1withSumw2("dIso_ecalReducedRecHitSumEt_dr04","diff with iso from deposits, ecal isolation sum, dR=0.4",21,-10.0,10.,"EcalIsoSum diff, cone 0.4 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_dIso_hcalTowerSumEt_dr03 = bookH1withSumw2("dIso_hcalTowerSumEt_dr03","diff with iso from deposits, hcal depth1 isolation sum, dR=0.3",21,-10.0,10.,"Hcal1IsoSum diff, cone 0.3 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_dIso_hcalTowerSumEt_dr04 = bookH1withSumw2("dIso_hcalTowerSumEt_dr04","diff with iso from deposits, hcal depth1 isolation sum, dR=0.4",21,-10.0,10.,"Hcal1IsoSum diff, cone 0.4 (GeV)","Events","ELE_LOGY E1 P");

  // newHCAL
    // isolation new hcal
  h1_ele_hcalTowerSumEtBc_dr03_depth1 = bookH1withSumw2("hcalTowerSumEtBc_dr03_depth1","hcal depth1 isolation sum behind cluster, dR=0.3",100,0.0,20.,"Hcal1IsoSum, cone 0.3 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_hcalTowerSumEtBc_dr03_depth1_barrel = bookH1withSumw2("hcalTowerSumEtBc_dr03_depth1_barrel","hcal depth1 isolation sum behind cluster, dR=0.3, barrel",100,0.0,20.,"Hcal1IsoSum, cone 0.3 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_hcalTowerSumEtBc_dr03_depth1_endcaps = bookH1withSumw2("hcalTowerSumEtBc_dr03_depth1_endcaps","hcal depth1 isolation sum behind cluster, dR=0.3, endcaps",100,0.0,20.,"Hcal1IsoSum, cone 0.3 (GeV)","Events","ELE_LOGY E1 P");

  h1_ele_hcalTowerSumEtBc_dr04_depth1 = bookH1withSumw2("hcalTowerSumEtBc_dr04_depth1","hcal depth1 isolation sum behind cluster, dR=0.4",100,0.0,20.,"Hcal1IsoSum, cone 0.4 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_hcalTowerSumEtBc_dr04_depth1_barrel = bookH1withSumw2("hcalTowerSumEtBc_dr04_depth1_barrel","hcal depth1 isolation sum behind cluster, dR=0.4, barrel",100,0.0,20.,"Hcal1IsoSum, cone 0.4 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_hcalTowerSumEtBc_dr04_depth1_endcaps = bookH1withSumw2("hcalTowerSumEtBc_dr04_depth1_endcaps","hcal depth1 isolation sum behind cluster, dR=0.4, endcaps",100,0.0,20.,"Hcal1IsoSum, cone 0.4 (GeV)","Events","ELE_LOGY E1 P");

  h1_ele_hcalTowerSumEtBc_dr03_depth2 = bookH1withSumw2("hcalTowerSumEtBc_dr03_depth2","hcal depth2 isolation sum behind cluster, dR=0.3",100,0.0,20.,"Hcal1IsoSum, cone 0.3 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_hcalTowerSumEtBc_dr03_depth2_barrel = bookH1withSumw2("hcalTowerSumEtBc_dr03_depth2_barrel","hcal depth2 isolation sum behind cluster, dR=0.3, barrel",100,0.0,20.,"Hcal1IsoSum, cone 0.3 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_hcalTowerSumEtBc_dr03_depth2_endcaps = bookH1withSumw2("hcalTowerSumEtBc_dr03_depth2_endcaps","hcal depth2 isolation sum behind cluster, dR=0.3, endcaps",100,0.0,20.,"Hcal1IsoSum, cone 0.3 (GeV)","Events","ELE_LOGY E1 P");

  h1_ele_hcalTowerSumEtBc_dr04_depth2 = bookH1withSumw2("hcalTowerSumEtBc_dr04_depth2","hcal depth2 isolation sum behind cluster, dR=0.4",100,0.0,20.,"Hcal1IsoSum, cone 0.4 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_hcalTowerSumEtBc_dr04_depth2_barrel = bookH1withSumw2("hcalTowerSumEtBc_dr04_depth2_barrel","hcal depth2 isolation sum behind cluster, dR=0.4, barrel",100,0.0,20.,"Hcal1IsoSum, cone 0.4 (GeV)","Events","ELE_LOGY E1 P");
  h1_ele_hcalTowerSumEtBc_dr04_depth2_endcaps = bookH1withSumw2("hcalTowerSumEtBc_dr04_depth2_endcaps","hcal depth2 isolation sum behind cluster, dR=0.4, endcaps",100,0.0,20.,"Hcal1IsoSum, cone 0.4 (GeV)","Events","ELE_LOGY E1 P");

  // fbrem
  h1_ele_fbrem = bookH1withSumw2("fbrem","ele brem fraction, mode of GSF components",100,0.,1.,"P_{in} - P_{out} / P_{in}");
  h1_ele_fbrem_barrel = bookH1withSumw2("fbrem_barrel","ele brem fraction for barrel, mode of GSF components", 100, 0.,1.,"P_{in} - P_{out} / P_{in}");
  h1_ele_fbrem_endcaps = bookH1withSumw2("fbrem_endcaps", "ele brem franction for endcaps, mode of GSF components", 100, 0.,1.,"P_{in} - P_{out} / P_{in}");
  h1_ele_fbrem_eg = bookH1withSumw2("brem_eg","ele brem fraction, mode of GSF components, ecal driven",100,0.,1.);
  p1_ele_fbremVsEta_mode  = bookP1("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("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}>");
  h1_ele_chargeInfo = bookH1withSumw2("chargeInfo","chargeInfo",5,-2.,3.);

  // e/g et pflow electrons
  h1_ele_mva = bookH1withSumw2("mva","ele identification mva",100,-1.,1.);
  h1_ele_mva_barrel = bookH1withSumw2("mva_barrel", "ele identification mva barrel",100,-1.,1.);
  h1_ele_mva_endcaps = bookH1withSumw2("mva_endcaps", "ele identification mva endcaps",100,-1.,1.);
  h1_ele_mva_eg = bookH1withSumw2("mva_eg","ele identification mva, ecal driven",100,-1.,1.);
  h1_ele_provenance = bookH1withSumw2("provenance","ele provenance",5,-2.,3.);
  h1_ele_provenance_barrel = bookH1withSumw2("provenance_barrel","ele provenance barrel",5,-2.,3.);
  h1_ele_provenance_endcaps = bookH1withSumw2("provenance_endcaps","ele provenance endcaps",5,-2.,3.);

  // pflow isolation variables
  h1_ele_chargedHadronIso = bookH1withSumw2("chargedHadronIso","chargedHadronIso",100,0.0,20.,"chargedHadronIso","Events","ELE_LOGY E1 P");
  h1_ele_chargedHadronIso_barrel = bookH1withSumw2("chargedHadronIso_barrel","chargedHadronIso for barrel",100,0.0,20.,"chargedHadronIso_barrel","Events","ELE_LOGY E1 P");
  h1_ele_chargedHadronIso_endcaps = bookH1withSumw2("chargedHadronIso_endcaps","chargedHadronIso for endcaps",100,0.0,20.,"chargedHadronIso_endcaps","Events","ELE_LOGY E1 P");
  h1_ele_neutralHadronIso = bookH1withSumw2("neutralHadronIso","neutralHadronIso",21,0.0,20.,"neutralHadronIso","Events", "ELE_LOGY E1 P");
  h1_ele_neutralHadronIso_barrel = bookH1withSumw2("neutralHadronIso_barrel","neutralHadronIso for barrel",21,0.0,20.,"neutralHadronIso_barrel","Events","ELE_LOGY E1 P");
  h1_ele_neutralHadronIso_endcaps = bookH1withSumw2("neutralHadronIso_endcaps","neutralHadronIso for endcaps",21,0.0,20.,"neutralHadronIso_endcaps","Events","ELE_LOGY E1 P");
  h1_ele_photonIso = bookH1withSumw2("photonIso","photonIso",100,0.0,20.,"photonIso","Events","ELE_LOGY E1 P");
  h1_ele_photonIso_barrel = bookH1withSumw2("photonIso_barrel","photonIso for barrel",100,0.0,20.,"photonIso_barrel","Events","ELE_LOGY E1 P");
  h1_ele_photonIso_endcaps = bookH1withSumw2("photonIso_endcaps","photonIso for endcaps",100,0.0,20.,"photonIso_endcaps","Events","ELE_LOGY E1 P");

  // conversion rejection information
  h1_ele_convFlags = bookH1withSumw2("convFlags","conversion rejection flag",5,-1.5,3.5);
  h1_ele_convFlags_all = bookH1withSumw2("convFlags_all","conversion rejection flag, all electrons",5,-1.5,3.5);
  h1_ele_convDist = bookH1withSumw2("convDist","distance to the conversion partner",100,-15.,15.);
  h1_ele_convDist_all = bookH1withSumw2("convDist_all","distance to the conversion partner, all electrons",100,-15.,15.);
  h1_ele_convDcot = bookH1withSumw2("convDcot","difference of cot(angle) with the conversion partner",100,-CLHEP::pi/2.,CLHEP::pi/2.);
  h1_ele_convDcot_all = bookH1withSumw2("convDcot_all","difference of cot(angle) with the conversion partner, all electrons",100,-CLHEP::pi/2.,CLHEP::pi/2.);
  h1_ele_convRadius = bookH1withSumw2("convRadius","signed conversion radius",100,0.,130.);
  h1_ele_convRadius_all = bookH1withSumw2("convRadius_all","signed conversion radius, all electrons",100,0.,130.);

 }

Member Data Documentation

Definition at line 31 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 53 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 65 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 65 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 65 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 66 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 66 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 66 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 66 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 68 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 68 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 68 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 69 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 69 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 69 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 69 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 27 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 28 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 29 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 70 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 70 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 70 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 70 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 64 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 64 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 64 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 64 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 62 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 62 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 241 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 154 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 466 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 467 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 468 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 106 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 277 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 257 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 258 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 259 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 417 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 178 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 179 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 180 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 536 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 537 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 534 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 535 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 532 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 533 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 538 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 539 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 362 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 126 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 127 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 128 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 363 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 365 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 366 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 367 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 364 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 380 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 381 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 383 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 384 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 385 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 382 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 344 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 120 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 121 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 122 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 345 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 347 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 348 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 349 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 346 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 504 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 505 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 506 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 507 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 508 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 509 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 502 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 503 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 371 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 129 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 130 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 131 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 372 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 374 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 375 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 376 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 373 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 389 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 390 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 392 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 393 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 394 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 391 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 353 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 123 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 124 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 125 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 354 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 356 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 357 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 358 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 355 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 175 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 176 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 177 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 480 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 481 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 482 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 492 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 493 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 494 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 334 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 117 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 118 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 119 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 335 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 337 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 338 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 339 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 336 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 307 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 308 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 310 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 311 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 312 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 309 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 325 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 114 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 115 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 116 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 326 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 328 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 329 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 330 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 327 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 108 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 109 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 110 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 316 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 111 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 112 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 113 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 317 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 319 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 320 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 321 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 318 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 160 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 141 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 418 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 420 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 419 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 421 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 278 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 279 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 280 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 437 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 438 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 440 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 439 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 245 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 246 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 247 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 511 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 512 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 513 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 514 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 515 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 516 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 483 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 484 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 485 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 486 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 487 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 488 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 495 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 496 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 497 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 498 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 499 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 500 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 518 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 519 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 520 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 521 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 522 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 523 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 524 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 525 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 526 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 527 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 528 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 529 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 423 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 135 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 136 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 137 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 425 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 424 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 138 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 427 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 428 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 429 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 430 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 431 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 426 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 432 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 251 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 252 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 253 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 142 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 143 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 149 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 144 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 145 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 146 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 148 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 147 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 457 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 458 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 460 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 459 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 469 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 470 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 471 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 299 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 300 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 302 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 303 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 284 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 287 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 285 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 286 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 472 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 473 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 474 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 291 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 292 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 264 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 269 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 270 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 271 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 272 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 273 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 274 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 461 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 462 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 463 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and book().

Definition at line 265 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 275 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 276 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 404 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 407 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 410 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 413 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 400 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 401 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 402 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 403 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 399 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 132 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 133 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 134 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 477 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 478 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 479 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 489 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 490 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 491 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 166 of file ElectronMcSignalValidator.h.

Referenced by ElectronMcSignalValidator().

Definition at line 164 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 139 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 158 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 167 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 159 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 163 of file ElectronMcSignalValidator.h.

Referenced by ElectronMcSignalValidator().

Definition at line 140 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 171 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 168 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 169 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 170 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 78 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 79 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 87 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 95 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 102 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 86 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 94 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 101 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 88 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 90 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 97 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 104 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 89 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 96 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 103 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 91 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 98 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 105 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 77 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 82 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 81 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 84 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 83 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 216 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 217 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 231 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 232 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 233 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 218 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 219 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 220 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 234 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 235 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 236 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 221 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 222 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 223 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 237 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 238 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 239 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 224 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 182 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 183 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 185 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 187 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 192 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 194 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 196 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 197 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 188 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 189 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 198 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 184 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 190 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 186 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 193 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 199 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 195 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 200 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 191 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 452 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 453 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 454 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 455 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 201 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 205 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 206 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 210 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 211 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 225 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 226 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 227 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 212 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 213 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 214 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 228 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 229 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 230 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 215 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 242 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 243 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 244 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 155 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 156 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 157 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 260 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 261 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 262 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 368 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 369 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 370 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 386 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 387 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 388 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 350 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 351 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 352 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 377 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 378 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 379 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 395 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 396 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 397 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 359 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 360 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 361 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 151 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 152 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 342 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 340 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 341 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 333 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 331 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 332 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 315 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 313 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 314 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 324 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 322 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 323 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 281 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 282 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 283 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 248 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 249 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 250 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 435 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 433 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 434 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 254 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 255 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 256 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 304 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 305 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 306 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 301 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 288 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 289 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 290 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 297 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 296 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 293 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 294 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 295 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 446 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 444 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 447 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 445 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 266 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 267 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 268 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 450 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 448 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 451 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 449 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 408 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 409 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 405 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 406 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 414 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 415 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 411 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 412 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 165 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 161 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 162 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 172 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 173 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 174 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 92 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 99 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 208 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 204 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 202 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 203 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 72 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 72 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 72 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 37 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 38 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 39 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 40 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 41 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 42 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 35 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 36 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 63 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 63 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

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

Definition at line 54 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 55 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 52 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 51 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 47 of file ElectronMcSignalValidator.h.

float ElectronMcSignalValidator::mcEta[10] [private]

Definition at line 47 of file ElectronMcSignalValidator.h.

float ElectronMcSignalValidator::mcPhi[10] [private]

Definition at line 47 of file ElectronMcSignalValidator.h.

float ElectronMcSignalValidator::mcPt[10] [private]

Definition at line 47 of file ElectronMcSignalValidator.h.

float ElectronMcSignalValidator::mcQ[10] [private]

Definition at line 47 of file ElectronMcSignalValidator.h.

Definition at line 26 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 71 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 71 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 71 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 442 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 441 of file ElectronMcSignalValidator.h.

Referenced by analyze(), book(), and ElectronMcSignalValidator().

Definition at line 60 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 60 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 60 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 44 of file ElectronMcSignalValidator.h.

Definition at line 67 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 67 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 67 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 67 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 73 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 73 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 73 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 61 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 61 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 61 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 61 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().

Definition at line 32 of file ElectronMcSignalValidator.h.

Referenced by analyze(), and ElectronMcSignalValidator().

Definition at line 49 of file ElectronMcSignalValidator.h.

Definition at line 49 of file ElectronMcSignalValidator.h.

Definition at line 49 of file ElectronMcSignalValidator.h.

float ElectronMcSignalValidator::seedPt[10] [private]

Definition at line 49 of file ElectronMcSignalValidator.h.

float ElectronMcSignalValidator::seedQ[10] [private]

Definition at line 49 of file ElectronMcSignalValidator.h.

Definition at line 48 of file ElectronMcSignalValidator.h.

Definition at line 48 of file ElectronMcSignalValidator.h.

Definition at line 48 of file ElectronMcSignalValidator.h.

Definition at line 48 of file ElectronMcSignalValidator.h.

Definition at line 45 of file ElectronMcSignalValidator.h.

Definition at line 59 of file ElectronMcSignalValidator.h.

Referenced by book(), and ElectronMcSignalValidator().