CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ElectronMcFakeValidator Class Reference

#include <ElectronMcFakeValidator.h>

Inheritance diagram for ElectronMcFakeValidator:
ElectronDqmAnalyzerBase one::DQMEDAnalyzer< T > one::dqmimplementation::DQMBaseClass< T... >

Public Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
 ElectronMcFakeValidator (const edm::ParameterSet &conf)
 
 ~ElectronMcFakeValidator () override
 
- Public Member Functions inherited from one::DQMEDAnalyzer< T >
 DQMEDAnalyzer ()=default
 
 DQMEDAnalyzer (DQMEDAnalyzer< T... > const &)=delete
 
 DQMEDAnalyzer (DQMEDAnalyzer< T... > &&)=delete
 
 ~DQMEDAnalyzer () override=default
 

Private Attributes

edm::EDGetTokenT< reco::BeamSpotbeamSpotTag_
 
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::EDGetTokenT< reco::GsfElectronCollectionelectronCollection_
 
edm::EDGetTokenT< reco::GsfElectronCoreCollectionelectronCoreCollection_
 
edm::EDGetTokenT< reco::ElectronSeedCollectionelectronSeedCollection_
 
edm::EDGetTokenT< reco::GsfTrackCollectionelectronTrackCollection_
 
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_chargedHadronRelativeIso
 
MonitorElementh1_ele_chargedHadronRelativeIso_barrel
 
MonitorElementh1_ele_chargedHadronRelativeIso_endcaps
 
MonitorElementh1_ele_chi2
 
MonitorElementh1_ele_chi2_barrel
 
MonitorElementh1_ele_chi2_endcaps
 
MonitorElementh1_ele_classes
 
MonitorElementh1_ele_convDcot
 
MonitorElementh1_ele_convDcot_all
 
MonitorElementh1_ele_convDist
 
MonitorElementh1_ele_convDist_all
 
MonitorElementh1_ele_convFlags
 
MonitorElementh1_ele_convFlags_all
 
MonitorElementh1_ele_convRadius
 
MonitorElementh1_ele_convRadius_all
 
MonitorElementh1_ele_dEtaCl_propOut
 
MonitorElementh1_ele_dEtaCl_propOut_all
 
MonitorElementh1_ele_dEtaCl_propOut_barrel
 
MonitorElementh1_ele_dEtaCl_propOut_endcaps
 
MonitorElementh1_ele_dEtaEleCl_propOut
 
MonitorElementh1_ele_dEtaEleCl_propOut_barrel
 
MonitorElementh1_ele_dEtaEleCl_propOut_endcaps
 
MonitorElementh1_ele_dEtaSc_propVtx
 
MonitorElementh1_ele_dEtaSc_propVtx_all
 
MonitorElementh1_ele_dEtaSc_propVtx_barrel
 
MonitorElementh1_ele_dEtaSc_propVtx_endcaps
 
MonitorElementh1_ele_dPhiCl_propOut
 
MonitorElementh1_ele_dPhiCl_propOut_all
 
MonitorElementh1_ele_dPhiCl_propOut_barrel
 
MonitorElementh1_ele_dPhiCl_propOut_endcaps
 
MonitorElementh1_ele_dPhiEleCl_propOut
 
MonitorElementh1_ele_dPhiEleCl_propOut_barrel
 
MonitorElementh1_ele_dPhiEleCl_propOut_endcaps
 
MonitorElementh1_ele_dPhiSc_propVtx
 
MonitorElementh1_ele_dPhiSc_propVtx_all
 
MonitorElementh1_ele_dPhiSc_propVtx_barrel
 
MonitorElementh1_ele_dPhiSc_propVtx_endcaps
 
MonitorElementh1_ele_ecalRecHitSumEt_dr03
 
MonitorElementh1_ele_ecalRecHitSumEt_dr03_barrel
 
MonitorElementh1_ele_ecalRecHitSumEt_dr03_endcaps
 
MonitorElementh1_ele_ecalRecHitSumEt_dr04
 
MonitorElementh1_ele_ecalRecHitSumEt_dr04_barrel
 
MonitorElementh1_ele_ecalRecHitSumEt_dr04_endcaps
 
MonitorElementh1_ele_EeleOPout
 
MonitorElementh1_ele_EeleOPout_all
 
MonitorElementh1_ele_EeleOPout_barrel
 
MonitorElementh1_ele_EeleOPout_endcaps
 
MonitorElementh1_ele_EoP
 
MonitorElementh1_ele_EoP_barrel
 
MonitorElementh1_ele_EoP_endcaps
 
MonitorElementh1_ele_EoPout
 
MonitorElementh1_ele_EoPout_all
 
MonitorElementh1_ele_EoPout_barrel
 
MonitorElementh1_ele_EoPout_endcaps
 
MonitorElementh1_ele_EoverP_all
 
MonitorElementh1_ele_EseedOP
 
MonitorElementh1_ele_EseedOP_all
 
MonitorElementh1_ele_EseedOP_barrel
 
MonitorElementh1_ele_EseedOP_endcaps
 
MonitorElementh1_ele_eta
 
MonitorElementh1_ele_eta_bbrem
 
MonitorElementh1_ele_eta_golden
 
MonitorElementh1_ele_eta_narrow
 
MonitorElementh1_ele_eta_shower
 
MonitorElementh1_ele_EtaMnEtamatchingObject
 
MonitorElementh1_ele_fbrem
 
MonitorElementh1_ele_fbrem_barrel
 
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_dr04_depth1
 
MonitorElementh1_ele_hcalTowerSumEt_dr04_depth1_barrel
 
MonitorElementh1_ele_hcalTowerSumEt_dr04_depth1_endcaps
 
MonitorElementh1_ele_hcalTowerSumEt_dr04_depth2
 
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_barrel
 
MonitorElementh1_ele_HoE_bc
 
MonitorElementh1_ele_HoE_bc_all
 
MonitorElementh1_ele_HoE_bc_barrel
 
MonitorElementh1_ele_HoE_bc_endcaps
 
MonitorElementh1_ele_HoE_endcaps
 
MonitorElementh1_ele_HoE_fiducial
 
MonitorElementh1_ele_lostHits
 
MonitorElementh1_ele_lostHits_barrel
 
MonitorElementh1_ele_lostHits_endcaps
 
MonitorElementh1_ele_matchingObjectAbsEta_matched
 
MonitorElementh1_ele_matchingObjectEta_matched
 
MonitorElementh1_ele_matchingObjectPhi_matched
 
MonitorElementh1_ele_matchingObjectPt_matched
 
MonitorElementh1_ele_matchingObjectZ_matched
 
MonitorElementh1_ele_mee_all
 
MonitorElementh1_ele_mee_os
 
MonitorElementh1_ele_mva
 
MonitorElementh1_ele_mva_barrel
 
MonitorElementh1_ele_mva_barrel_isolated
 
MonitorElementh1_ele_mva_endcaps
 
MonitorElementh1_ele_mva_endcaps_isolated
 
MonitorElementh1_ele_mva_isolated
 
MonitorElementh1_ele_neutralHadronIso
 
MonitorElementh1_ele_neutralHadronIso_barrel
 
MonitorElementh1_ele_neutralHadronIso_endcaps
 
MonitorElementh1_ele_neutralHadronRelativeIso
 
MonitorElementh1_ele_neutralHadronRelativeIso_barrel
 
MonitorElementh1_ele_neutralHadronRelativeIso_endcaps
 
MonitorElementh1_ele_outerP
 
MonitorElementh1_ele_outerP_mode
 
MonitorElementh1_ele_outerPt
 
MonitorElementh1_ele_outerPt_mode
 
MonitorElementh1_ele_PhiMnPhimatchingObject
 
MonitorElementh1_ele_PhiMnPhimatchingObject2
 
MonitorElementh1_ele_photonIso
 
MonitorElementh1_ele_photonIso_barrel
 
MonitorElementh1_ele_photonIso_endcaps
 
MonitorElementh1_ele_photonRelativeIso
 
MonitorElementh1_ele_photonRelativeIso_barrel
 
MonitorElementh1_ele_photonRelativeIso_endcaps
 
MonitorElementh1_ele_PinMnPout
 
MonitorElementh1_ele_PinMnPout_mode
 
MonitorElementh1_ele_PoPmatchingObject
 
MonitorElementh1_ele_PoPmatchingObject_barrel
 
MonitorElementh1_ele_PoPmatchingObject_endcaps
 
MonitorElementh1_ele_provenance
 
MonitorElementh1_ele_provenance_barrel
 
MonitorElementh1_ele_provenance_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_superclusterfbrem
 
MonitorElementh1_ele_superclusterfbrem_barrel
 
MonitorElementh1_ele_superclusterfbrem_endcaps
 
MonitorElementh1_ele_TIP_all
 
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_all
 
MonitorElementh1_ele_vertexTIP
 
MonitorElementh1_ele_vertexX
 
MonitorElementh1_ele_vertexY
 
MonitorElementh1_ele_vertexZ
 
MonitorElementh1_matchingObjectAbsEta
 
MonitorElementh1_matchingObjectEta
 
MonitorElementh1_matchingObjectNum
 
MonitorElementh1_matchingObjectP
 
MonitorElementh1_matchingObjectPhi
 
MonitorElementh1_matchingObjectPt
 
MonitorElementh1_matchingObjectZ
 
MonitorElementh1_recCoreNum_
 
MonitorElementh1_recEleNum_
 
MonitorElementh1_recOfflineVertices_
 
MonitorElementh1_recSeedNum_
 
MonitorElementh1_recTrackNum_
 
MonitorElementh1_scl_E1x5_
 
MonitorElementh1_scl_E1x5_barrel_
 
MonitorElementh1_scl_E1x5_endcaps_
 
MonitorElementh1_scl_E2x5max_
 
MonitorElementh1_scl_E2x5max_barrel_
 
MonitorElementh1_scl_E2x5max_endcaps_
 
MonitorElementh1_scl_E5x5_
 
MonitorElementh1_scl_E5x5_barrel_
 
MonitorElementh1_scl_E5x5_endcaps_
 
MonitorElementh1_scl_En_
 
MonitorElementh1_scl_EoEmatchingObject_barrel
 
MonitorElementh1_scl_EoEmatchingObject_endcaps
 
MonitorElementh1_scl_EoEmatchingObjectGolden_barrel
 
MonitorElementh1_scl_EoEmatchingObjectGolden_endcaps
 
MonitorElementh1_scl_EoEmatchingObjectShowering_barrel
 
MonitorElementh1_scl_EoEmatchingObjectShowering_endcaps
 
MonitorElementh1_scl_ESFrac_endcaps
 
MonitorElementh1_scl_Et_
 
MonitorElementh1_scl_Eta_
 
MonitorElementh1_scl_full5x5_sigmaIetaIeta_
 
MonitorElementh1_scl_full5x5_sigmaIetaIeta_barrel_
 
MonitorElementh1_scl_full5x5_sigmaIetaIeta_endcaps_
 
MonitorElementh1_scl_Phi_
 
MonitorElementh1_scl_SigIEtaIEta_
 
MonitorElementh1_scl_SigIEtaIEta_barrel_
 
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_EtaMnEtamatchingObjectVsEta
 
MonitorElementh2_ele_EtaMnEtamatchingObjectVsPhi
 
MonitorElementh2_ele_EtaMnEtamatchingObjectVsPt
 
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_PhiMnPhimatchingObjectVsEta
 
MonitorElementh2_ele_PhiMnPhimatchingObjectVsPhi
 
MonitorElementh2_ele_PhiMnPhimatchingObjectVsPt
 
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_PoPmatchingObjectVsEta
 
MonitorElementh2_ele_PoPmatchingObjectVsPhi
 
MonitorElementh2_ele_PoPmatchingObjectVsPt
 
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_scl_EtaVsPhi_
 
MonitorElementh2_scl_EtVsEta_
 
MonitorElementh2_scl_EtVsPhi_
 
double hoe_max
 
double hoe_min
 
int hoe_nbin
 
std::string inputFile_
 
std::string inputInternalPath_
 
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsEcalFull03Tag_
 
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsEcalFull04Tag_
 
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsEcalReduced03Tag_
 
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsEcalReduced04Tag_
 
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsHcal03Tag_
 
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsHcal04Tag_
 
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsTk03Tag_
 
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsTk04Tag_
 
double lhits_max
 
int lhits_nbin
 
edm::EDGetTokenT< reco::GenJetCollectionmatchingObjectCollection_
 
double maxAbsEta_
 
double maxPt_
 
float mcEnergy [10]
 
float mcEta [10]
 
float mcPhi [10]
 
float mcPt [10]
 
float mcQ [10]
 
double mee_max
 
double mee_min
 
int mee_nbin
 
edm::EDGetTokenT< reco::VertexCollectionofflineVerticesCollection_
 
std::string outputFile_
 
std::string outputInternalPath_
 
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 popmatching_max
 
double popmatching_min
 
int popmatching_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]
 
bool set_EfficiencyFlag
 
bool set_StatOverflowFlag
 
float superclusterEnergy [10]
 
float superclusterEt [10]
 
float superclusterEta [10]
 
float superclusterPhi [10]
 
edm::ESHandle< MagneticFieldtheMagField
 
int xyz_nbin
 

Additional Inherited Members

- Protected Member Functions inherited from ElectronDqmAnalyzerBase
void analyze (const edm::Event &e, const edm::EventSetup &c) override
 
MonitorElementbookH1 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, const std::string &titleX="", const std::string &titleY="Events", Option_t *option="E1 P")
 
MonitorElementbookH1withSumw2 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, const std::string &titleX="", const std::string &titleY="Events", Option_t *option="E1 P")
 
MonitorElementbookH2 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="COLZ")
 
MonitorElementbookH2withSumw2 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="COLZ")
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
MonitorElementbookP1 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="E1 P")
 
MonitorElementcloneH1 (DQMStore::IBooker &iBooker, const std::string &name, MonitorElement *original, const std::string &title="")
 
MonitorElementcloneH1 (DQMStore::IBooker &iBooker, const std::string &name, const std::string &original, const std::string &title="")
 
 ElectronDqmAnalyzerBase (const edm::ParameterSet &conf)
 
void setBookEfficiencyFlag (const bool &)
 
void setBookIndex (short)
 
void setBookPrefix (const std::string &)
 
void setBookStatOverflowFlag (const bool &)
 
int verbosity ()
 
 ~ElectronDqmAnalyzerBase () override
 

Detailed Description

Definition at line 34 of file ElectronMcFakeValidator.h.

Constructor & Destructor Documentation

ElectronMcFakeValidator::ElectronMcFakeValidator ( const edm::ParameterSet conf)
explicit

Definition at line 45 of file ElectronMcFakeValidator.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_chi2, h1_ele_chi2_barrel, h1_ele_chi2_endcaps, h1_ele_classes, h1_ele_convDcot, h1_ele_convDcot_all, h1_ele_convDist, h1_ele_convDist_all, h1_ele_convFlags, h1_ele_convFlags_all, h1_ele_convRadius, h1_ele_convRadius_all, h1_ele_dEtaCl_propOut, h1_ele_dEtaCl_propOut_all, h1_ele_dEtaCl_propOut_barrel, h1_ele_dEtaCl_propOut_endcaps, h1_ele_dEtaEleCl_propOut, h1_ele_dEtaEleCl_propOut_barrel, h1_ele_dEtaEleCl_propOut_endcaps, h1_ele_dEtaSc_propVtx, h1_ele_dEtaSc_propVtx_all, h1_ele_dEtaSc_propVtx_barrel, h1_ele_dEtaSc_propVtx_endcaps, h1_ele_dPhiCl_propOut, h1_ele_dPhiCl_propOut_all, h1_ele_dPhiCl_propOut_barrel, h1_ele_dPhiCl_propOut_endcaps, h1_ele_dPhiEleCl_propOut, h1_ele_dPhiEleCl_propOut_barrel, h1_ele_dPhiEleCl_propOut_endcaps, h1_ele_dPhiSc_propVtx, h1_ele_dPhiSc_propVtx_all, h1_ele_dPhiSc_propVtx_barrel, h1_ele_dPhiSc_propVtx_endcaps, h1_ele_ecalRecHitSumEt_dr03, h1_ele_ecalRecHitSumEt_dr03_barrel, h1_ele_ecalRecHitSumEt_dr03_endcaps, h1_ele_ecalRecHitSumEt_dr04, h1_ele_ecalRecHitSumEt_dr04_barrel, h1_ele_ecalRecHitSumEt_dr04_endcaps, h1_ele_EeleOPout, h1_ele_EeleOPout_all, h1_ele_EeleOPout_barrel, h1_ele_EeleOPout_endcaps, h1_ele_EoP, h1_ele_EoP_barrel, h1_ele_EoP_endcaps, h1_ele_EoPout, h1_ele_EoPout_all, h1_ele_EoPout_barrel, h1_ele_EoPout_endcaps, h1_ele_EoverP_all, h1_ele_EseedOP, h1_ele_EseedOP_all, h1_ele_EseedOP_barrel, h1_ele_EseedOP_endcaps, h1_ele_eta, h1_ele_eta_bbrem, h1_ele_eta_golden, h1_ele_eta_narrow, h1_ele_eta_shower, h1_ele_EtaMnEtamatchingObject, h1_ele_fbrem, h1_ele_foundHits, h1_ele_foundHits_barrel, h1_ele_foundHits_endcaps, h1_ele_hcalTowerSumEt_dr03_depth1, h1_ele_hcalTowerSumEt_dr03_depth1_barrel, h1_ele_hcalTowerSumEt_dr03_depth1_endcaps, h1_ele_hcalTowerSumEt_dr03_depth2, h1_ele_hcalTowerSumEt_dr04_depth1, h1_ele_hcalTowerSumEt_dr04_depth1_barrel, h1_ele_hcalTowerSumEt_dr04_depth1_endcaps, h1_ele_hcalTowerSumEt_dr04_depth2, h1_ele_HoE, h1_ele_HoE_all, h1_ele_HoE_barrel, h1_ele_HoE_endcaps, h1_ele_HoE_fiducial, h1_ele_lostHits, h1_ele_lostHits_barrel, h1_ele_lostHits_endcaps, h1_ele_matchingObjectAbsEta_matched, h1_ele_matchingObjectEta_matched, h1_ele_matchingObjectPhi_matched, h1_ele_matchingObjectPt_matched, h1_ele_matchingObjectZ_matched, h1_ele_mee_all, h1_ele_mee_os, h1_ele_mva, h1_ele_mva_isolated, h1_ele_outerP, h1_ele_outerP_mode, h1_ele_outerPt, h1_ele_outerPt_mode, h1_ele_PhiMnPhimatchingObject, h1_ele_PhiMnPhimatchingObject2, h1_ele_PinMnPout, h1_ele_PinMnPout_mode, h1_ele_PoPmatchingObject, h1_ele_PoPmatchingObject_barrel, h1_ele_PoPmatchingObject_endcaps, h1_ele_provenance, 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_superclusterfbrem, h1_ele_superclusterfbrem_barrel, h1_ele_superclusterfbrem_endcaps, 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_vertexAbsEta, 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_matchingObjectAbsEta, h1_matchingObjectEta, h1_matchingObjectNum, h1_matchingObjectP, h1_matchingObjectPhi, h1_matchingObjectPt, h1_matchingObjectZ, h1_recCoreNum_, h1_recEleNum_, h1_recOfflineVertices_, h1_recSeedNum_, h1_recTrackNum_, h1_scl_E1x5_, h1_scl_E1x5_barrel_, h1_scl_E1x5_endcaps_, h1_scl_E2x5max_, h1_scl_E2x5max_barrel_, h1_scl_E2x5max_endcaps_, h1_scl_E5x5_, h1_scl_E5x5_barrel_, h1_scl_E5x5_endcaps_, h1_scl_En_, h1_scl_EoEmatchingObject_barrel, h1_scl_EoEmatchingObject_endcaps, h1_scl_EoEmatchingObjectGolden_barrel, h1_scl_EoEmatchingObjectGolden_endcaps, h1_scl_EoEmatchingObjectShowering_barrel, h1_scl_EoEmatchingObjectShowering_endcaps, h1_scl_ESFrac_endcaps, h1_scl_Et_, h1_scl_Eta_, h1_scl_full5x5_sigmaIetaIeta_, h1_scl_full5x5_sigmaIetaIeta_barrel_, h1_scl_full5x5_sigmaIetaIeta_endcaps_, h1_scl_Phi_, h1_scl_SigIEtaIEta_, h1_scl_SigIEtaIEta_barrel_, 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_EtaMnEtamatchingObjectVsEta, h2_ele_EtaMnEtamatchingObjectVsPhi, h2_ele_EtaMnEtamatchingObjectVsPt, 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_PhiMnPhimatchingObjectVsEta, h2_ele_PhiMnPhimatchingObjectVsPhi, h2_ele_PhiMnPhimatchingObjectVsPt, 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_PoPmatchingObjectVsEta, h2_ele_PoPmatchingObjectVsPhi, h2_ele_PoPmatchingObjectVsPt, 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_scl_EtaVsPhi_, h2_scl_EtVsEta_, h2_scl_EtVsPhi_, hoe_max, hoe_min, hoe_nbin, inputFile_, inputInternalPath_, isoFromDepsEcalFull03Tag_, isoFromDepsEcalFull04Tag_, isoFromDepsEcalReduced03Tag_, isoFromDepsEcalReduced04Tag_, isoFromDepsHcal03Tag_, isoFromDepsHcal04Tag_, isoFromDepsTk03Tag_, isoFromDepsTk04Tag_, lhits_max, lhits_nbin, matchingObjectCollection_, maxAbsEta_, maxPt_, mee_max, mee_min, mee_nbin, nullptr, offlineVerticesCollection_, outputFile_, outputInternalPath_, p1_ele_fbremVsEta_mean, p1_ele_fbremVsEta_mode, p2D_nbin, p_max, p_nbin, phi2D_nbin, phi_max, phi_min, phi_nbin, popmatching_max, popmatching_min, popmatching_nbin, pt2D_nbin, pt_max, pt_nbin, pteff_nbin, readAOD_, set_EfficiencyFlag, set_StatOverflowFlag, AlCaHLTBitMon_QueryRunRegistry::string, and xyz_nbin.

47  {
48  electronCollection_ = consumes<reco::GsfElectronCollection>(conf.getParameter<edm::InputTag>("electronCollection"));
49  electronCoreCollection_ = consumes<reco::GsfElectronCoreCollection>(conf.getParameter<edm::InputTag>("electronCoreCollection"));
50  electronTrackCollection_ = consumes<reco::GsfTrackCollection>(conf.getParameter<edm::InputTag>("electronTrackCollection"));
51  electronSeedCollection_ = consumes<reco::ElectronSeedCollection>(conf.getParameter<edm::InputTag>("electronSeedCollection"));
52  matchingObjectCollection_ = consumes<reco::GenJetCollection>(conf.getParameter<edm::InputTag>("matchingObjectCollection"));
53  /* new 03/02/2015 */
54  offlineVerticesCollection_ = consumes<reco::VertexCollection> (conf.getParameter<edm::InputTag>("offlinePrimaryVertices"));
55  /* fin new */
56 
57  beamSpotTag_ = consumes<reco::BeamSpot>(conf.getParameter<edm::InputTag>("beamSpot"));
58  readAOD_ = conf.getParameter<bool>("readAOD");
59 
60  isoFromDepsTk03Tag_ = consumes<edm::ValueMap<double>>(conf.getParameter<edm::InputTag>( "isoFromDepsTk03" )) ;
61  isoFromDepsTk04Tag_ = consumes<edm::ValueMap<double>>(conf.getParameter<edm::InputTag>( "isoFromDepsTk04" )) ;
62  isoFromDepsEcalFull03Tag_ = consumes<edm::ValueMap<double>>(conf.getParameter<edm::InputTag>( "isoFromDepsEcalFull03" )) ;
63  isoFromDepsEcalFull04Tag_ = consumes<edm::ValueMap<double>>(conf.getParameter<edm::InputTag>( "isoFromDepsEcalFull04" ));
64  isoFromDepsEcalReduced03Tag_ = consumes<edm::ValueMap<double>>(conf.getParameter<edm::InputTag>( "isoFromDepsEcalReduced03" )) ;
65  isoFromDepsEcalReduced04Tag_ = consumes<edm::ValueMap<double>>(conf.getParameter<edm::InputTag>( "isoFromDepsEcalReduced04" )) ;
66  isoFromDepsHcal03Tag_ = consumes<edm::ValueMap<double>>(conf.getParameter<edm::InputTag>( "isoFromDepsHcal03" )) ;
67  isoFromDepsHcal04Tag_ = consumes<edm::ValueMap<double>>(conf.getParameter<edm::InputTag>( "isoFromDepsHcal04" )) ;
68 
69  maxPt_ = conf.getParameter<double>("MaxPt");
70  maxAbsEta_ = conf.getParameter<double>("MaxAbsEta");
71  deltaR_ = conf.getParameter<double>("DeltaR");
72  inputFile_ = conf.getParameter<std::string>("InputFile") ;
73  outputFile_ = conf.getParameter<std::string>("OutputFile") ;
74  inputInternalPath_ = conf.getParameter<std::string>("InputFolderName") ;
75  outputInternalPath_ = conf.getParameter<std::string>("OutputFolderName") ;
76 
77  // histos bining and limits
78 
79  edm::ParameterSet histosSet = conf.getParameter<edm::ParameterSet>("histosCfg") ;
80 
81  xyz_nbin=histosSet.getParameter<int>("Nbinxyz");
82 
83  p_nbin=histosSet.getParameter<int>("Nbinp");
84  p2D_nbin=histosSet.getParameter<int>("Nbinp2D");
85  p_max=histosSet.getParameter<double>("Pmax");
86 
87  pt_nbin=histosSet.getParameter<int>("Nbinpt");
88  pt2D_nbin=histosSet.getParameter<int>("Nbinpt2D");
89  pteff_nbin=histosSet.getParameter<int>("Nbinpteff");
90  pt_max=histosSet.getParameter<double>("Ptmax");
91 
92  fhits_nbin=histosSet.getParameter<int>("Nbinfhits");
93  fhits_max=histosSet.getParameter<double>("Fhitsmax");
94 
95  lhits_nbin=histosSet.getParameter<int>("Nbinlhits");
96  lhits_max=histosSet.getParameter<double>("Lhitsmax");
97 
98  eop_nbin=histosSet.getParameter<int>("Nbineop");
99  eop2D_nbin=histosSet.getParameter<int>("Nbineop2D");
100  eop_max=histosSet.getParameter<double>("Eopmax");
101  eopmaxsht=histosSet.getParameter<double>("Eopmaxsht");
102 
103  eta_nbin=histosSet.getParameter<int>("Nbineta");
104  eta2D_nbin=histosSet.getParameter<int>("Nbineta2D");
105  eta_min=histosSet.getParameter<double>("Etamin");
106  eta_max=histosSet.getParameter<double>("Etamax");
107 
108  deta_nbin=histosSet.getParameter<int>("Nbindeta");
109  deta_min=histosSet.getParameter<double>("Detamin");
110  deta_max=histosSet.getParameter<double>("Detamax");
111 
112  detamatch_nbin=histosSet.getParameter<int>("Nbindetamatch");
113  detamatch2D_nbin=histosSet.getParameter<int>("Nbindetamatch2D");
114  detamatch_min=histosSet.getParameter<double>("Detamatchmin");
115  detamatch_max=histosSet.getParameter<double>("Detamatchmax");
116 
117  phi_nbin=histosSet.getParameter<int>("Nbinphi");
118  phi2D_nbin=histosSet.getParameter<int>("Nbinphi2D");
119  phi_min=histosSet.getParameter<double>("Phimin");
120  phi_max=histosSet.getParameter<double>("Phimax");
121 
122  dphi_nbin=histosSet.getParameter<int>("Nbindphi");
123  dphi_min=histosSet.getParameter<double>("Dphimin");
124  dphi_max=histosSet.getParameter<double>("Dphimax");
125 
126  dphimatch_nbin=histosSet.getParameter<int>("Nbindphimatch");
127  dphimatch2D_nbin=histosSet.getParameter<int>("Nbindphimatch2D");
128  dphimatch_min=histosSet.getParameter<double>("Dphimatchmin");
129  dphimatch_max=histosSet.getParameter<double>("Dphimatchmax");
130 
131  mee_nbin= histosSet.getParameter<int>("Nbinmee");
132  mee_min=histosSet.getParameter<double>("Meemin");
133  mee_max=histosSet.getParameter<double>("Meemax");
134 
135  hoe_nbin= histosSet.getParameter<int>("Nbinhoe");
136  hoe_min=histosSet.getParameter<double>("Hoemin");
137  hoe_max=histosSet.getParameter<double>("Hoemax");
138 
139  popmatching_nbin= histosSet.getParameter<int>("Nbinpopmatching");
140  popmatching_min=histosSet.getParameter<double>("Popmatchingmin");
141  popmatching_max=histosSet.getParameter<double>("Popmatchingmax");
142 
143  set_EfficiencyFlag=histosSet.getParameter<bool>("EfficiencyFlag");
144  set_StatOverflowFlag=histosSet.getParameter<bool>("StatOverflowFlag");
145 
146  // so to please coverity
152  h1_recOfflineVertices_ = nullptr ; // new 2015.04.02
153 
160 
175 
178 
184 
204 
211 
221 
222  h1_scl_En_ = nullptr ;
225  h1_scl_Et_ = nullptr ;
229  h1_scl_Eta_ = nullptr ;
230  h1_scl_Phi_ = nullptr ;
231 
235  h1_scl_full5x5_sigmaIetaIeta_ = nullptr ; // new 2014.01.12
236  h1_scl_full5x5_sigmaIetaIeta_barrel_ = nullptr ; // new 2014.01.12
237  h1_scl_full5x5_sigmaIetaIeta_endcaps_ = nullptr ; // new 2014.01.12
247 
264  h1_ele_chi2 = nullptr ;
270 
278 
287  h1_ele_EoP = nullptr ;
311 
348 
366 
368  h1_ele_eta = nullptr ;
373 
374  h1_ele_HoE = nullptr ;
381 // h1_scl_ESFrac = 0 ;
383 
402 
403  h1_ele_mva = nullptr ;
404  h1_ele_mva_isolated = nullptr;
406 
427 
436 
437  }
MonitorElement * h2_ele_ambiguousTracksVsPhi
MonitorElement * h1_ele_matchingObjectPt_matched
T getParameter(std::string const &) const
MonitorElement * h2_ele_foundHitsVsEta
MonitorElement * h2_ele_EtaMnEtamatchingObjectVsEta
MonitorElement * h2_ele_seed_dphi2posVsPt_
MonitorElement * h1_ele_dEtaSc_propVtx
MonitorElement * h1_ele_dEtaEleCl_propOut_barrel
MonitorElement * h1_ele_dEtaCl_propOut_endcaps
MonitorElement * h1_ele_ecalRecHitSumEt_dr04_barrel
MonitorElement * h1_scl_E2x5max_barrel_
MonitorElement * h1_ele_seed_mask_bpix_
MonitorElement * h1_scl_EoEmatchingObjectGolden_barrel
MonitorElement * h1_ele_PhiMnPhimatchingObject2
MonitorElement * h1_ele_matchingObjectAbsEta_matched
MonitorElement * h1_scl_EoEmatchingObjectGolden_endcaps
MonitorElement * h1_ele_ecalRecHitSumEt_dr03
MonitorElement * h2_ele_EtaMnEtamatchingObjectVsPt
edm::EDGetTokenT< reco::ElectronSeedCollection > electronSeedCollection_
MonitorElement * h2_ele_PoPmatchingObjectVsPhi
MonitorElement * h1_ele_ecalRecHitSumEt_dr03_barrel
MonitorElement * h1_ele_tkSumPt_dr03_endcaps
MonitorElement * h1_ele_dPhiCl_propOut_all
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsEcalReduced04Tag_
MonitorElement * h2_ele_ambiguousTracksVsPt
MonitorElement * h2_ele_PtinVsPtoutGolden_mode
MonitorElement * h1_ele_EseedOP_endcaps
MonitorElement * p1_ele_fbremVsEta_mode
MonitorElement * h1_scl_EoEmatchingObjectShowering_barrel
#define nullptr
MonitorElement * h1_matchingObjectAbsEta
MonitorElement * p1_ele_fbremVsEta_mean
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsEcalFull03Tag_
MonitorElement * h2_ele_PinVsPoutShowering_mode
MonitorElement * h1_ele_hcalTowerSumEt_dr03_depth1_barrel
edm::EDGetTokenT< reco::GenJetCollection > matchingObjectCollection_
MonitorElement * h1_ele_tkSumPt_dr03_barrel
MonitorElement * h2_ele_vertexTIPVsPhi
edm::EDGetTokenT< reco::GsfTrackCollection > electronTrackCollection_
MonitorElement * h1_ele_foundHits_endcaps
MonitorElement * h1_ele_lostHits_endcaps
MonitorElement * h1_ele_dEtaSc_propVtx_all
MonitorElement * h1_ele_dPhiSc_propVtx_all
MonitorElement * h2_ele_dPhiScVsPhi_propVtx
MonitorElement * h2_ele_dPhiScVsEta_propVtx
MonitorElement * h2_ele_dPhiEleClVsPhi_propOut
MonitorElement * h1_ele_dEtaCl_propOut_all
MonitorElement * h2_ele_PinVsPoutShowering_mean
MonitorElement * h2_ele_E2mnE1vsMee_all
MonitorElement * h2_ele_seed_drz2VsPt_
MonitorElement * h1_ele_superclusterfbrem_endcaps
MonitorElement * h1_scl_full5x5_sigmaIetaIeta_endcaps_
MonitorElement * h2_ele_ambiguousTracksVsEta
MonitorElement * h2_ele_outerPtVsPt_mode
MonitorElement * h2_ele_E2mnE1vsMee_egeg_all
MonitorElement * h2_ele_PtinVsPtoutShowering_mean
MonitorElement * h2_ele_PhiMnPhimatchingObjectVsPt
MonitorElement * h2_ele_dEtaEleClVsEta_propOut
MonitorElement * h2_ele_PinMnPoutVsChi2_mode
MonitorElement * h1_ele_matchingObjectEta_matched
MonitorElement * h1_scl_E2x5max_endcaps_
MonitorElement * h2_ele_EeleOPoutVsEta
MonitorElement * h2_ele_PinMnPoutVsPt_mode
MonitorElement * h1_ele_dEtaCl_propOut
MonitorElement * h2_ele_dEtaScVsEta_propVtx
MonitorElement * h2_ele_foundHitsVsPhi
MonitorElement * h2_ele_dEtaScVsPt_propVtx
MonitorElement * h2_ele_PtinVsPtoutShowering_mode
MonitorElement * h2_ele_dEtaClVsPt_propOut
MonitorElement * h1_ele_PhiMnPhimatchingObject
MonitorElement * h1_ele_dPhiCl_propOut
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsHcal04Tag_
MonitorElement * h1_recOfflineVertices_
MonitorElement * h1_scl_EoEmatchingObject_barrel
MonitorElement * h1_ele_hcalTowerSumEt_dr03_depth2
MonitorElement * h2_ele_PoPmatchingObjectVsEta
MonitorElement * h2_ele_dPhiClVsPt_propOut
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsTk04Tag_
MonitorElement * h2_ele_dPhiEleClVsPt_propOut
MonitorElement * h1_ele_tkSumPt_dr04_endcaps
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsTk03Tag_
MonitorElement * h2_ele_dEtaEleClVsPhi_propOut
MonitorElement * h1_ele_dEtaEleCl_propOut_endcaps
MonitorElement * h1_ele_PoPmatchingObject
MonitorElement * h1_ele_convRadius_all
MonitorElement * h2_ele_PinMnPoutVsEta_mode
MonitorElement * h1_ele_lostHits_barrel
edm::EDGetTokenT< reco::VertexCollection > offlineVerticesCollection_
MonitorElement * h2_ele_vertexEtaVsPhi
ElectronDqmAnalyzerBase(const edm::ParameterSet &conf)
MonitorElement * h1_ele_seed_mask_tec_
MonitorElement * h2_ele_outerPtVsPhi_mode
MonitorElement * h1_ele_dPhiCl_propOut_endcaps
MonitorElement * h1_ele_hcalTowerSumEt_dr03_depth1_endcaps
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsEcalReduced03Tag_
MonitorElement * h2_ele_seed_drz2posVsEta_
MonitorElement * h1_ele_superclusterfbrem_barrel
MonitorElement * h2_ele_vertexTIPVsEta
MonitorElement * h1_ele_hcalTowerSumEt_dr03_depth1
MonitorElement * h2_ele_PinMnPoutVsE_mode
MonitorElement * h2_ele_PinMnPoutVsPhi_mode
MonitorElement * h2_ele_dEtaEleClVsPt_propOut
MonitorElement * h1_ele_foundHits_barrel
MonitorElement * h2_ele_PoPmatchingObjectVsPt
MonitorElement * h1_ele_seed_dphi2pos_
edm::EDGetTokenT< reco::GsfElectronCollection > electronCollection_
MonitorElement * h2_ele_dEtaClVsEta_propOut
MonitorElement * h1_ele_superclusterfbrem
MonitorElement * h1_scl_EoEmatchingObject_endcaps
MonitorElement * h2_ele_PinVsPoutGolden_mode
MonitorElement * h1_ele_tkSumPt_dr04_barrel
MonitorElement * h1_ele_ecalRecHitSumEt_dr04
MonitorElement * h1_scl_full5x5_sigmaIetaIeta_
MonitorElement * h2_ele_seed_dphi2VsPt_
MonitorElement * h1_ele_hcalTowerSumEt_dr04_depth1_endcaps
MonitorElement * h2_ele_dEtaClVsPhi_propOut
MonitorElement * h2_ele_seed_drz2VsEta_
edm::EDGetTokenT< reco::BeamSpot > beamSpotTag_
MonitorElement * h1_ele_PoPmatchingObject_endcaps
MonitorElement * h1_ele_dEtaSc_propVtx_barrel
MonitorElement * h2_ele_outerPtVsEta_mode
MonitorElement * h1_ele_seed_mask_fpix_
MonitorElement * h1_ele_hcalTowerSumEt_dr04_depth1_barrel
MonitorElement * h2_ele_PinVsPoutGolden_mean
MonitorElement * h1_ele_EeleOPout_barrel
MonitorElement * h2_ele_EeleOPoutVsPhi
MonitorElement * h1_ele_dPhiSc_propVtx
MonitorElement * h1_ele_hcalTowerSumEt_dr04_depth2
MonitorElement * h1_scl_SigIEtaIEta_barrel_
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsHcal03Tag_
MonitorElement * h2_ele_dPhiClVsPhi_propOut
MonitorElement * h2_ele_seed_dphi2posVsEta_
MonitorElement * h1_ele_EoPout_endcaps
MonitorElement * h2_ele_PhiMnPhimatchingObjectVsEta
MonitorElement * h2_ele_EtaMnEtamatchingObjectVsPhi
MonitorElement * h1_ele_matchingObjectPhi_matched
MonitorElement * h1_ele_ecalRecHitSumEt_dr03_endcaps
MonitorElement * h1_scl_SigIEtaIEta_endcaps_
MonitorElement * h1_ele_EtaMnEtamatchingObject
MonitorElement * h1_ele_dPhiEleCl_propOut_endcaps
MonitorElement * h2_ele_dEtaScVsPhi_propVtx
MonitorElement * h2_ele_PhiMnPhimatchingObjectVsPhi
MonitorElement * h1_ele_dPhiEleCl_propOut
MonitorElement * h1_ele_EseedOP_barrel
MonitorElement * h1_scl_ESFrac_endcaps
MonitorElement * h1_ele_dEtaEleCl_propOut
MonitorElement * h2_ele_seed_drz2posVsPt_
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsEcalFull04Tag_
MonitorElement * h1_ele_dPhiSc_propVtx_endcaps
MonitorElement * h1_scl_EoEmatchingObjectShowering_endcaps
MonitorElement * h1_ele_dEtaSc_propVtx_endcaps
MonitorElement * h2_ele_seed_dphi2VsEta_
MonitorElement * h2_ele_dPhiClVsEta_propOut
MonitorElement * h1_ele_dEtaCl_propOut_barrel
MonitorElement * h2_ele_dPhiScVsPt_propVtx
MonitorElement * h1_ele_dPhiSc_propVtx_barrel
MonitorElement * h1_ele_hcalTowerSumEt_dr04_depth1
MonitorElement * h1_ele_dPhiCl_propOut_barrel
MonitorElement * h1_ele_matchingObjectZ_matched
MonitorElement * h2_ele_PtinVsPtoutGolden_mean
MonitorElement * h1_ele_dPhiEleCl_propOut_barrel
edm::EDGetTokenT< reco::GsfElectronCoreCollection > electronCoreCollection_
MonitorElement * h1_ele_PinMnPout_mode
MonitorElement * h2_ele_outerPVsEta_mode
MonitorElement * h1_ele_PoPmatchingObject_barrel
MonitorElement * h1_scl_full5x5_sigmaIetaIeta_barrel_
MonitorElement * h2_ele_dPhiEleClVsEta_propOut
MonitorElement * h1_ele_ambiguousTracks
MonitorElement * h1_ele_ecalRecHitSumEt_dr04_endcaps
MonitorElement * h1_ele_EeleOPout_endcaps
ElectronMcFakeValidator::~ElectronMcFakeValidator ( )
override

Definition at line 827 of file ElectronMcFakeValidator.cc.

828  {}

Member Function Documentation

void ElectronMcFakeValidator::analyze ( const edm::Event e,
const edm::EventSetup c 
)
override

Definition at line 835 of file ElectronMcFakeValidator.cc.

References funct::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(), edmIntegrityCheck::d, reco::GsfElectron::deltaEtaEleClusterTrackAtCalo(), reco::GsfElectron::deltaEtaSeedClusterTrackAtCalo(), reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx(), reco::GsfElectron::deltaPhiEleClusterTrackAtCalo(), reco::GsfElectron::deltaPhiSeedClusterTrackAtCalo(), reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), boostedElectronIsolation_cff::deltaR, deltaR_, reco::GsfElectron::dr03EcalRecHitSumEt(), reco::GsfElectron::dr03HcalDepth1TowerSumEt(), reco::GsfElectron::dr03HcalDepth1TowerSumEtBc(), reco::GsfElectron::dr03HcalDepth2TowerSumEt(), reco::GsfElectron::dr03HcalDepth2TowerSumEtBc(), reco::GsfElectron::dr03TkSumPt(), reco::GsfElectron::dr04EcalRecHitSumEt(), reco::GsfElectron::dr04HcalDepth1TowerSumEt(), reco::GsfElectron::dr04HcalDepth1TowerSumEtBc(), reco::GsfElectron::dr04HcalDepth2TowerSumEt(), reco::GsfElectron::dr04HcalDepth2TowerSumEtBc(), reco::GsfElectron::dr04TkSumPt(), reco::GsfElectron::ecalDrivenSeed(), reco::GsfElectron::eEleClusterOverPout(), electronCollection_, electronCoreCollection_, electronSeedCollection_, electronTrackCollection_, reco::GsfElectron::eSeedClusterOverP(), reco::GsfElectron::eSeedClusterOverPout(), reco::GsfElectron::eSuperClusterOverP(), reco::LeafCandidate::eta(), reco::GsfElectron::fbrem(), MonitorElement::Fill(), flags, reco::GsfElectron::full5x5_sigmaIetaIeta(), ttbarCategorization_cff::genJets, edm::Event::getByToken(), 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_chargedHadronRelativeIso, h1_ele_chargedHadronRelativeIso_barrel, h1_ele_chargedHadronRelativeIso_endcaps, h1_ele_chi2, h1_ele_classes, h1_ele_convDcot, h1_ele_convDcot_all, h1_ele_convDist, h1_ele_convDist_all, h1_ele_convFlags, h1_ele_convFlags_all, h1_ele_convRadius, h1_ele_convRadius_all, h1_ele_dEtaCl_propOut, h1_ele_dEtaCl_propOut_all, h1_ele_dEtaCl_propOut_barrel, h1_ele_dEtaCl_propOut_endcaps, h1_ele_dEtaEleCl_propOut, h1_ele_dEtaEleCl_propOut_barrel, h1_ele_dEtaEleCl_propOut_endcaps, h1_ele_dEtaSc_propVtx, h1_ele_dEtaSc_propVtx_all, h1_ele_dEtaSc_propVtx_barrel, h1_ele_dEtaSc_propVtx_endcaps, h1_ele_dPhiCl_propOut, h1_ele_dPhiCl_propOut_all, h1_ele_dPhiCl_propOut_barrel, h1_ele_dPhiCl_propOut_endcaps, h1_ele_dPhiEleCl_propOut, h1_ele_dPhiEleCl_propOut_barrel, h1_ele_dPhiEleCl_propOut_endcaps, h1_ele_dPhiSc_propVtx, h1_ele_dPhiSc_propVtx_all, h1_ele_dPhiSc_propVtx_barrel, h1_ele_dPhiSc_propVtx_endcaps, h1_ele_ecalRecHitSumEt_dr03, h1_ele_ecalRecHitSumEt_dr03_barrel, h1_ele_ecalRecHitSumEt_dr03_endcaps, h1_ele_ecalRecHitSumEt_dr04, h1_ele_ecalRecHitSumEt_dr04_barrel, h1_ele_ecalRecHitSumEt_dr04_endcaps, h1_ele_EeleOPout, h1_ele_EeleOPout_all, h1_ele_EeleOPout_barrel, h1_ele_EeleOPout_endcaps, h1_ele_EoP, h1_ele_EoP_barrel, h1_ele_EoP_endcaps, h1_ele_EoPout, h1_ele_EoPout_all, h1_ele_EoPout_barrel, h1_ele_EoPout_endcaps, h1_ele_EoverP_all, h1_ele_EseedOP, h1_ele_EseedOP_all, h1_ele_EseedOP_barrel, h1_ele_EseedOP_endcaps, h1_ele_eta, h1_ele_eta_bbrem, h1_ele_eta_golden, h1_ele_eta_shower, h1_ele_EtaMnEtamatchingObject, h1_ele_fbrem, h1_ele_fbrem_barrel, h1_ele_fbrem_endcaps, h1_ele_foundHits, 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_dr04_depth1, h1_ele_hcalTowerSumEt_dr04_depth1_barrel, h1_ele_hcalTowerSumEt_dr04_depth1_endcaps, h1_ele_hcalTowerSumEt_dr04_depth2, 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_endcaps, h1_ele_HoE_fiducial, h1_ele_lostHits, h1_ele_matchingObjectAbsEta_matched, h1_ele_matchingObjectEta_matched, h1_ele_matchingObjectPhi_matched, h1_ele_matchingObjectPt_matched, h1_ele_matchingObjectZ_matched, h1_ele_mee_all, h1_ele_mee_os, h1_ele_mva, h1_ele_mva_barrel, h1_ele_mva_barrel_isolated, h1_ele_mva_endcaps, h1_ele_mva_endcaps_isolated, h1_ele_mva_isolated, h1_ele_neutralHadronIso, h1_ele_neutralHadronIso_barrel, h1_ele_neutralHadronIso_endcaps, h1_ele_neutralHadronRelativeIso, h1_ele_neutralHadronRelativeIso_barrel, h1_ele_neutralHadronRelativeIso_endcaps, h1_ele_outerP, h1_ele_outerP_mode, h1_ele_outerPt, h1_ele_outerPt_mode, h1_ele_PhiMnPhimatchingObject, h1_ele_PhiMnPhimatchingObject2, h1_ele_photonIso, h1_ele_photonIso_barrel, h1_ele_photonIso_endcaps, h1_ele_photonRelativeIso, h1_ele_photonRelativeIso_barrel, h1_ele_photonRelativeIso_endcaps, h1_ele_PinMnPout, h1_ele_PinMnPout_mode, h1_ele_PoPmatchingObject, h1_ele_PoPmatchingObject_barrel, h1_ele_PoPmatchingObject_endcaps, h1_ele_provenance, h1_ele_provenance_barrel, h1_ele_provenance_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_superclusterfbrem, h1_ele_superclusterfbrem_barrel, h1_ele_superclusterfbrem_endcaps, 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_matchingObjectAbsEta, h1_matchingObjectEta, h1_matchingObjectNum, h1_matchingObjectP, h1_matchingObjectPhi, h1_matchingObjectPt, h1_matchingObjectZ, h1_recCoreNum_, h1_recEleNum_, h1_recOfflineVertices_, h1_recSeedNum_, h1_recTrackNum_, h1_scl_E1x5_, h1_scl_E1x5_barrel_, h1_scl_E1x5_endcaps_, h1_scl_E2x5max_, h1_scl_E2x5max_barrel_, h1_scl_E2x5max_endcaps_, h1_scl_E5x5_, h1_scl_E5x5_barrel_, h1_scl_E5x5_endcaps_, h1_scl_En_, h1_scl_EoEmatchingObject_barrel, h1_scl_EoEmatchingObject_endcaps, h1_scl_ESFrac_endcaps, h1_scl_Et_, h1_scl_Eta_, h1_scl_full5x5_sigmaIetaIeta_, h1_scl_full5x5_sigmaIetaIeta_barrel_, h1_scl_full5x5_sigmaIetaIeta_endcaps_, h1_scl_Phi_, h1_scl_SigIEtaIEta_, h1_scl_SigIEtaIEta_barrel_, 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_EtaMnEtamatchingObjectVsEta, h2_ele_EtaMnEtamatchingObjectVsPhi, h2_ele_EtaMnEtamatchingObjectVsPt, 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_PhiMnPhimatchingObjectVsEta, h2_ele_PhiMnPhimatchingObjectVsPhi, h2_ele_PhiMnPhimatchingObjectVsPt, 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_PoPmatchingObjectVsEta, h2_ele_PoPmatchingObjectVsPhi, h2_ele_PoPmatchingObjectVsPt, 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_scl_EtaVsPhi_, h2_scl_EtVsEta_, h2_scl_EtVsPhi_, reco::GsfElectron::hadronicOverEm(), reco::GsfElectron::hcalDepth1OverEcalBc(), reco::GsfElectron::hcalDepth2OverEcalBc(), reco::GsfElectron::hcalOverEcalBc(), edm::EventBase::id(), infinity, reco::GsfElectron::isEB(), reco::GsfElectron::isEBEEGap(), reco::GsfElectron::isEBEtaGap(), reco::GsfElectron::isEBPhiGap(), reco::GsfElectron::isEE(), reco::GsfElectron::isEEDeeGap(), reco::GsfElectron::isEERingGap(), edm::Ref< C, T, F >::isNonnull(), isoFromDepsEcalFull03Tag_, isoFromDepsEcalFull04Tag_, isoFromDepsEcalReduced03Tag_, isoFromDepsEcalReduced04Tag_, isoFromDepsHcal03Tag_, isoFromDepsHcal04Tag_, isoFromDepsTk03Tag_, isoFromDepsTk04Tag_, edm::HandleBase::isValid(), matchingObjectCollection_, maxAbsEta_, maxPt_, reco::GsfElectron::mva_e_pi(), reco::GsfElectron::mva_Isolated(), offlineVerticesCollection_, reco::LeafCandidate::p(), p1_ele_fbremVsEta_mean, p1_ele_fbremVsEta_mode, reco::GsfElectron::parentSuperCluster(), reco::GsfElectron::pfIsolationVariables(), reco::LeafCandidate::phi(), pi, reco::BeamSpot::position(), 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::scSigmaIEtaIEta(), SurveyInfoScenario_cff::seed, mathSSE::sqrt(), reco::GsfElectron::PflowIsolationVariables::sumChargedHadronPt, reco::GsfElectron::PflowIsolationVariables::sumNeutralHadronEt, reco::GsfElectron::PflowIsolationVariables::sumPhotonEt, reco::GsfElectron::superCluster(), reco::GsfElectron::superClusterFbrem(), reco::GsfElectron::trackerDrivenSeed(), reco::GsfElectron::trackMomentumAtVtx(), reco::GsfElectron::trackMomentumOut(), funct::true, and reco::LeafCandidate::vertex().

836  {
837  // get reco electrons
839  iEvent.getByToken(electronCollection_,gsfElectrons);
841  iEvent.getByToken(electronCoreCollection_,gsfElectronCores) ;
842  edm::Handle<GsfTrackCollection> gsfElectronTracks ;
843  iEvent.getByToken(electronTrackCollection_,gsfElectronTracks) ;
844  edm::Handle<ElectronSeedCollection> gsfElectronSeeds ;
845  iEvent.getByToken(electronSeedCollection_,gsfElectronSeeds) ;
846 
847  edm::Handle<edm::ValueMap<double> > isoFromDepsTk03Handle ; iEvent.getByToken( isoFromDepsTk03Tag_ , isoFromDepsTk03Handle ) ;
848  edm::Handle<edm::ValueMap<double> > isoFromDepsTk04Handle ; iEvent.getByToken( isoFromDepsTk04Tag_ , isoFromDepsTk04Handle ) ;
849  edm::Handle<edm::ValueMap<double> > isoFromDepsEcalFull03Handle ; iEvent.getByToken( isoFromDepsEcalFull03Tag_ , isoFromDepsEcalFull03Handle ) ;
850  edm::Handle<edm::ValueMap<double> > isoFromDepsEcalFull04Handle ; iEvent.getByToken( isoFromDepsEcalFull04Tag_ , isoFromDepsEcalFull04Handle ) ;
851  edm::Handle<edm::ValueMap<double> > isoFromDepsEcalReduced03Handle ; iEvent.getByToken( isoFromDepsEcalReduced03Tag_, isoFromDepsEcalReduced03Handle ) ;
852  edm::Handle<edm::ValueMap<double> > isoFromDepsEcalReduced04Handle ; iEvent.getByToken( isoFromDepsEcalReduced04Tag_, isoFromDepsEcalReduced04Handle ) ;
853  edm::Handle<edm::ValueMap<double> > isoFromDepsHcal03Handle ; iEvent.getByToken( isoFromDepsHcal03Tag_ , isoFromDepsHcal03Handle ) ;
854  edm::Handle<edm::ValueMap<double> > isoFromDepsHcal04Handle ; iEvent.getByToken( isoFromDepsHcal04Tag_ , isoFromDepsHcal04Handle ) ;
855 
856  /* new 2015.04.02 */
857  edm::Handle<reco::VertexCollection> vertexCollectionHandle;
858  iEvent.getByToken(offlineVerticesCollection_, vertexCollectionHandle);
859  if(!vertexCollectionHandle.isValid())
860  {edm::LogInfo("ElectronMcFakeValidator::analyze") << "vertexCollectionHandle KO" ;}
861  else
862  {
863  edm::LogInfo("ElectronMcFakeValidator::analyze") << "vertexCollectionHandle OK" ;
864  }
865  /* fin new */
866 
867  // get gen jets
869  iEvent.getByToken(matchingObjectCollection_,genJets);
870 
871  // get the beamspot from the Event:
872  edm::Handle<reco::BeamSpot> recoBeamSpotHandle;
873  iEvent.getByToken(beamSpotTag_,recoBeamSpotHandle);
874  const BeamSpot bs = *recoBeamSpotHandle;
875 
876  edm::LogInfo("ElectronMcFakeValidator::analyze")
877  <<"Treating event "<<iEvent.id()
878  <<" with "<<gsfElectrons.product()->size()<<" electrons" ;
879  h1_recEleNum_->Fill((*gsfElectrons).size());
880  h1_recCoreNum_->Fill((*gsfElectronCores).size());
881  h1_recTrackNum_->Fill((*gsfElectronTracks).size());
882  h1_recSeedNum_->Fill((*gsfElectronSeeds).size());
883  h1_recOfflineVertices_->Fill((*vertexCollectionHandle).size()); // new 2015.04.02
884 
885  // all rec electrons
886  reco::GsfElectronCollection::const_iterator gsfIter ;
887  for
888  ( gsfIter=gsfElectrons->begin() ;
889  gsfIter!=gsfElectrons->end() ;
890  gsfIter++ )
891  {
892  // preselect electrons
893  if (gsfIter->pt()>maxPt_ || std::abs(gsfIter->eta())>maxAbsEta_)
894  { continue ; }
895 
896  h1_ele_EoverP_all->Fill( gsfIter->eSuperClusterOverP() );
897  h1_ele_EseedOP_all->Fill( gsfIter->eSeedClusterOverP() );
898  h1_ele_EoPout_all->Fill( gsfIter->eSeedClusterOverPout() );
899  h1_ele_EeleOPout_all->Fill( gsfIter->eEleClusterOverPout() );
900  h1_ele_dEtaSc_propVtx_all->Fill(gsfIter->deltaEtaSuperClusterTrackAtVtx());
901  h1_ele_dPhiSc_propVtx_all->Fill(gsfIter->deltaPhiSuperClusterTrackAtVtx());
902  h1_ele_dEtaCl_propOut_all->Fill(gsfIter->deltaEtaSeedClusterTrackAtCalo());
903  h1_ele_dPhiCl_propOut_all->Fill(gsfIter->deltaPhiSeedClusterTrackAtCalo());
904  h1_ele_HoE_all->Fill( gsfIter->hadronicOverEm() );
905  h1_ele_HoE_bc_all->Fill(gsfIter->hcalOverEcalBc());
906  double d
907  = gsfIter->vertex().x()*gsfIter->vertex().x()
908  + gsfIter->vertex().y()*gsfIter->vertex().y() ;
909  h1_ele_TIP_all->Fill( sqrt(d) );
910  h1_ele_vertexEta_all->Fill( gsfIter->eta() );
911  h1_ele_vertexPt_all->Fill( gsfIter->pt() );
912  float enrj1=gsfIter->ecalEnergy();
913 
914  // mee
915  reco::GsfElectronCollection::const_iterator gsfIter2 ;
916  for
917  ( gsfIter2=gsfIter+1 ;
918  gsfIter2!=gsfElectrons->end() ;
919  gsfIter2++ )
920  {
921  math::XYZTLorentzVector p12 = (*gsfIter).p4()+(*gsfIter2).p4();
922  float mee2 = p12.Dot(p12) ;
923  h1_ele_mee_all->Fill(sqrt(mee2)) ;
924  float enrj2=gsfIter2->ecalEnergy();
925  h2_ele_E2mnE1vsMee_all->Fill(sqrt(mee2),enrj2-enrj1);
926  if (gsfIter->ecalDrivenSeed() && gsfIter2->ecalDrivenSeed())
927  { h2_ele_E2mnE1vsMee_egeg_all->Fill(sqrt(mee2),enrj2-enrj1) ; }
928  if (gsfIter->charge()*gsfIter2->charge()<0.)
929  { h1_ele_mee_os->Fill(sqrt(mee2)) ; }
930  }
931 
932  // conversion rejection
933  int flags = gsfIter->convFlags() ;
934  if (flags==-9999) { flags=-1 ; }
935  h1_ele_convFlags_all->Fill(flags);
936  if (flags>=0.)
937  {
938  h1_ele_convDist_all->Fill( gsfIter->convDist() );
939  h1_ele_convDcot_all->Fill( gsfIter->convDcot() );
940  h1_ele_convRadius_all->Fill( gsfIter->convRadius() );
941  }
942 
943  }
944 
945  // association matching object-reco electrons
946  int matchingObjectNum=0 ;
947  reco::GenJetCollection::const_iterator moIter ;
948  for
949  ( moIter = genJets->begin() ;
950  moIter != genJets->end() ; ++moIter )
951  {
952 
953  // number of matching objects
954  matchingObjectNum++ ;
955 
956  if (moIter->energy()/cosh(moIter->eta())> maxPt_ || std::abs(moIter->eta())> maxAbsEta_)
957  { continue ; }
958 
959  // suppress the endcaps
960  //if (std::abs(moIter->eta()) > 1.5) continue;
961  // select central z
962  //if ( std::abs((*mcIter)->production_vertex()->position().z())>50.) continue;
963 
964  h1_matchingObjectEta->Fill( moIter->eta() );
965  h1_matchingObjectAbsEta->Fill( std::abs(moIter->eta()) );
966  h1_matchingObjectP->Fill( moIter->energy() );
967  h1_matchingObjectPt->Fill( moIter->energy()/cosh(moIter->eta()) );
968  h1_matchingObjectPhi->Fill( moIter->phi() );
969  h1_matchingObjectZ->Fill( moIter->vz() );
970 
971  // looking for the best matching gsf electron
972  bool okGsfFound = false;
973  double gsfOkRatio = 999999.;
974 
975  // find best matched electron
976  reco::GsfElectron bestGsfElectron ;
977  reco::GsfElectronRef bestGsfElectronRef ;
978  reco::GsfElectronCollection::const_iterator gsfIter ;
980  for
981  ( gsfIter=gsfElectrons->begin(), iElectron=0 ;
982  gsfIter!=gsfElectrons->end() ; gsfIter++, iElectron++ )
983  {
984  double dphi = gsfIter->phi()-moIter->phi();
985  if (std::abs(dphi)>CLHEP::pi)
986  { dphi = dphi < 0? (CLHEP::twopi) + dphi : dphi - CLHEP::twopi; }
987  double deltaR = sqrt(pow((gsfIter->eta()-moIter->eta()),2) + pow(dphi,2));
988  if ( deltaR < deltaR_ )
989  {
990  //if ( (genPc->pdg_id() == 11) && (gsfIter->charge() < 0.) || (genPc->pdg_id() == -11) &&
991  //(gsfIter->charge() > 0.) ){
992  double tmpGsfRatio = gsfIter->p()/moIter->energy() ;
993  if ( std::abs(tmpGsfRatio-1) < std::abs(gsfOkRatio-1) )
994  {
995  gsfOkRatio = tmpGsfRatio ;
996  bestGsfElectronRef = reco::GsfElectronRef(gsfElectrons,iElectron) ;
997  bestGsfElectron = *gsfIter ;
998  okGsfFound = true ;
999  }
1000  //}
1001  }
1002  } // loop over rec ele to look for the best one
1003 
1004  // analysis when the matching object is matched by a rec electron
1005  if (okGsfFound)
1006  {
1007  // electron related distributions
1008  h1_ele_charge->Fill( bestGsfElectron.charge() );
1009  h2_ele_chargeVsEta->Fill( bestGsfElectron.eta(),bestGsfElectron.charge() );
1010  h2_ele_chargeVsPhi->Fill( bestGsfElectron.phi(),bestGsfElectron.charge() );
1011  h2_ele_chargeVsPt->Fill( bestGsfElectron.pt(),bestGsfElectron.charge() );
1012  h1_ele_vertexP->Fill( bestGsfElectron.p() );
1013  h1_ele_vertexPt->Fill( bestGsfElectron.pt() );
1014  h2_ele_vertexPtVsEta->Fill( bestGsfElectron.eta(),bestGsfElectron.pt() );
1015  h2_ele_vertexPtVsPhi->Fill( bestGsfElectron.phi(),bestGsfElectron.pt() );
1016  h1_ele_vertexEta->Fill( bestGsfElectron.eta() );
1017  // generated distributions for matched electrons
1018  h1_ele_matchingObjectPt_matched->Fill( moIter->energy()/cosh(moIter->eta()) );
1019  h1_ele_matchingObjectPhi_matched->Fill( moIter->phi() );
1021  h1_ele_matchingObjectEta_matched->Fill( moIter->eta() );
1022  h2_ele_vertexEtaVsPhi->Fill( bestGsfElectron.phi(),bestGsfElectron.eta() );
1023  h1_ele_vertexPhi->Fill( bestGsfElectron.phi() );
1024  h1_ele_vertexX->Fill( bestGsfElectron.vertex().x() );
1025  h1_ele_vertexY->Fill( bestGsfElectron.vertex().y() );
1026  h1_ele_vertexZ->Fill( bestGsfElectron.vertex().z() );
1027  h1_ele_matchingObjectZ_matched->Fill( moIter->vz() );
1028  double d
1029  = (bestGsfElectron.vertex().x()-bs.position().x())
1030  * (bestGsfElectron.vertex().x()-bs.position().x())
1031  + (bestGsfElectron.vertex().y()-bs.position().y())
1032  *(bestGsfElectron.vertex().y()-bs.position().y()) ;
1033  d = sqrt(d) ;
1034  h1_ele_vertexTIP->Fill( d );
1035  h2_ele_vertexTIPVsEta->Fill( bestGsfElectron.eta(), d );
1036  h2_ele_vertexTIPVsPhi->Fill( bestGsfElectron.phi(), d );
1037  h2_ele_vertexTIPVsPt->Fill( bestGsfElectron.pt(), d );
1038  h1_ele_EtaMnEtamatchingObject->Fill( bestGsfElectron.eta()-moIter->eta());
1039  h2_ele_EtaMnEtamatchingObjectVsEta->Fill( bestGsfElectron.eta(), bestGsfElectron.eta()-moIter->eta());
1040  h2_ele_EtaMnEtamatchingObjectVsPhi->Fill( bestGsfElectron.phi(), bestGsfElectron.eta()-moIter->eta());
1041  h2_ele_EtaMnEtamatchingObjectVsPt->Fill( bestGsfElectron.pt(), bestGsfElectron.eta()-moIter->eta());
1042  h1_ele_PhiMnPhimatchingObject->Fill( bestGsfElectron.phi()-moIter->phi());
1043  h1_ele_PhiMnPhimatchingObject2->Fill( bestGsfElectron.phi()-moIter->phi());
1044  h2_ele_PhiMnPhimatchingObjectVsEta->Fill( bestGsfElectron.eta(), bestGsfElectron.phi()-moIter->phi());
1045  h2_ele_PhiMnPhimatchingObjectVsPhi->Fill( bestGsfElectron.phi(), bestGsfElectron.phi()-moIter->phi());
1046  h2_ele_PhiMnPhimatchingObjectVsPt->Fill( bestGsfElectron.pt(), bestGsfElectron.phi()-moIter->phi());
1047  h1_ele_PoPmatchingObject->Fill( bestGsfElectron.p()/moIter->energy());
1048  h2_ele_PoPmatchingObjectVsEta->Fill( bestGsfElectron.eta(), bestGsfElectron.p()/moIter->energy());
1049  h2_ele_PoPmatchingObjectVsPhi->Fill( bestGsfElectron.phi(), bestGsfElectron.p()/moIter->energy());
1050  h2_ele_PoPmatchingObjectVsPt->Fill( bestGsfElectron.py(), bestGsfElectron.p()/moIter->energy());
1051  if (bestGsfElectron.isEB()) h1_ele_PoPmatchingObject_barrel->Fill( bestGsfElectron.p()/moIter->energy()) ;
1052  if (bestGsfElectron.isEE()) h1_ele_PoPmatchingObject_endcaps->Fill( bestGsfElectron.p()/moIter->energy()) ;
1053 
1054  // supercluster related distributions
1055  reco::SuperClusterRef sclRef = bestGsfElectron.superCluster();
1056  if (!bestGsfElectron.ecalDrivenSeed()&&bestGsfElectron.trackerDrivenSeed()) sclRef = bestGsfElectron.parentSuperCluster();
1057  if( sclRef.isNonnull() ) {
1058  h1_scl_En_->Fill(sclRef->energy());
1059  double R=TMath::Sqrt(sclRef->x()*sclRef->x() + sclRef->y()*sclRef->y() +sclRef->z()*sclRef->z());
1060  double Rt=TMath::Sqrt(sclRef->x()*sclRef->x() + sclRef->y()*sclRef->y());
1061  h1_scl_Et_->Fill(sclRef->energy()*(Rt/R));
1062  h2_scl_EtVsEta_->Fill(sclRef->eta(),sclRef->energy()*(Rt/R));
1063  h2_scl_EtVsPhi_->Fill(sclRef->phi(),sclRef->energy()*(Rt/R));
1064  if ( bestGsfElectron.isEB() ) h1_scl_EoEmatchingObject_barrel->Fill(sclRef->energy()/moIter->energy());
1065  if ( bestGsfElectron.isEE() ) h1_scl_EoEmatchingObject_endcaps->Fill(sclRef->energy()/moIter->energy());
1066  h1_scl_Eta_->Fill(sclRef->eta());
1067  h2_scl_EtaVsPhi_->Fill(sclRef->phi(),sclRef->eta());
1068  h1_scl_Phi_->Fill(sclRef->phi());
1069  /*New from 06 05 2016*/
1070 // h1_scl_ESFrac->Fill( sclRef->preshowerEnergy() / sclRef->rawEnergy() );
1071  if (bestGsfElectron.isEE()) h1_scl_ESFrac_endcaps->Fill( sclRef->preshowerEnergy() / sclRef->rawEnergy() );
1072  }
1073  h1_scl_SigIEtaIEta_->Fill(bestGsfElectron.scSigmaIEtaIEta());
1074  if (bestGsfElectron.isEB()) h1_scl_SigIEtaIEta_barrel_->Fill(bestGsfElectron.scSigmaIEtaIEta());
1075  if (bestGsfElectron.isEE()) h1_scl_SigIEtaIEta_endcaps_->Fill(bestGsfElectron.scSigmaIEtaIEta());
1077  if (bestGsfElectron.isEB()) h1_scl_full5x5_sigmaIetaIeta_barrel_->Fill(bestGsfElectron.full5x5_sigmaIetaIeta());
1078  if (bestGsfElectron.isEE()) h1_scl_full5x5_sigmaIetaIeta_endcaps_->Fill(bestGsfElectron.full5x5_sigmaIetaIeta());
1079  h1_scl_E1x5_->Fill(bestGsfElectron.scE1x5());
1080  if (bestGsfElectron.isEB()) h1_scl_E1x5_barrel_->Fill(bestGsfElectron.scE1x5());
1081  if (bestGsfElectron.isEE()) h1_scl_E1x5_endcaps_->Fill(bestGsfElectron.scE1x5());
1082  h1_scl_E2x5max_->Fill(bestGsfElectron.scE2x5Max());
1083  if (bestGsfElectron.isEB()) h1_scl_E2x5max_barrel_->Fill(bestGsfElectron.scE2x5Max());
1084  if (bestGsfElectron.isEE()) h1_scl_E2x5max_endcaps_->Fill(bestGsfElectron.scE2x5Max());
1085  h1_scl_E5x5_->Fill(bestGsfElectron.scE5x5());
1086  if (bestGsfElectron.isEB()) h1_scl_E5x5_barrel_->Fill(bestGsfElectron.scE5x5());
1087  if (bestGsfElectron.isEE()) h1_scl_E5x5_endcaps_->Fill(bestGsfElectron.scE5x5());
1088 
1089  // track related distributions
1090  h1_ele_ambiguousTracks->Fill( bestGsfElectron.ambiguousGsfTracksSize() );
1091  h2_ele_ambiguousTracksVsEta->Fill( bestGsfElectron.eta(), bestGsfElectron.ambiguousGsfTracksSize() );
1092  h2_ele_ambiguousTracksVsPhi->Fill( bestGsfElectron.phi(), bestGsfElectron.ambiguousGsfTracksSize() );
1093  h2_ele_ambiguousTracksVsPt->Fill( bestGsfElectron.pt(), bestGsfElectron.ambiguousGsfTracksSize() );
1094  if (!readAOD_)
1095  { // track extra does not exist in AOD
1096  h1_ele_foundHits->Fill( bestGsfElectron.gsfTrack()->numberOfValidHits() );
1097  h2_ele_foundHitsVsEta->Fill( bestGsfElectron.eta(), bestGsfElectron.gsfTrack()->numberOfValidHits() );
1098  h2_ele_foundHitsVsPhi->Fill( bestGsfElectron.phi(), bestGsfElectron.gsfTrack()->numberOfValidHits() );
1099  h2_ele_foundHitsVsPt->Fill( bestGsfElectron.pt(), bestGsfElectron.gsfTrack()->numberOfValidHits() );
1100  h1_ele_lostHits->Fill( bestGsfElectron.gsfTrack()->numberOfLostHits() );
1101  h2_ele_lostHitsVsEta->Fill( bestGsfElectron.eta(), bestGsfElectron.gsfTrack()->numberOfLostHits() );
1102  h2_ele_lostHitsVsPhi->Fill( bestGsfElectron.phi(), bestGsfElectron.gsfTrack()->numberOfLostHits() );
1103  h2_ele_lostHitsVsPt->Fill( bestGsfElectron.pt(), bestGsfElectron.gsfTrack()->numberOfLostHits() );
1104  h1_ele_chi2->Fill( bestGsfElectron.gsfTrack()->normalizedChi2() );
1105  h2_ele_chi2VsEta->Fill( bestGsfElectron.eta(), bestGsfElectron.gsfTrack()->normalizedChi2() );
1106  h2_ele_chi2VsPhi->Fill( bestGsfElectron.phi(), bestGsfElectron.gsfTrack()->normalizedChi2() );
1107  h2_ele_chi2VsPt->Fill( bestGsfElectron.pt(), bestGsfElectron.gsfTrack()->normalizedChi2() );
1108  }
1109  // from gsf track interface, hence using mean
1110  if (!readAOD_)
1111  { // track extra does not exist in AOD
1112  h1_ele_PinMnPout->Fill( bestGsfElectron.gsfTrack()->innerMomentum().R() - bestGsfElectron.gsfTrack()->outerMomentum().R() );
1113  h1_ele_outerP->Fill( bestGsfElectron.gsfTrack()->outerMomentum().R() );
1114  h1_ele_outerPt->Fill( bestGsfElectron.gsfTrack()->outerMomentum().Rho() );
1115  }
1116  // from electron interface, hence using mode
1117  h1_ele_PinMnPout_mode->Fill( bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R() );
1118  h2_ele_PinMnPoutVsEta_mode->Fill( bestGsfElectron.eta(), bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R() );
1119  h2_ele_PinMnPoutVsPhi_mode->Fill( bestGsfElectron.phi(), bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R() );
1120  h2_ele_PinMnPoutVsPt_mode->Fill( bestGsfElectron.pt(), bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R() );
1121  h2_ele_PinMnPoutVsE_mode->Fill( bestGsfElectron.caloEnergy(), bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R() );
1122  if (!readAOD_) // track extra does not exist in AOD
1124  ( bestGsfElectron.gsfTrack()->normalizedChi2(),
1125  bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R() ) ;
1126  h1_ele_outerP_mode->Fill( bestGsfElectron.trackMomentumOut().R() );
1127  h2_ele_outerPVsEta_mode->Fill(bestGsfElectron.eta(), bestGsfElectron.trackMomentumOut().R() );
1128  h1_ele_outerPt_mode->Fill( bestGsfElectron.trackMomentumOut().Rho() );
1129  h2_ele_outerPtVsEta_mode->Fill(bestGsfElectron.eta(), bestGsfElectron.trackMomentumOut().Rho() );
1130  h2_ele_outerPtVsPhi_mode->Fill(bestGsfElectron.phi(), bestGsfElectron.trackMomentumOut().Rho() );
1131  h2_ele_outerPtVsPt_mode->Fill(bestGsfElectron.pt(), bestGsfElectron.trackMomentumOut().Rho() );
1132 
1133  if (!readAOD_)
1134  { // track extra does not exist in AOD
1135  edm::RefToBase<TrajectorySeed> seed = bestGsfElectron.gsfTrack()->extra()->seedRef();
1136  ElectronSeedRef elseed=seed.castTo<ElectronSeedRef>();
1137  h1_ele_seed_subdet2_->Fill(elseed->subDet2());
1138  h1_ele_seed_mask_->Fill(elseed->hitsMask());
1139  if (elseed->subDet2()==1)
1140  { h1_ele_seed_mask_bpix_->Fill(elseed->hitsMask()); }
1141  else if (elseed->subDet2()==2)
1142  { h1_ele_seed_mask_fpix_->Fill(elseed->hitsMask()); }
1143  else if (elseed->subDet2()==6)
1144  { h1_ele_seed_mask_tec_->Fill(elseed->hitsMask()); }
1145 
1146  if ( elseed->dPhi2() != std::numeric_limits<float>::infinity() ) {
1147  h1_ele_seed_dphi2_->Fill(elseed->dPhi2());
1148  h2_ele_seed_dphi2VsEta_->Fill(bestGsfElectron.eta(), elseed->dPhi2());
1149  h2_ele_seed_dphi2VsPt_->Fill(bestGsfElectron.pt(), elseed->dPhi2()) ;
1150  }
1151  if ( elseed->dPhi2Pos() != std::numeric_limits<float>::infinity() ) {
1152  h1_ele_seed_dphi2pos_->Fill(elseed->dPhi2Pos());
1153  h2_ele_seed_dphi2posVsEta_->Fill(bestGsfElectron.eta(), elseed->dPhi2Pos());
1154  h2_ele_seed_dphi2posVsPt_->Fill(bestGsfElectron.pt(), elseed->dPhi2Pos());
1155  }
1156  if ( elseed->dRz2() != std::numeric_limits<float>::infinity() ) {
1157  h1_ele_seed_drz2_->Fill(elseed->dRz2());
1158  h2_ele_seed_drz2VsEta_->Fill(bestGsfElectron.eta(), elseed->dRz2());
1159  h2_ele_seed_drz2VsPt_->Fill(bestGsfElectron.pt(), elseed->dRz2());
1160  }
1161  if ( elseed->dRz2Pos() != std::numeric_limits<float>::infinity() ) {
1162  h1_ele_seed_drz2pos_->Fill(elseed->dRz2Pos());
1163  h2_ele_seed_drz2posVsEta_->Fill(bestGsfElectron.eta(), elseed->dRz2Pos());
1164  h2_ele_seed_drz2posVsPt_->Fill(bestGsfElectron.pt(), elseed->dRz2Pos());
1165  }
1166  }
1167  // match distributions
1168  h1_ele_EoP->Fill( bestGsfElectron.eSuperClusterOverP() );
1169  if (bestGsfElectron.isEB()) h1_ele_EoP_barrel->Fill( bestGsfElectron.eSuperClusterOverP() );
1170  if (bestGsfElectron.isEE()) h1_ele_EoP_endcaps->Fill( bestGsfElectron.eSuperClusterOverP() );
1171  h2_ele_EoPVsEta->Fill(bestGsfElectron.eta(), bestGsfElectron.eSuperClusterOverP() );
1172  h2_ele_EoPVsPhi->Fill(bestGsfElectron.phi(), bestGsfElectron.eSuperClusterOverP() );
1173  h2_ele_EoPVsE->Fill(bestGsfElectron.caloEnergy(), bestGsfElectron.eSuperClusterOverP() );
1174  h1_ele_EseedOP->Fill( bestGsfElectron.eSeedClusterOverP() );
1175  if (bestGsfElectron.isEB()) h1_ele_EseedOP_barrel->Fill( bestGsfElectron.eSeedClusterOverP() );
1176  if (bestGsfElectron.isEE()) h1_ele_EseedOP_endcaps->Fill( bestGsfElectron.eSeedClusterOverP() );
1177  h2_ele_EseedOPVsEta->Fill(bestGsfElectron.eta(), bestGsfElectron.eSeedClusterOverP() );
1178  h2_ele_EseedOPVsPhi->Fill(bestGsfElectron.phi(), bestGsfElectron.eSeedClusterOverP() );
1179  h2_ele_EseedOPVsE->Fill(bestGsfElectron.caloEnergy(), bestGsfElectron.eSeedClusterOverP() );
1180  h1_ele_EoPout->Fill( bestGsfElectron.eSeedClusterOverPout() );
1181  if (bestGsfElectron.isEB()) h1_ele_EoPout_barrel->Fill( bestGsfElectron.eSeedClusterOverPout() );
1182  if (bestGsfElectron.isEE()) h1_ele_EoPout_endcaps->Fill( bestGsfElectron.eSeedClusterOverPout() );
1183  h2_ele_EoPoutVsEta->Fill( bestGsfElectron.eta(), bestGsfElectron.eSeedClusterOverPout() );
1184  h2_ele_EoPoutVsPhi->Fill( bestGsfElectron.phi(), bestGsfElectron.eSeedClusterOverPout() );
1185  h2_ele_EoPoutVsE->Fill( bestGsfElectron.caloEnergy(), bestGsfElectron.eSeedClusterOverPout() );
1186  h1_ele_EeleOPout->Fill( bestGsfElectron.eEleClusterOverPout() );
1187  if (bestGsfElectron.isEB()) h1_ele_EeleOPout_barrel->Fill( bestGsfElectron.eEleClusterOverPout() );
1188  if (bestGsfElectron.isEE()) h1_ele_EeleOPout_endcaps->Fill( bestGsfElectron.eEleClusterOverPout() );
1189  h2_ele_EeleOPoutVsEta->Fill( bestGsfElectron.eta(), bestGsfElectron.eEleClusterOverPout() );
1190  h2_ele_EeleOPoutVsPhi->Fill( bestGsfElectron.phi(), bestGsfElectron.eEleClusterOverPout() );
1191  h2_ele_EeleOPoutVsE->Fill( bestGsfElectron.caloEnergy(), bestGsfElectron.eEleClusterOverPout() );
1193  if (bestGsfElectron.isEB()) h1_ele_dEtaSc_propVtx_barrel->Fill(bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
1194  if (bestGsfElectron.isEE())h1_ele_dEtaSc_propVtx_endcaps->Fill(bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
1195  h2_ele_dEtaScVsEta_propVtx->Fill( bestGsfElectron.eta(),bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
1196  h2_ele_dEtaScVsPhi_propVtx->Fill(bestGsfElectron.phi(),bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
1197  h2_ele_dEtaScVsPt_propVtx->Fill(bestGsfElectron.pt(),bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
1199  if (bestGsfElectron.isEB()) h1_ele_dPhiSc_propVtx_barrel->Fill(bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
1200  if (bestGsfElectron.isEE())h1_ele_dPhiSc_propVtx_endcaps->Fill(bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
1201  h2_ele_dPhiScVsEta_propVtx->Fill( bestGsfElectron.eta(),bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
1202  h2_ele_dPhiScVsPhi_propVtx->Fill(bestGsfElectron.phi(),bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
1203  h2_ele_dPhiScVsPt_propVtx->Fill(bestGsfElectron.pt(),bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
1205  if (bestGsfElectron.isEB()) h1_ele_dEtaCl_propOut_barrel->Fill(bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
1206  if (bestGsfElectron.isEE()) h1_ele_dEtaCl_propOut_endcaps->Fill(bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
1207  h2_ele_dEtaClVsEta_propOut->Fill( bestGsfElectron.eta(),bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
1208  h2_ele_dEtaClVsPhi_propOut->Fill(bestGsfElectron.phi(),bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
1209  h2_ele_dEtaClVsPt_propOut->Fill(bestGsfElectron.pt(),bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
1211  if (bestGsfElectron.isEB()) h1_ele_dPhiCl_propOut_barrel->Fill(bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
1212  if (bestGsfElectron.isEE()) h1_ele_dPhiCl_propOut_endcaps->Fill(bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
1213  h2_ele_dPhiClVsEta_propOut->Fill( bestGsfElectron.eta(),bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
1214  h2_ele_dPhiClVsPhi_propOut->Fill(bestGsfElectron.phi(),bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
1215  h2_ele_dPhiClVsPt_propOut->Fill(bestGsfElectron.pt(),bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
1217  if (bestGsfElectron.isEB()) h1_ele_dEtaEleCl_propOut_barrel->Fill(bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
1218  if (bestGsfElectron.isEE()) h1_ele_dEtaEleCl_propOut_endcaps->Fill(bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
1219  h2_ele_dEtaEleClVsEta_propOut->Fill( bestGsfElectron.eta(),bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
1220  h2_ele_dEtaEleClVsPhi_propOut->Fill(bestGsfElectron.phi(),bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
1221  h2_ele_dEtaEleClVsPt_propOut->Fill(bestGsfElectron.pt(),bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
1223  if (bestGsfElectron.isEB()) h1_ele_dPhiEleCl_propOut_barrel->Fill(bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
1224  if (bestGsfElectron.isEE()) h1_ele_dPhiEleCl_propOut_endcaps->Fill(bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
1225  h2_ele_dPhiEleClVsEta_propOut->Fill( bestGsfElectron.eta(),bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
1226  h2_ele_dPhiEleClVsPhi_propOut->Fill(bestGsfElectron.phi(),bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
1227  h2_ele_dPhiEleClVsPt_propOut->Fill(bestGsfElectron.pt(),bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
1228  h1_ele_HoE->Fill(bestGsfElectron.hadronicOverEm());
1229  h1_ele_HoE_bc->Fill(bestGsfElectron.hcalOverEcalBc());
1230  if (bestGsfElectron.isEB()) h1_ele_HoE_bc_barrel->Fill(bestGsfElectron.hcalOverEcalBc());
1231  if (bestGsfElectron.isEE()) h1_ele_HoE_bc_endcaps->Fill(bestGsfElectron.hcalOverEcalBc());
1232  if (bestGsfElectron.isEB()) h1_ele_HoE_barrel->Fill(bestGsfElectron.hadronicOverEm());
1233  if (bestGsfElectron.isEE()) h1_ele_HoE_endcaps->Fill(bestGsfElectron.hadronicOverEm());
1234  if (!bestGsfElectron.isEBEtaGap() && !bestGsfElectron.isEBPhiGap()&& !bestGsfElectron.isEBEEGap() &&
1235  !bestGsfElectron.isEERingGap() && !bestGsfElectron.isEEDeeGap()) h1_ele_HoE_fiducial->Fill(bestGsfElectron.hadronicOverEm());
1236  h2_ele_HoEVsEta->Fill( bestGsfElectron.eta(),bestGsfElectron.hadronicOverEm());
1237  h2_ele_HoEVsPhi->Fill(bestGsfElectron.phi(),bestGsfElectron.hadronicOverEm());
1238  h2_ele_HoEVsE->Fill(bestGsfElectron.caloEnergy(),bestGsfElectron.hadronicOverEm());
1239 
1240  //classes
1241  int eleClass = bestGsfElectron.classification();
1242  if (bestGsfElectron.isEE()) eleClass+=10;
1243  h1_ele_classes->Fill(eleClass);
1244 
1245  h1_ele_eta->Fill(std::abs(bestGsfElectron.eta()));
1246  if (bestGsfElectron.classification() == GsfElectron::GOLDEN) h1_ele_eta_golden->Fill(std::abs(bestGsfElectron.eta()));
1247  if (bestGsfElectron.classification() == GsfElectron::BIGBREM) h1_ele_eta_bbrem->Fill(std::abs(bestGsfElectron.eta()));
1248  //if (bestGsfElectron.classification() == GsfElectron::OLDNARROW) h1_ele_eta_narrow->Fill(std::abs(bestGsfElectron.eta()));
1249  if (bestGsfElectron.classification() == GsfElectron::SHOWERING) h1_ele_eta_shower->Fill(std::abs(bestGsfElectron.eta()));
1250 
1251  // fbrem
1252 
1253  double fbrem_mode = bestGsfElectron.fbrem();
1254  h1_ele_fbrem->Fill(fbrem_mode);
1255  p1_ele_fbremVsEta_mode->Fill(bestGsfElectron.eta(),fbrem_mode);
1256 
1257  if (bestGsfElectron.isEB())
1258  {
1259  double fbrem_mode_barrel = bestGsfElectron.fbrem();
1260  h1_ele_fbrem_barrel->Fill(fbrem_mode_barrel);
1261  }
1262 
1263  if (bestGsfElectron.isEE())
1264  {
1265  double fbrem_mode_endcaps = bestGsfElectron.fbrem();
1266  h1_ele_fbrem_endcaps->Fill(fbrem_mode_endcaps);
1267  }
1268 
1269 // new 2014/02/12
1270  double superclusterfbrem_mode = bestGsfElectron.superClusterFbrem();
1271  h1_ele_superclusterfbrem->Fill(superclusterfbrem_mode);
1272 
1273  if (bestGsfElectron.isEB())
1274  {
1275  double superclusterfbrem_mode_barrel = bestGsfElectron.superClusterFbrem();
1276  h1_ele_superclusterfbrem_barrel->Fill(superclusterfbrem_mode_barrel);
1277  }
1278 
1279  if (bestGsfElectron.isEE())
1280  {
1281  double superclusterfbrem_mode_endcaps = bestGsfElectron.superClusterFbrem();
1282  h1_ele_superclusterfbrem_endcaps->Fill(superclusterfbrem_mode_endcaps);
1283  }
1284 
1285  if (!readAOD_) // track extra does not exist in AOD
1286  {
1287  double fbrem_mean = 1. - bestGsfElectron.gsfTrack()->outerMomentum().R()/bestGsfElectron.gsfTrack()->innerMomentum().R();
1288  p1_ele_fbremVsEta_mean->Fill(bestGsfElectron.eta(),fbrem_mean) ;
1289  }
1290 
1291  //
1292 
1293  if (bestGsfElectron.classification() == GsfElectron::GOLDEN) h2_ele_PinVsPoutGolden_mode->Fill(bestGsfElectron.trackMomentumOut().R(), bestGsfElectron.trackMomentumAtVtx().R());
1294  if (bestGsfElectron.classification() == GsfElectron::SHOWERING)
1295  h2_ele_PinVsPoutShowering_mode->Fill(bestGsfElectron.trackMomentumOut().R(), bestGsfElectron.trackMomentumAtVtx().R());
1296  if (!readAOD_) // track extra does not exist in AOD
1297  if (bestGsfElectron.classification() == GsfElectron::GOLDEN)
1298  h2_ele_PinVsPoutGolden_mean->Fill(bestGsfElectron.gsfTrack()->outerMomentum().R(), bestGsfElectron.gsfTrack()->innerMomentum().R());
1299  if (!readAOD_) // track extra does not exist in AOD
1300  if (bestGsfElectron.classification() == GsfElectron::SHOWERING)
1301  h2_ele_PinVsPoutShowering_mean->Fill(bestGsfElectron.gsfTrack()->outerMomentum().R(), bestGsfElectron.gsfTrack()->innerMomentum().R());
1302  if (bestGsfElectron.classification() == GsfElectron::GOLDEN)
1303  h2_ele_PtinVsPtoutGolden_mode->Fill(bestGsfElectron.trackMomentumOut().Rho(), bestGsfElectron.trackMomentumAtVtx().Rho());
1304  if (bestGsfElectron.classification() == GsfElectron::SHOWERING)
1305  h2_ele_PtinVsPtoutShowering_mode->Fill(bestGsfElectron.trackMomentumOut().Rho(), bestGsfElectron.trackMomentumAtVtx().Rho());
1306  if (!readAOD_) // track extra does not exist in AOD
1307  if (bestGsfElectron.classification() == GsfElectron::GOLDEN)
1308  h2_ele_PtinVsPtoutGolden_mean->Fill(bestGsfElectron.gsfTrack()->outerMomentum().Rho(), bestGsfElectron.gsfTrack()->innerMomentum().Rho());
1309  if (!readAOD_) // track extra does not exist in AOD
1310  if (bestGsfElectron.classification() == GsfElectron::SHOWERING)
1311  h2_ele_PtinVsPtoutShowering_mean->Fill(bestGsfElectron.gsfTrack()->outerMomentum().Rho(), bestGsfElectron.gsfTrack()->innerMomentum().Rho());
1312 
1313  h1_ele_mva->Fill(bestGsfElectron.mva_e_pi());
1314  if (bestGsfElectron.isEB()) h1_ele_mva_barrel->Fill(bestGsfElectron.mva_e_pi());
1315  if (bestGsfElectron.isEE()) h1_ele_mva_endcaps->Fill(bestGsfElectron.mva_e_pi());
1316  h1_ele_mva_isolated->Fill(bestGsfElectron.mva_Isolated());
1317  if (bestGsfElectron.isEB()) h1_ele_mva_barrel_isolated->Fill(bestGsfElectron.mva_Isolated());
1318  if (bestGsfElectron.isEE()) h1_ele_mva_endcaps_isolated->Fill(bestGsfElectron.mva_Isolated());
1319  if (bestGsfElectron.ecalDrivenSeed()) h1_ele_provenance->Fill(1.);
1320  if (bestGsfElectron.trackerDrivenSeed()) h1_ele_provenance->Fill(-1.);
1321  if (bestGsfElectron.trackerDrivenSeed()||bestGsfElectron.ecalDrivenSeed()) h1_ele_provenance->Fill(0.);
1322  if (bestGsfElectron.trackerDrivenSeed()&&!bestGsfElectron.ecalDrivenSeed()) h1_ele_provenance->Fill(-2.);
1323  if (!bestGsfElectron.trackerDrivenSeed()&&bestGsfElectron.ecalDrivenSeed()) h1_ele_provenance->Fill(2.);
1324  if (bestGsfElectron.ecalDrivenSeed() && bestGsfElectron.isEB()) h1_ele_provenance_barrel->Fill(1.);
1325  if (bestGsfElectron.trackerDrivenSeed() && bestGsfElectron.isEB()) h1_ele_provenance_barrel->Fill(-1.);
1326  if ((bestGsfElectron.trackerDrivenSeed()||bestGsfElectron.ecalDrivenSeed()) && bestGsfElectron.isEB()) h1_ele_provenance_barrel->Fill(0.);
1327  if (bestGsfElectron.trackerDrivenSeed()&&!bestGsfElectron.ecalDrivenSeed() && bestGsfElectron.isEB()) h1_ele_provenance_barrel->Fill(-2.);
1328  if (!bestGsfElectron.trackerDrivenSeed()&&bestGsfElectron.ecalDrivenSeed() && bestGsfElectron.isEB()) h1_ele_provenance_barrel->Fill(2.);
1329  if (bestGsfElectron.ecalDrivenSeed() && bestGsfElectron.isEE()) h1_ele_provenance_endcaps->Fill(1.);
1330  if (bestGsfElectron.trackerDrivenSeed() && bestGsfElectron.isEE()) h1_ele_provenance_endcaps->Fill(-1.);
1331  if ((bestGsfElectron.trackerDrivenSeed()||bestGsfElectron.ecalDrivenSeed()) && bestGsfElectron.isEE()) h1_ele_provenance_endcaps->Fill(0.);
1332  if (bestGsfElectron.trackerDrivenSeed()&&!bestGsfElectron.ecalDrivenSeed() && bestGsfElectron.isEE()) h1_ele_provenance_endcaps->Fill(-2.);
1333  if (!bestGsfElectron.trackerDrivenSeed()&&bestGsfElectron.ecalDrivenSeed() && bestGsfElectron.isEE()) h1_ele_provenance_endcaps->Fill(2.);
1334 
1335  // Pflow isolation
1337  if (bestGsfElectron.isEB()) h1_ele_chargedHadronIso_barrel->Fill(bestGsfElectron.pfIsolationVariables().sumChargedHadronPt);
1338  if (bestGsfElectron.isEE()) h1_ele_chargedHadronIso_endcaps->Fill(bestGsfElectron.pfIsolationVariables().sumChargedHadronPt);
1339 
1341  if (bestGsfElectron.isEB()) h1_ele_neutralHadronIso_barrel->Fill(bestGsfElectron.pfIsolationVariables().sumNeutralHadronEt);
1342  if (bestGsfElectron.isEE()) h1_ele_neutralHadronIso_endcaps->Fill(bestGsfElectron.pfIsolationVariables().sumNeutralHadronEt);
1343 
1345  if (bestGsfElectron.isEB()) h1_ele_photonIso_barrel->Fill(bestGsfElectron.pfIsolationVariables().sumPhotonEt);
1346  if (bestGsfElectron.isEE()) h1_ele_photonIso_endcaps->Fill(bestGsfElectron.pfIsolationVariables().sumPhotonEt);
1347 
1348  // -- pflow over pT
1349  h1_ele_chargedHadronRelativeIso->Fill(bestGsfElectron.pfIsolationVariables().sumChargedHadronPt / bestGsfElectron.pt());
1350  if (bestGsfElectron.isEB()) h1_ele_chargedHadronRelativeIso_barrel->Fill(bestGsfElectron.pfIsolationVariables().sumChargedHadronPt / bestGsfElectron.pt());
1351  if (bestGsfElectron.isEE()) h1_ele_chargedHadronRelativeIso_endcaps->Fill(bestGsfElectron.pfIsolationVariables().sumChargedHadronPt / bestGsfElectron.pt());
1352 
1353  h1_ele_neutralHadronRelativeIso->Fill(bestGsfElectron.pfIsolationVariables().sumNeutralHadronEt / bestGsfElectron.pt());
1354  if (bestGsfElectron.isEB()) h1_ele_neutralHadronRelativeIso_barrel->Fill(bestGsfElectron.pfIsolationVariables().sumNeutralHadronEt / bestGsfElectron.pt());
1355  if (bestGsfElectron.isEE()) h1_ele_neutralHadronRelativeIso_endcaps->Fill(bestGsfElectron.pfIsolationVariables().sumNeutralHadronEt / bestGsfElectron.pt());
1356 
1357  h1_ele_photonRelativeIso->Fill(bestGsfElectron.pfIsolationVariables().sumPhotonEt / bestGsfElectron.pt());
1358  if (bestGsfElectron.isEB()) h1_ele_photonRelativeIso_barrel->Fill(bestGsfElectron.pfIsolationVariables().sumPhotonEt / bestGsfElectron.pt());
1359  if (bestGsfElectron.isEE()) h1_ele_photonRelativeIso_endcaps->Fill(bestGsfElectron.pfIsolationVariables().sumPhotonEt / bestGsfElectron.pt());
1360 
1361  // isolation
1362  h1_ele_tkSumPt_dr03->Fill(bestGsfElectron.dr03TkSumPt());
1363  if (bestGsfElectron.isEB()) h1_ele_tkSumPt_dr03_barrel->Fill(bestGsfElectron.dr03TkSumPt());
1364  if (bestGsfElectron.isEE()) h1_ele_tkSumPt_dr03_endcaps->Fill(bestGsfElectron.dr03TkSumPt());
1366  if (bestGsfElectron.isEB()) h1_ele_ecalRecHitSumEt_dr03_barrel->Fill(bestGsfElectron.dr03EcalRecHitSumEt());
1367  if (bestGsfElectron.isEE()) h1_ele_ecalRecHitSumEt_dr03_endcaps->Fill(bestGsfElectron.dr03EcalRecHitSumEt());
1369  if (bestGsfElectron.isEB()) h1_ele_hcalTowerSumEt_dr03_depth1_barrel->Fill(bestGsfElectron.dr03HcalDepth1TowerSumEt());
1370  if (bestGsfElectron.isEE()) h1_ele_hcalTowerSumEt_dr03_depth1_endcaps->Fill(bestGsfElectron.dr03HcalDepth1TowerSumEt());
1373  if (bestGsfElectron.isEB()) h1_ele_hcalTowerSumEtBc_dr03_depth1_barrel->Fill(bestGsfElectron.dr03HcalDepth1TowerSumEtBc());
1374  if (bestGsfElectron.isEE()) h1_ele_hcalTowerSumEtBc_dr03_depth1_endcaps->Fill(bestGsfElectron.dr03HcalDepth1TowerSumEtBc());
1376  if (bestGsfElectron.isEB()) h1_ele_hcalTowerSumEtBc_dr03_depth2_barrel->Fill(bestGsfElectron.dr03HcalDepth2TowerSumEtBc());
1377  if (bestGsfElectron.isEE()) h1_ele_hcalTowerSumEtBc_dr03_depth2_endcaps->Fill(bestGsfElectron.dr03HcalDepth2TowerSumEtBc());
1378  h1_ele_tkSumPt_dr04->Fill(bestGsfElectron.dr04TkSumPt());
1379  if (bestGsfElectron.isEB()) h1_ele_tkSumPt_dr04_barrel->Fill(bestGsfElectron.dr04TkSumPt());
1380  if (bestGsfElectron.isEE()) h1_ele_tkSumPt_dr04_endcaps->Fill(bestGsfElectron.dr04TkSumPt());
1382  if (bestGsfElectron.isEB()) h1_ele_ecalRecHitSumEt_dr04_barrel->Fill(bestGsfElectron.dr04EcalRecHitSumEt());
1383  if (bestGsfElectron.isEE()) h1_ele_ecalRecHitSumEt_dr04_endcaps->Fill(bestGsfElectron.dr04EcalRecHitSumEt());
1385  if (bestGsfElectron.isEB()) h1_ele_hcalTowerSumEt_dr04_depth1_barrel->Fill(bestGsfElectron.dr04HcalDepth1TowerSumEt());
1386  if (bestGsfElectron.isEE()) h1_ele_hcalTowerSumEt_dr04_depth1_endcaps->Fill(bestGsfElectron.dr04HcalDepth1TowerSumEt());
1389  if (bestGsfElectron.isEB()) h1_ele_hcalTowerSumEtBc_dr04_depth1_barrel->Fill(bestGsfElectron.dr04HcalDepth1TowerSumEtBc());
1390  if (bestGsfElectron.isEE()) h1_ele_hcalTowerSumEtBc_dr04_depth1_endcaps->Fill(bestGsfElectron.dr04HcalDepth1TowerSumEtBc());
1392  if (bestGsfElectron.isEB()) h1_ele_hcalTowerSumEtBc_dr04_depth2_barrel->Fill(bestGsfElectron.dr04HcalDepth2TowerSumEtBc());
1393  if (bestGsfElectron.isEE()) h1_ele_hcalTowerSumEtBc_dr04_depth2_endcaps->Fill(bestGsfElectron.dr04HcalDepth2TowerSumEtBc());
1394 
1396  if (bestGsfElectron.isEB()) h1_ele_hcalDepth1OverEcalBc_barrel->Fill(bestGsfElectron.hcalDepth1OverEcalBc());
1397  if (bestGsfElectron.isEE()) h1_ele_hcalDepth1OverEcalBc_endcaps->Fill(bestGsfElectron.hcalDepth1OverEcalBc());
1399  if (bestGsfElectron.isEB()) h1_ele_hcalDepth2OverEcalBc_barrel->Fill(bestGsfElectron.hcalDepth2OverEcalBc());
1400  if (bestGsfElectron.isEE()) h1_ele_hcalDepth2OverEcalBc_endcaps->Fill(bestGsfElectron.hcalDepth2OverEcalBc());
1401 
1402  // conversion rejection
1403  int flags = bestGsfElectron.convFlags() ;
1404  if (flags==-9999) { flags=-1 ; }
1405  h1_ele_convFlags->Fill(flags);
1406  if (flags>=0.)
1407  {
1408  h1_ele_convDist->Fill( bestGsfElectron.convDist() );
1409  h1_ele_convDcot->Fill( bestGsfElectron.convDcot() );
1410  h1_ele_convRadius->Fill( bestGsfElectron.convRadius() );
1411  }
1412 
1413  } // gsf electron found
1414 
1415  } // loop overmatching object
1416 
1417  h1_matchingObjectNum->Fill(matchingObjectNum) ;
1418 
1419  }
const PflowIsolationVariables & pfIsolationVariables() const
Definition: GsfElectron.h:687
MonitorElement * h2_ele_ambiguousTracksVsPhi
MonitorElement * h1_ele_matchingObjectPt_matched
GsfTrackRef gsfTrack() const override
reference to a GsfTrack
Definition: GsfElectron.h:186
MonitorElement * h2_ele_foundHitsVsEta
MonitorElement * h2_ele_EtaMnEtamatchingObjectVsEta
MonitorElement * h2_ele_seed_dphi2posVsPt_
MonitorElement * h1_ele_dEtaSc_propVtx
MonitorElement * h1_ele_provenance_endcaps
MonitorElement * h1_ele_dEtaEleCl_propOut_barrel
MonitorElement * h1_ele_dEtaCl_propOut_endcaps
MonitorElement * h1_ele_hcalDepth1OverEcalBc_endcaps
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:251
double eta() const final
momentum pseudorapidity
MonitorElement * h1_ele_ecalRecHitSumEt_dr04_barrel
MonitorElement * h1_scl_E2x5max_barrel_
MonitorElement * h1_ele_seed_mask_bpix_
MonitorElement * h1_ele_PhiMnPhimatchingObject2
bool isEBEtaGap() const
Definition: GsfElectron.h:361
float dr03HcalDepth1TowerSumEtBc() const
Definition: GsfElectron.h:558
virtual SuperClusterRef parentSuperCluster() const
Definition: GsfElectron.h:190
MonitorElement * h1_ele_hcalTowerSumEtBc_dr03_depth2
MonitorElement * h1_ele_hcalTowerSumEtBc_dr04_depth2_endcaps
MonitorElement * h1_ele_matchingObjectAbsEta_matched
float eSuperClusterOverP() const
Definition: GsfElectron.h:249
MonitorElement * h1_ele_ecalRecHitSumEt_dr03
MonitorElement * h2_ele_EtaMnEtamatchingObjectVsPt
edm::EDGetTokenT< reco::ElectronSeedCollection > electronSeedCollection_
MonitorElement * h2_ele_PoPmatchingObjectVsPhi
bool isEBEEGap() const
Definition: GsfElectron.h:359
float dr04HcalDepth1TowerSumEt() const
Definition: GsfElectron.h:567
MonitorElement * h1_ele_photonIso_barrel
MonitorElement * h1_ele_ecalRecHitSumEt_dr03_barrel
MonitorElement * h1_ele_tkSumPt_dr03_endcaps
MonitorElement * h1_ele_dPhiCl_propOut_all
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsEcalReduced04Tag_
MonitorElement * h2_ele_ambiguousTracksVsPt
MonitorElement * h1_ele_hcalTowerSumEtBc_dr04_depth1_endcaps
MonitorElement * h2_ele_PtinVsPtoutGolden_mode
MonitorElement * h1_ele_EseedOP_endcaps
MonitorElement * h1_ele_hcalDepth2OverEcalBc
math::XYZVectorF trackMomentumAtVtx() const
Definition: GsfElectron.h:295
MonitorElement * h1_ele_photonIso_endcaps
MonitorElement * p1_ele_fbremVsEta_mode
MonitorElement * h1_ele_chargedHadronIso_endcaps
MonitorElement * h1_ele_neutralHadronIso_endcaps
MonitorElement * h1_matchingObjectAbsEta
MonitorElement * p1_ele_fbremVsEta_mean
MonitorElement * h1_ele_mva_endcaps_isolated
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsEcalFull03Tag_
MonitorElement * h2_ele_PinVsPoutShowering_mode
MonitorElement * h1_ele_hcalTowerSumEt_dr03_depth1_barrel
edm::EDGetTokenT< reco::GenJetCollection > matchingObjectCollection_
float dr04TkSumPt() const
Definition: GsfElectron.h:564
std::vector< Variable::Flags > flags
Definition: MVATrainer.cc:135
MonitorElement * h1_ele_tkSumPt_dr03_barrel
double pt() const final
transverse momentum
MonitorElement * h2_ele_vertexTIPVsPhi
edm::EDGetTokenT< reco::GsfTrackCollection > electronTrackCollection_
int charge() const final
electric charge
Definition: LeafCandidate.h:91
bool isEERingGap() const
Definition: GsfElectron.h:365
float dr03HcalDepth2TowerSumEt() const
Definition: GsfElectron.h:556
MonitorElement * h1_ele_dEtaSc_propVtx_all
float fbrem() const
Definition: GsfElectron.h:772
float scE2x5Max() const
Definition: GsfElectron.h:493
MonitorElement * h1_ele_hcalTowerSumEtBc_dr04_depth1_barrel
MonitorElement * h1_ele_hcalDepth1OverEcalBc_barrel
MonitorElement * h1_ele_dPhiSc_propVtx_all
MonitorElement * h2_ele_dPhiScVsPhi_propVtx
MonitorElement * h2_ele_dPhiScVsEta_propVtx
MonitorElement * h2_ele_dPhiEleClVsPhi_propOut
float convDist() const
Definition: GsfElectron.h:618
MonitorElement * h1_ele_dEtaCl_propOut_all
MonitorElement * h2_ele_PinVsPoutShowering_mean
float convRadius() const
Definition: GsfElectron.h:620
MonitorElement * h2_ele_E2mnE1vsMee_all
MonitorElement * h2_ele_seed_drz2VsPt_
uint16_t size_type
bool isEEDeeGap() const
Definition: GsfElectron.h:364
MonitorElement * h1_ele_HoE_bc_endcaps
MonitorElement * h1_ele_superclusterfbrem_endcaps
MonitorElement * h1_ele_neutralHadronRelativeIso_endcaps
MonitorElement * h1_scl_full5x5_sigmaIetaIeta_endcaps_
float superClusterFbrem() const
Definition: GsfElectron.h:766
MonitorElement * h2_ele_ambiguousTracksVsEta
MonitorElement * h2_ele_outerPtVsPt_mode
bool isEE() const
Definition: GsfElectron.h:357
bool isEB() const
Definition: GsfElectron.h:356
MonitorElement * h2_ele_E2mnE1vsMee_egeg_all
MonitorElement * h2_ele_PtinVsPtoutShowering_mean
void Fill(long long x)
MonitorElement * h2_ele_PhiMnPhimatchingObjectVsPt
const Double_t pi
MonitorElement * h2_ele_dEtaEleClVsEta_propOut
MonitorElement * h2_ele_PinMnPoutVsChi2_mode
float convDcot() const
Definition: GsfElectron.h:619
float full5x5_sigmaIetaIeta() const
Definition: GsfElectron.h:462
MonitorElement * h1_ele_matchingObjectEta_matched
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
MonitorElement * h1_scl_E2x5max_endcaps_
float dr04HcalDepth2TowerSumEt() const
Definition: GsfElectron.h:568
MonitorElement * h2_ele_EeleOPoutVsEta
MonitorElement * h2_ele_PinMnPoutVsPt_mode
MonitorElement * h1_ele_dEtaCl_propOut
float deltaEtaSuperClusterTrackAtVtx() const
Definition: GsfElectron.h:253
int iEvent
Definition: GenABIO.cc:224
MonitorElement * h2_ele_dEtaScVsEta_propVtx
MonitorElement * h1_ele_hcalTowerSumEtBc_dr04_depth1
MonitorElement * h2_ele_foundHitsVsPhi
float hadronicOverEm() const
Definition: GsfElectron.h:495
float dr03HcalDepth2TowerSumEtBc() const
Definition: GsfElectron.h:559
MonitorElement * h1_ele_chargedHadronRelativeIso_barrel
MonitorElement * h2_ele_dEtaScVsPt_propVtx
float eSeedClusterOverP() const
Definition: GsfElectron.h:250
MonitorElement * h2_ele_PtinVsPtoutShowering_mode
MonitorElement * h2_ele_dEtaClVsPt_propOut
MonitorElement * h1_ele_PhiMnPhimatchingObject
float dr04EcalRecHitSumEt() const
Definition: GsfElectron.h:566
MonitorElement * h1_ele_dPhiCl_propOut
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsHcal04Tag_
MonitorElement * h1_recOfflineVertices_
MonitorElement * h1_scl_EoEmatchingObject_barrel
MonitorElement * h1_ele_hcalTowerSumEt_dr03_depth2
MonitorElement * h2_ele_PoPmatchingObjectVsEta
float deltaPhiSeedClusterTrackAtCalo() const
Definition: GsfElectron.h:257
MonitorElement * h2_ele_dPhiClVsPt_propOut
MonitorElement * h1_ele_chargedHadronIso_barrel
T sqrt(T t)
Definition: SSEVec.h:18
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsTk04Tag_
math::XYZVectorF trackMomentumOut() const
Definition: GsfElectron.h:297
MonitorElement * h2_ele_dPhiEleClVsPt_propOut
MonitorElement * h1_ele_tkSumPt_dr04_endcaps
float sumPhotonEt
sum pt of PF photons // old float photonIso ;
Definition: GsfElectron.h:641
float deltaPhiSuperClusterTrackAtVtx() const
Definition: GsfElectron.h:256
MonitorElement * h1_ele_hcalDepth1OverEcalBc
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsTk03Tag_
MonitorElement * h2_ele_dEtaEleClVsPhi_propOut
const Point & vertex() const override
vertex position (overwritten by PF...)
MonitorElement * h1_ele_dEtaEleCl_propOut_endcaps
MonitorElement * h1_ele_PoPmatchingObject
const double infinity
MonitorElement * h1_ele_hcalTowerSumEtBc_dr03_depth1
float dr04HcalDepth1TowerSumEtBc() const
Definition: GsfElectron.h:570
float dr03TkSumPt() const
Definition: GsfElectron.h:552
MonitorElement * h1_ele_convRadius_all
MonitorElement * h2_ele_PinMnPoutVsEta_mode
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
MonitorElement * h1_ele_hcalTowerSumEtBc_dr04_depth2
MonitorElement * h1_ele_neutralHadronIso_barrel
float dr03HcalDepth1TowerSumEt() const
Definition: GsfElectron.h:555
MonitorElement * h1_ele_photonRelativeIso_endcaps
float eEleClusterOverPout() const
Definition: GsfElectron.h:252
edm::EDGetTokenT< reco::VertexCollection > offlineVerticesCollection_
float sumNeutralHadronEt
sum pt of neutral hadrons // old float neutralHadronIso ;
Definition: GsfElectron.h:640
float eSeedClusterOverPout() const
Definition: GsfElectron.h:251
MonitorElement * h2_ele_vertexEtaVsPhi
MonitorElement * h1_ele_seed_mask_tec_
MonitorElement * h2_ele_outerPtVsPhi_mode
MonitorElement * h1_ele_dPhiCl_propOut_endcaps
MonitorElement * h1_ele_hcalTowerSumEt_dr03_depth1_endcaps
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsEcalReduced03Tag_
MonitorElement * h2_ele_seed_drz2posVsEta_
bool isValid() const
Definition: HandleBase.h:74
float hcalOverEcalBc() const
Definition: GsfElectron.h:452
MonitorElement * h1_ele_superclusterfbrem_barrel
MonitorElement * h2_ele_vertexTIPVsEta
MonitorElement * h1_ele_chargedHadronRelativeIso
MonitorElement * h1_ele_hcalTowerSumEt_dr03_depth1
MonitorElement * h2_ele_PinMnPoutVsE_mode
MonitorElement * h2_ele_PinMnPoutVsPhi_mode
MonitorElement * h2_ele_dEtaEleClVsPt_propOut
float scSigmaIEtaIEta() const
Definition: GsfElectron.h:491
edm::Ref< GsfElectronCollection > GsfElectronRef
reference to an object in a collection of GsfElectron objects
float deltaPhiEleClusterTrackAtCalo() const
Definition: GsfElectron.h:258
MonitorElement * h2_ele_PoPmatchingObjectVsPt
MonitorElement * h1_ele_seed_dphi2pos_
MonitorElement * h1_ele_neutralHadronRelativeIso_barrel
edm::EDGetTokenT< reco::GsfElectronCollection > electronCollection_
MonitorElement * h2_ele_dEtaClVsEta_propOut
MonitorElement * h1_ele_mva_barrel_isolated
MonitorElement * h1_ele_superclusterfbrem
MonitorElement * h1_scl_EoEmatchingObject_endcaps
MonitorElement * h2_ele_PinVsPoutGolden_mode
double p() const final
magnitude of momentum vector
MonitorElement * h1_ele_tkSumPt_dr04_barrel
MonitorElement * h1_ele_ecalRecHitSumEt_dr04
MonitorElement * h1_scl_full5x5_sigmaIetaIeta_
MonitorElement * h1_ele_photonRelativeIso
MonitorElement * h2_ele_seed_dphi2VsPt_
T const * product() const
Definition: Handle.h:74
MonitorElement * h1_ele_hcalTowerSumEt_dr04_depth1_endcaps
MonitorElement * h2_ele_dEtaClVsPhi_propOut
MonitorElement * h2_ele_seed_drz2VsEta_
edm::EDGetTokenT< reco::BeamSpot > beamSpotTag_
float deltaEtaEleClusterTrackAtCalo() const
Definition: GsfElectron.h:255
MonitorElement * h1_ele_PoPmatchingObject_endcaps
MonitorElement * h1_ele_dEtaSc_propVtx_barrel
Classification classification() const
Definition: GsfElectron.h:768
MonitorElement * h2_ele_outerPtVsEta_mode
float hcalDepth2OverEcalBc() const
Definition: GsfElectron.h:451
REF castTo() const
Definition: RefToBase.h:289
MonitorElement * h1_ele_hcalTowerSumEtBc_dr03_depth1_barrel
MonitorElement * h1_ele_seed_mask_fpix_
MonitorElement * h1_ele_hcalTowerSumEt_dr04_depth1_barrel
GsfTrackRefVector::size_type ambiguousGsfTracksSize() const
Definition: GsfElectron.h:722
float dr04HcalDepth2TowerSumEtBc() const
Definition: GsfElectron.h:571
MonitorElement * h1_ele_hcalTowerSumEtBc_dr03_depth1_endcaps
MonitorElement * h2_ele_PinVsPoutGolden_mean
MonitorElement * h1_ele_EeleOPout_barrel
double py() const final
y coordinate of momentum vector
MonitorElement * h2_ele_EeleOPoutVsPhi
MonitorElement * h1_ele_dPhiSc_propVtx
MonitorElement * h1_ele_hcalTowerSumEt_dr04_depth2
MonitorElement * h1_scl_SigIEtaIEta_barrel_
MonitorElement * h1_ele_photonRelativeIso_barrel
float mva_Isolated() const
Definition: GsfElectron.h:701
MonitorElement * h1_ele_neutralHadronIso
float dr03EcalRecHitSumEt() const
Definition: GsfElectron.h:554
float mva_e_pi() const
Definition: GsfElectron.h:702
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsHcal03Tag_
MonitorElement * h2_ele_dPhiClVsPhi_propOut
MonitorElement * h2_ele_seed_dphi2posVsEta_
MonitorElement * h1_ele_EoPout_endcaps
float deltaEtaSeedClusterTrackAtCalo() const
Definition: GsfElectron.h:254
MonitorElement * h2_ele_PhiMnPhimatchingObjectVsEta
MonitorElement * h2_ele_EtaMnEtamatchingObjectVsPhi
MonitorElement * h1_ele_matchingObjectPhi_matched
MonitorElement * h1_ele_ecalRecHitSumEt_dr03_endcaps
MonitorElement * h1_scl_SigIEtaIEta_endcaps_
MonitorElement * h1_ele_EtaMnEtamatchingObject
int convFlags() const
Definition: GsfElectron.h:616
MonitorElement * h1_ele_dPhiEleCl_propOut_endcaps
MonitorElement * h2_ele_dEtaScVsPhi_propVtx
MonitorElement * h2_ele_PhiMnPhimatchingObjectVsPhi
MonitorElement * h1_ele_hcalDepth2OverEcalBc_barrel
bool isEBPhiGap() const
Definition: GsfElectron.h:362
MonitorElement * h1_ele_dPhiEleCl_propOut
SuperClusterRef superCluster() const override
reference to a SuperCluster
Definition: GsfElectron.h:185
MonitorElement * h1_ele_EseedOP_barrel
MonitorElement * h1_scl_ESFrac_endcaps
bool trackerDrivenSeed() const
Definition: GsfElectron.h:189
MonitorElement * h1_ele_dEtaEleCl_propOut
MonitorElement * h2_ele_seed_drz2posVsPt_
MonitorElement * h1_ele_hcalTowerSumEtBc_dr03_depth2_endcaps
const Point & position() const
position
Definition: BeamSpot.h:62
float scE5x5() const
Definition: GsfElectron.h:494
edm::EDGetTokenT< edm::ValueMap< double > > isoFromDepsEcalFull04Tag_
MonitorElement * h1_ele_dPhiSc_propVtx_endcaps
MonitorElement * h1_ele_dEtaSc_propVtx_endcaps
MonitorElement * h2_ele_seed_dphi2VsEta_
MonitorElement * h1_ele_hcalTowerSumEtBc_dr04_depth2_barrel
MonitorElement * h2_ele_dPhiClVsEta_propOut
MonitorElement * h1_ele_dEtaCl_propOut_barrel
MonitorElement * h2_ele_dPhiScVsPt_propVtx
float hcalDepth1OverEcalBc() const
Definition: GsfElectron.h:450
MonitorElement * h1_ele_dPhiSc_propVtx_barrel
MonitorElement * h1_ele_hcalTowerSumEt_dr04_depth1
MonitorElement * h1_ele_hcalDepth2OverEcalBc_endcaps
float sumChargedHadronPt
sum-pt of charged Hadron // old float chargedHadronIso ;
Definition: GsfElectron.h:639
MonitorElement * h1_ele_dPhiCl_propOut_barrel
float caloEnergy() const
Definition: GsfElectron.h:863
MonitorElement * h1_ele_chargedHadronIso
double phi() const final
momentum azimuthal angle
MonitorElement * h1_ele_matchingObjectZ_matched
MonitorElement * h2_ele_PtinVsPtoutGolden_mean
MonitorElement * h1_ele_dPhiEleCl_propOut_barrel
edm::EDGetTokenT< reco::GsfElectronCoreCollection > electronCoreCollection_
MonitorElement * h1_ele_neutralHadronRelativeIso
MonitorElement * h1_ele_hcalTowerSumEtBc_dr03_depth2_barrel
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:40
MonitorElement * h1_ele_provenance_barrel
MonitorElement * h1_ele_PinMnPout_mode
MonitorElement * h2_ele_outerPVsEta_mode
MonitorElement * h1_ele_PoPmatchingObject_barrel
float scE1x5() const
Definition: GsfElectron.h:492
MonitorElement * h1_scl_full5x5_sigmaIetaIeta_barrel_
MonitorElement * h2_ele_dPhiEleClVsEta_propOut
MonitorElement * h1_ele_ambiguousTracks
bool ecalDrivenSeed() const
Definition: GsfElectron.h:188
MonitorElement * h1_ele_ecalRecHitSumEt_dr04_endcaps
MonitorElement * h1_ele_EeleOPout_endcaps
MonitorElement * h1_ele_chargedHadronRelativeIso_endcaps
void ElectronMcFakeValidator::bookHistograms ( DQMStore::IBooker iBooker,
edm::Run const &  ,
edm::EventSetup const &   
)
override

Definition at line 439 of file ElectronMcFakeValidator.cc.

References ElectronDqmAnalyzerBase::bookH1(), ElectronDqmAnalyzerBase::bookH1withSumw2(), ElectronDqmAnalyzerBase::bookH2(), 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_chargedHadronRelativeIso, h1_ele_chargedHadronRelativeIso_barrel, h1_ele_chargedHadronRelativeIso_endcaps, h1_ele_chi2, h1_ele_classes, h1_ele_convDcot, h1_ele_convDcot_all, h1_ele_convDist, h1_ele_convDist_all, h1_ele_convFlags, h1_ele_convFlags_all, h1_ele_convRadius, h1_ele_convRadius_all, h1_ele_dEtaCl_propOut, h1_ele_dEtaCl_propOut_all, h1_ele_dEtaCl_propOut_barrel, h1_ele_dEtaCl_propOut_endcaps, h1_ele_dEtaEleCl_propOut, h1_ele_dEtaEleCl_propOut_barrel, h1_ele_dEtaEleCl_propOut_endcaps, h1_ele_dEtaSc_propVtx, h1_ele_dEtaSc_propVtx_all, h1_ele_dEtaSc_propVtx_barrel, h1_ele_dEtaSc_propVtx_endcaps, h1_ele_dPhiCl_propOut, h1_ele_dPhiCl_propOut_all, h1_ele_dPhiCl_propOut_barrel, h1_ele_dPhiCl_propOut_endcaps, h1_ele_dPhiEleCl_propOut, h1_ele_dPhiEleCl_propOut_barrel, h1_ele_dPhiEleCl_propOut_endcaps, h1_ele_dPhiSc_propVtx, h1_ele_dPhiSc_propVtx_all, h1_ele_dPhiSc_propVtx_barrel, h1_ele_dPhiSc_propVtx_endcaps, h1_ele_ecalRecHitSumEt_dr03, h1_ele_ecalRecHitSumEt_dr03_barrel, h1_ele_ecalRecHitSumEt_dr03_endcaps, h1_ele_ecalRecHitSumEt_dr04, h1_ele_ecalRecHitSumEt_dr04_barrel, h1_ele_ecalRecHitSumEt_dr04_endcaps, h1_ele_EeleOPout, h1_ele_EeleOPout_all, h1_ele_EeleOPout_barrel, h1_ele_EeleOPout_endcaps, h1_ele_EoP, h1_ele_EoP_barrel, h1_ele_EoP_endcaps, h1_ele_EoPout, h1_ele_EoPout_all, h1_ele_EoPout_barrel, h1_ele_EoPout_endcaps, h1_ele_EoverP_all, h1_ele_EseedOP, h1_ele_EseedOP_all, h1_ele_EseedOP_barrel, h1_ele_EseedOP_endcaps, h1_ele_eta, h1_ele_eta_bbrem, h1_ele_eta_golden, h1_ele_eta_shower, h1_ele_EtaMnEtamatchingObject, h1_ele_fbrem, h1_ele_fbrem_barrel, h1_ele_fbrem_endcaps, h1_ele_foundHits, 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_dr04_depth1, h1_ele_hcalTowerSumEt_dr04_depth1_barrel, h1_ele_hcalTowerSumEt_dr04_depth1_endcaps, h1_ele_hcalTowerSumEt_dr04_depth2, 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_endcaps, h1_ele_HoE_fiducial, h1_ele_lostHits, h1_ele_matchingObjectAbsEta_matched, h1_ele_matchingObjectEta_matched, h1_ele_matchingObjectPhi_matched, h1_ele_matchingObjectPt_matched, h1_ele_matchingObjectZ_matched, h1_ele_mee_all, h1_ele_mee_os, h1_ele_mva, h1_ele_mva_barrel, h1_ele_mva_barrel_isolated, h1_ele_mva_endcaps, h1_ele_mva_endcaps_isolated, h1_ele_mva_isolated, h1_ele_neutralHadronIso, h1_ele_neutralHadronIso_barrel, h1_ele_neutralHadronIso_endcaps, h1_ele_neutralHadronRelativeIso, h1_ele_neutralHadronRelativeIso_barrel, h1_ele_neutralHadronRelativeIso_endcaps, h1_ele_outerP, h1_ele_outerP_mode, h1_ele_outerPt, h1_ele_outerPt_mode, h1_ele_PhiMnPhimatchingObject, h1_ele_PhiMnPhimatchingObject2, h1_ele_photonIso, h1_ele_photonIso_barrel, h1_ele_photonIso_endcaps, h1_ele_photonRelativeIso, h1_ele_photonRelativeIso_barrel, h1_ele_photonRelativeIso_endcaps, h1_ele_PinMnPout, h1_ele_PinMnPout_mode, h1_ele_PoPmatchingObject, h1_ele_PoPmatchingObject_barrel, h1_ele_PoPmatchingObject_endcaps, h1_ele_provenance, h1_ele_provenance_barrel, h1_ele_provenance_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_superclusterfbrem, h1_ele_superclusterfbrem_barrel, h1_ele_superclusterfbrem_endcaps, 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_matchingObjectAbsEta, h1_matchingObjectEta, h1_matchingObjectNum, h1_matchingObjectP, h1_matchingObjectPhi, h1_matchingObjectPt, h1_matchingObjectZ, h1_recCoreNum_, h1_recEleNum_, h1_recOfflineVertices_, h1_recSeedNum_, h1_recTrackNum_, h1_scl_E1x5_, h1_scl_E1x5_barrel_, h1_scl_E1x5_endcaps_, h1_scl_E2x5max_, h1_scl_E2x5max_barrel_, h1_scl_E2x5max_endcaps_, h1_scl_E5x5_, h1_scl_E5x5_barrel_, h1_scl_E5x5_endcaps_, h1_scl_En_, h1_scl_EoEmatchingObject_barrel, h1_scl_EoEmatchingObject_endcaps, h1_scl_EoEmatchingObjectGolden_barrel, h1_scl_EoEmatchingObjectGolden_endcaps, h1_scl_EoEmatchingObjectShowering_barrel, h1_scl_EoEmatchingObjectShowering_endcaps, h1_scl_ESFrac_endcaps, h1_scl_Et_, h1_scl_Eta_, h1_scl_full5x5_sigmaIetaIeta_, h1_scl_full5x5_sigmaIetaIeta_barrel_, h1_scl_full5x5_sigmaIetaIeta_endcaps_, h1_scl_Phi_, h1_scl_SigIEtaIEta_, h1_scl_SigIEtaIEta_barrel_, 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_EtaMnEtamatchingObjectVsEta, h2_ele_EtaMnEtamatchingObjectVsPhi, h2_ele_EtaMnEtamatchingObjectVsPt, 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_PhiMnPhimatchingObjectVsEta, h2_ele_PhiMnPhimatchingObjectVsPhi, h2_ele_PhiMnPhimatchingObjectVsPt, 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_PoPmatchingObjectVsEta, h2_ele_PoPmatchingObjectVsPhi, h2_ele_PoPmatchingObjectVsPt, 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_scl_EtaVsPhi_, h2_scl_EtVsEta_, h2_scl_EtVsPhi_, hoe_max, hoe_min, hoe_nbin, lhits_max, lhits_nbin, mee_max, mee_min, mee_nbin, outputInternalPath_, p1_ele_fbremVsEta_mean, p1_ele_fbremVsEta_mode, p2D_nbin, p_max, p_nbin, phi2D_nbin, phi_max, phi_min, phi_nbin, pi, popmatching_max, popmatching_min, popmatching_nbin, pt2D_nbin, pt_max, pt_nbin, pteff_nbin, set_EfficiencyFlag, set_StatOverflowFlag, ElectronDqmAnalyzerBase::setBookEfficiencyFlag(),