CMS 3D CMS Logo

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

#include <GsfElectronFakeAnalyzer.h>

Inheritance diagram for GsfElectronFakeAnalyzer:
edm::one::EDAnalyzer<> edm::one::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c) override
 
void beginJob () override
 
void endJob () override
 
 GsfElectronFakeAnalyzer (const edm::ParameterSet &conf)
 
 ~GsfElectronFakeAnalyzer () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer<>
 EDAnalyzer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Attributes

edm::InputTag beamSpot_
 
double deltaR_
 
double detamatchmax
 
double detamatchmin
 
double detamax
 
double detamin
 
double dphimatchmax
 
double dphimatchmin
 
double dphimax
 
double dphimin
 
edm::InputTag electronCollection_
 
double eopmax
 
double eopmaxsht
 
double etamax
 
double etamin
 
double fhitsmax
 
TH1F * h_ele_ambiguousTracks
 
TH2F * h_ele_ambiguousTracksVsEta
 
TH2F * h_ele_ambiguousTracksVsPhi
 
TH2F * h_ele_ambiguousTracksVsPt
 
TH1F * h_ele_charge
 
TH2F * h_ele_chargeVsEta
 
TH2F * h_ele_chargeVsPhi
 
TH2F * h_ele_chargeVsPt
 
TH1F * h_ele_chi2
 
TH1F * h_ele_chi2_barrel
 
TH1F * h_ele_chi2_endcaps
 
TH2F * h_ele_chi2VsEta
 
TH2F * h_ele_chi2VsPhi
 
TH2F * h_ele_chi2VsPt
 
TH1F * h_ele_classes
 
TH1F * h_ele_dEtaCl_propOut
 
TH1F * h_ele_dEtaCl_propOut_all
 
TH1F * h_ele_dEtaCl_propOut_all_barrel
 
TH1F * h_ele_dEtaCl_propOut_all_endcaps
 
TH1F * h_ele_dEtaCl_propOut_barrel
 
TH1F * h_ele_dEtaCl_propOut_eg
 
TH1F * h_ele_dEtaCl_propOut_eg_barrel
 
TH1F * h_ele_dEtaCl_propOut_eg_endcaps
 
TH1F * h_ele_dEtaCl_propOut_endcaps
 
TH2F * h_ele_dEtaClVsEta_propOut
 
TH2F * h_ele_dEtaClVsPhi_propOut
 
TH2F * h_ele_dEtaClVsPt_propOut
 
TH1F * h_ele_dEtaEleCl_propOut
 
TH1F * h_ele_dEtaEleCl_propOut_barrel
 
TH1F * h_ele_dEtaEleCl_propOut_eg
 
TH1F * h_ele_dEtaEleCl_propOut_eg_barrel
 
TH1F * h_ele_dEtaEleCl_propOut_eg_endcaps
 
TH1F * h_ele_dEtaEleCl_propOut_endcaps
 
TH2F * h_ele_dEtaEleClVsEta_propOut
 
TH2F * h_ele_dEtaEleClVsPhi_propOut
 
TH2F * h_ele_dEtaEleClVsPt_propOut
 
TH1F * h_ele_dEtaSc_propVtx
 
TH1F * h_ele_dEtaSc_propVtx_all
 
TH1F * h_ele_dEtaSc_propVtx_all_barrel
 
TH1F * h_ele_dEtaSc_propVtx_all_endcaps
 
TH1F * h_ele_dEtaSc_propVtx_barrel
 
TH1F * h_ele_dEtaSc_propVtx_eg
 
TH1F * h_ele_dEtaSc_propVtx_eg_barrel
 
TH1F * h_ele_dEtaSc_propVtx_eg_endcaps
 
TH1F * h_ele_dEtaSc_propVtx_endcaps
 
TH2F * h_ele_dEtaScVsEta_propVtx
 
TH2F * h_ele_dEtaScVsPhi_propVtx
 
TH2F * h_ele_dEtaScVsPt_propVtx
 
TH1F * h_ele_dPhiCl_propOut
 
TH1F * h_ele_dPhiCl_propOut_all
 
TH1F * h_ele_dPhiCl_propOut_all_barrel
 
TH1F * h_ele_dPhiCl_propOut_all_endcaps
 
TH1F * h_ele_dPhiCl_propOut_barrel
 
TH1F * h_ele_dPhiCl_propOut_eg
 
TH1F * h_ele_dPhiCl_propOut_eg_barrel
 
TH1F * h_ele_dPhiCl_propOut_eg_endcaps
 
TH1F * h_ele_dPhiCl_propOut_endcaps
 
TH2F * h_ele_dPhiClVsEta_propOut
 
TH2F * h_ele_dPhiClVsPhi_propOut
 
TH2F * h_ele_dPhiClVsPt_propOut
 
TH1F * h_ele_dPhiEleCl_propOut
 
TH1F * h_ele_dPhiEleCl_propOut_barrel
 
TH1F * h_ele_dPhiEleCl_propOut_eg
 
TH1F * h_ele_dPhiEleCl_propOut_eg_barrel
 
TH1F * h_ele_dPhiEleCl_propOut_eg_endcaps
 
TH1F * h_ele_dPhiEleCl_propOut_endcaps
 
TH2F * h_ele_dPhiEleClVsEta_propOut
 
TH2F * h_ele_dPhiEleClVsPhi_propOut
 
TH2F * h_ele_dPhiEleClVsPt_propOut
 
TH1F * h_ele_dPhiSc_propVtx
 
TH1F * h_ele_dPhiSc_propVtx_all
 
TH1F * h_ele_dPhiSc_propVtx_all_barrel
 
TH1F * h_ele_dPhiSc_propVtx_all_endcaps
 
TH1F * h_ele_dPhiSc_propVtx_barrel
 
TH1F * h_ele_dPhiSc_propVtx_eg
 
TH1F * h_ele_dPhiSc_propVtx_eg_barrel
 
TH1F * h_ele_dPhiSc_propVtx_eg_endcaps
 
TH1F * h_ele_dPhiSc_propVtx_endcaps
 
TH2F * h_ele_dPhiScVsEta_propVtx
 
TH2F * h_ele_dPhiScVsPhi_propVtx
 
TH2F * h_ele_dPhiScVsPt_propVtx
 
TH2F * h_ele_E2mnE1vsMee_all
 
TH2F * h_ele_E2mnE1vsMee_egeg_all
 
TH1F * h_ele_ecalRecHitSumEt_dr03
 
TH1F * h_ele_ecalRecHitSumEt_dr04
 
TH1F * h_ele_EeleOPout
 
TH1F * h_ele_EeleOPout_all
 
TH1F * h_ele_EeleOPout_all_barrel
 
TH1F * h_ele_EeleOPout_all_endcaps
 
TH1F * h_ele_EeleOPout_barrel
 
TH1F * h_ele_EeleOPout_eg
 
TH1F * h_ele_EeleOPout_eg_barrel
 
TH1F * h_ele_EeleOPout_eg_endcaps
 
TH1F * h_ele_EeleOPout_endcaps
 
TH2F * h_ele_EeleOPoutVsE
 
TH2F * h_ele_EeleOPoutVsEta
 
TH2F * h_ele_EeleOPoutVsPhi
 
TH1F * h_ele_EoP
 
TH1F * h_ele_EoP_barrel
 
TH1F * h_ele_EoP_eg
 
TH1F * h_ele_EoP_eg_barrel
 
TH1F * h_ele_EoP_eg_endcaps
 
TH1F * h_ele_EoP_endcaps
 
TH1F * h_ele_EoPout
 
TH1F * h_ele_EoPout_all
 
TH1F * h_ele_EoPout_all_barrel
 
TH1F * h_ele_EoPout_all_endcaps
 
TH1F * h_ele_EoPout_barrel
 
TH1F * h_ele_EoPout_eg
 
TH1F * h_ele_EoPout_eg_barrel
 
TH1F * h_ele_EoPout_eg_endcaps
 
TH1F * h_ele_EoPout_endcaps
 
TH2F * h_ele_EoPoutVsE
 
TH2F * h_ele_EoPoutVsEta
 
TH2F * h_ele_EoPoutVsPhi
 
TH2F * h_ele_EoPVsE
 
TH2F * h_ele_EoPVsEta
 
TH2F * h_ele_EoPVsPhi
 
TH1F * h_ele_EoverP_all
 
TH1F * h_ele_EoverP_all_barrel
 
TH1F * h_ele_EoverP_all_endcaps
 
TH1F * h_ele_EseedOP
 
TH1F * h_ele_EseedOP_all
 
TH1F * h_ele_EseedOP_all_barrel
 
TH1F * h_ele_EseedOP_all_endcaps
 
TH1F * h_ele_EseedOP_barrel
 
TH1F * h_ele_EseedOP_eg
 
TH1F * h_ele_EseedOP_eg_barrel
 
TH1F * h_ele_EseedOP_eg_endcaps
 
TH1F * h_ele_EseedOP_endcaps
 
TH2F * h_ele_EseedOPVsE
 
TH2F * h_ele_EseedOPVsEta
 
TH2F * h_ele_EseedOPVsPhi
 
TH1F * h_ele_eta
 
TH1F * h_ele_eta_bbrem
 
TH1F * h_ele_eta_golden
 
TH1F * h_ele_eta_narrow
 
TH1F * h_ele_eta_shower
 
TH1F * h_ele_EtaMnEtamatchingObject
 
TH2F * h_ele_EtaMnEtamatchingObjectVsEta
 
TH2F * h_ele_EtaMnEtamatchingObjectVsPhi
 
TH2F * h_ele_EtaMnEtamatchingObjectVsPt
 
TH1F * h_ele_fbrem
 
TProfile * h_ele_fbremVsEta_mean
 
TProfile * h_ele_fbremVsEta_mode
 
TH1F * h_ele_foundHits
 
TH1F * h_ele_foundHits_barrel
 
TH1F * h_ele_foundHits_endcaps
 
TH2F * h_ele_foundHitsVsEta
 
TH2F * h_ele_foundHitsVsPhi
 
TH2F * h_ele_foundHitsVsPt
 
TH1F * h_ele_hcalDepth1TowerSumEt_dr03
 
TH1F * h_ele_hcalDepth1TowerSumEt_dr04
 
TH1F * h_ele_hcalDepth2TowerSumEt_dr03
 
TH1F * h_ele_hcalDepth2TowerSumEt_dr04
 
TH1F * h_ele_HoE
 
TH1F * h_ele_HoE_all
 
TH1F * h_ele_HoE_all_barrel
 
TH1F * h_ele_HoE_all_endcaps
 
TH1F * h_ele_HoE_barrel
 
TH1F * h_ele_HoE_eg
 
TH1F * h_ele_HoE_eg_barrel
 
TH1F * h_ele_HoE_eg_endcaps
 
TH1F * h_ele_HoE_endcaps
 
TH1F * h_ele_HoE_fiducial
 
TH2F * h_ele_HoEVsE
 
TH2F * h_ele_HoEVsEta
 
TH2F * h_ele_HoEVsPhi
 
TH1F * h_ele_lostHits
 
TH1F * h_ele_lostHits_barrel
 
TH1F * h_ele_lostHits_endcaps
 
TH2F * h_ele_lostHitsVsEta
 
TH2F * h_ele_lostHitsVsPhi
 
TH2F * h_ele_lostHitsVsPt
 
TH1F * h_ele_matchingObjectAbsEta_matched
 
TH1F * h_ele_matchingObjectEta_matched
 
TH1F * h_ele_matchingObjectPhi_matched
 
TH1F * h_ele_matchingObjectPt_matched
 
TH1F * h_ele_matchingObjectZ_matched
 
TH1F * h_ele_mee_all
 
TH1F * h_ele_mee_os
 
TH1F * h_ele_mva
 
TH1F * h_ele_outerP
 
TH1F * h_ele_outerP_mode
 
TH1F * h_ele_outerPt
 
TH1F * h_ele_outerPt_mode
 
TH2F * h_ele_outerPtVsEta_mode
 
TH2F * h_ele_outerPtVsPhi_mode
 
TH2F * h_ele_outerPtVsPt_mode
 
TH2F * h_ele_outerPVsEta_mode
 
TH1F * h_ele_PhiMnPhimatchingObject
 
TH1F * h_ele_PhiMnPhimatchingObject2
 
TH2F * h_ele_PhiMnPhimatchingObjectVsEta
 
TH2F * h_ele_PhiMnPhimatchingObjectVsPhi
 
TH2F * h_ele_PhiMnPhimatchingObjectVsPt
 
TH1F * h_ele_PinMnPout
 
TH1F * h_ele_PinMnPout_mode
 
TH2F * h_ele_PinMnPoutVsChi2_mode
 
TH2F * h_ele_PinMnPoutVsE_mode
 
TH2F * h_ele_PinMnPoutVsEta_mode
 
TH2F * h_ele_PinMnPoutVsPhi_mode
 
TH2F * h_ele_PinMnPoutVsPt_mode
 
TH2F * h_ele_PinVsPoutGolden_mean
 
TH2F * h_ele_PinVsPoutGolden_mode
 
TH2F * h_ele_PinVsPoutShowering_mean
 
TH2F * h_ele_PinVsPoutShowering_mode
 
TH1F * h_ele_PoPmatchingObject
 
TH1F * h_ele_PoPmatchingObject_barrel
 
TH1F * h_ele_PoPmatchingObject_endcaps
 
TH2F * h_ele_PoPmatchingObjectVsEta
 
TH2F * h_ele_PoPmatchingObjectVsPhi
 
TH2F * h_ele_PoPmatchingObjectVsPt
 
TH1F * h_ele_provenance
 
TH2F * h_ele_PtinVsPtoutGolden_mean
 
TH2F * h_ele_PtinVsPtoutGolden_mode
 
TH2F * h_ele_PtinVsPtoutShowering_mean
 
TH2F * h_ele_PtinVsPtoutShowering_mode
 
TH1F * h_ele_seed_dphi2_
 
TH2F * h_ele_seed_dphi2VsEta_
 
TH2F * h_ele_seed_dphi2VsPt_
 
TH1F * h_ele_seed_drz2_
 
TH2F * h_ele_seed_drz2VsEta_
 
TH2F * h_ele_seed_drz2VsPt_
 
TH1F * h_ele_seed_subdet2_
 
TH1F * h_ele_TIP_all
 
TH1F * h_ele_TIP_all_barrel
 
TH1F * h_ele_TIP_all_endcaps
 
TH1F * h_ele_tkSumPt_dr03
 
TH1F * h_ele_tkSumPt_dr04
 
TH1F * h_ele_vertexAbsEta
 
TH1F * h_ele_vertexEta
 
TH1F * h_ele_vertexEta_all
 
TH2F * h_ele_vertexEtaVsPhi
 
TH1F * h_ele_vertexP
 
TH1F * h_ele_vertexPhi
 
TH1F * h_ele_vertexPt
 
TH1F * h_ele_vertexPt_5100
 
TH1F * h_ele_vertexPt_all
 
TH2F * h_ele_vertexPtVsEta
 
TH2F * h_ele_vertexPtVsPhi
 
TH1F * h_ele_vertexTIP
 
TH2F * h_ele_vertexTIPVsEta
 
TH2F * h_ele_vertexTIPVsPhi
 
TH2F * h_ele_vertexTIPVsPt
 
TH1F * h_ele_vertexX
 
TH1F * h_ele_vertexY
 
TH1F * h_ele_vertexZ
 
TH1F * h_matchingObjectAbsEta
 
TH1F * h_matchingObjectEta
 
TH1F * h_matchingObjectNum
 
TH1F * h_matchingObjectP
 
TH1F * h_matchingObjectPhi
 
TH1F * h_matchingObjectPt
 
TH1F * h_matchingObjectZ
 
TFile * histfile_
 
TH1F * histNum_
 
TH1F * histSclE1x5_
 
TH1F * histSclE1x5_barrel_
 
TH1F * histSclE1x5_endcaps_
 
TH1F * histSclE2x5max_
 
TH1F * histSclE2x5max_barrel_
 
TH1F * histSclE2x5max_endcaps_
 
TH1F * histSclE5x5_
 
TH1F * histSclE5x5_barrel_
 
TH1F * histSclE5x5_endcaps_
 
TH1F * histSclEn_
 
TH1F * histSclEoEmatchingObject_barrel
 
TH1F * histSclEoEmatchingObject_endcaps
 
TH1F * histSclEoEmatchingObjectGolden_barrel
 
TH1F * histSclEoEmatchingObjectGolden_endcaps
 
TH1F * histSclEoEmatchingObjectShowering_barrel
 
TH1F * histSclEoEmatchingObjectShowering_endcaps
 
TH1F * histSclEt_
 
TH1F * histSclEta_
 
TH2F * histSclEtaVsPhi_
 
TH2F * histSclEtVsEta_
 
TH2F * histSclEtVsPhi_
 
TH1F * histSclPhi_
 
TH1F * histSclSigEtaEta_
 
TH1F * histSclSigEtaEta_barrel_
 
TH1F * histSclSigEtaEta_endcaps_
 
TH1F * histSclSigIEtaIEta_
 
TH1F * histSclSigIEtaIEta_barrel_
 
TH1F * histSclSigIEtaIEta_endcaps_
 
double hoemax
 
double hoemin
 
double lhitsmax
 
edm::InputTag matchingObjectCollection_
 
double maxAbsEta_
 
double maxPt_
 
float mcEnergy [10]
 
float mcEta [10]
 
float mcPhi [10]
 
float mcPt [10]
 
float mcQ [10]
 
double meemax
 
double meemin
 
int nbindeta
 
int nbindetamatch
 
int nbindetamatch2D
 
int nbindphi
 
int nbindphimatch
 
int nbindphimatch2D
 
int nbineop
 
int nbineop2D
 
int nbineta
 
int nbineta2D
 
int nbinfhits
 
int nbinhoe
 
int nbinlhits
 
int nbinmee
 
int nbinp
 
int nbinp2D
 
int nbinphi
 
int nbinphi2D
 
int nbinpt
 
int nbinpt2D
 
int nbinpteff
 
int nbinxyz
 
std::string outputFile_
 
edm::ESHandle< TrackerGeometrypDD
 
double phimax
 
double phimin
 
double pmax
 
double ptmax
 
bool readAOD_
 
float seedEta [10]
 
float seedMomentum [10]
 
float seedPhi [10]
 
float seedPt [10]
 
float seedQ [10]
 
float superclusterEnergy [10]
 
float superclusterEt [10]
 
float superclusterEta [10]
 
float superclusterPhi [10]
 
edm::ESHandle< MagneticFieldtheMagField
 
TrajectoryStateTransform transformer_
 
TTree * tree_
 
std::string type_
 

Additional Inherited Members

- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Description: GsfElectrons fake electrons analyzer using reco data

Implementation: <Notes on="" implementation>="">

Definition at line 37 of file GsfElectronFakeAnalyzer.h.

Constructor & Destructor Documentation

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

Definition at line 51 of file GsfElectronFakeAnalyzer.cc.

References deltaR_, detamatchmax, detamatchmin, detamax, detamin, dphimatchmax, dphimatchmin, dphimax, dphimin, electronCollection_, eopmax, eopmaxsht, etamax, etamin, fhitsmax, edm::ParameterSet::getParameter(), histfile_, hoemax, hoemin, lhitsmax, matchingObjectCollection_, maxAbsEta_, maxPt_, meemax, meemin, nbindeta, nbindetamatch, nbindetamatch2D, nbindphi, nbindphimatch, nbindphimatch2D, nbineop, nbineop2D, nbineta, nbineta2D, nbinfhits, nbinhoe, nbinlhits, nbinmee, nbinp, nbinp2D, nbinphi, nbinphi2D, nbinpt, nbinpt2D, nbinpteff, nbinxyz, outputFile_, phimax, phimin, pmax, muonDTDigis_cfi::pset, ptmax, readAOD_, and AlCaHLTBitMon_QueryRunRegistry::string.

51  :
52  beamSpot_(conf.getParameter<edm::InputTag>("beamSpot"))
53 {
54  outputFile_ = conf.getParameter<std::string>("outputFile");
55  histfile_ = new TFile(outputFile_.c_str(),"RECREATE");
56  electronCollection_=conf.getParameter<edm::InputTag>("electronCollection");
57  matchingObjectCollection_ = conf.getParameter<edm::InputTag>("matchingObjectCollection");
58  readAOD_ = conf.getParameter<bool>("readAOD");
59  maxPt_ = conf.getParameter<double>("MaxPt");
60  maxAbsEta_ = conf.getParameter<double>("MaxAbsEta");
61  deltaR_ = conf.getParameter<double>("DeltaR");
62 
64  conf.getParameter<edm::ParameterSet>("HistosConfigurationFake") ;
65 
66  etamin=pset.getParameter<double>("Etamin");
67  etamax=pset.getParameter<double>("Etamax");
68  phimin=pset.getParameter<double>("Phimin");
69  phimax=pset.getParameter<double>("Phimax");
70  ptmax=pset.getParameter<double>("Ptmax");
71  pmax=pset.getParameter<double>("Pmax");
72  eopmax=pset.getParameter<double>("Eopmax");
73  eopmaxsht=pset.getParameter<double>("Eopmaxsht");
74  detamin=pset.getParameter<double>("Detamin");
75  detamax=pset.getParameter<double>("Detamax");
76  dphimin=pset.getParameter<double>("Dphimin");
77  dphimax=pset.getParameter<double>("Dphimax");
78  detamatchmin=pset.getParameter<double>("Detamatchmin");
79  detamatchmax=pset.getParameter<double>("Detamatchmax");
80  dphimatchmin=pset.getParameter<double>("Dphimatchmin");
81  dphimatchmax=pset.getParameter<double>("Dphimatchmax");
82  fhitsmax=pset.getParameter<double>("Fhitsmax");
83  lhitsmax=pset.getParameter<double>("Lhitsmax");
84  nbineta=pset.getParameter<int>("Nbineta");
85  nbineta2D=pset.getParameter<int>("Nbineta2D");
86  nbinp=pset.getParameter<int>("Nbinp");
87  nbinpt=pset.getParameter<int>("Nbinpt");
88  nbinp2D=pset.getParameter<int>("Nbinp2D");
89  nbinpt2D=pset.getParameter<int>("Nbinpt2D");
90  nbinpteff=pset.getParameter<int>("Nbinpteff");
91  nbinphi=pset.getParameter<int>("Nbinphi");
92  nbinphi2D=pset.getParameter<int>("Nbinphi2D");
93  nbineop=pset.getParameter<int>("Nbineop");
94  nbineop2D=pset.getParameter<int>("Nbineop2D");
95  nbinfhits=pset.getParameter<int>("Nbinfhits");
96  nbinlhits=pset.getParameter<int>("Nbinlhits");
97  nbinxyz=pset.getParameter<int>("Nbinxyz");
98  nbindeta=pset.getParameter<int>("Nbindeta");
99  nbindphi=pset.getParameter<int>("Nbindphi");
100  nbindetamatch=pset.getParameter<int>("Nbindetamatch");
101  nbindphimatch=pset.getParameter<int>("Nbindphimatch");
102  nbindetamatch2D=pset.getParameter<int>("Nbindetamatch2D");
103  nbindphimatch2D=pset.getParameter<int>("Nbindphimatch2D");
104  nbinmee= pset.getParameter<int>("Nbinmee");
105  meemin=pset.getParameter<double>("Meemin");
106  meemax=pset.getParameter<double>("Meemax");
107  nbinhoe= pset.getParameter<int>("Nbinhoe");
108  hoemin=pset.getParameter<double>("Hoemin");
109  hoemax=pset.getParameter<double>("Hoemax");
110 
111 }
T getParameter(std::string const &) const
GsfElectronFakeAnalyzer::~GsfElectronFakeAnalyzer ( )
override

Definition at line 113 of file GsfElectronFakeAnalyzer.cc.

References histfile_.

114 {
115 
116  // do anything here that needs to be done at desctruction time
117  // (e.g. close files, deallocate resources etc.)
118  histfile_->Write();
119  histfile_->Close();
120 }

Member Function Documentation

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

Definition at line 1231 of file GsfElectronFakeAnalyzer.cc.

References funct::abs(), reco::GsfElectron::ambiguousGsfTracksSize(), beamSpot_, reco::GsfElectron::caloEnergy(), edm::RefToBase< T >::castTo(), reco::LeafCandidate::charge(), reco::GsfElectron::classification(), gather_cfg::cout, 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::dr03HcalDepth2TowerSumEt(), reco::GsfElectron::dr03TkSumPt(), reco::GsfElectron::dr04EcalRecHitSumEt(), reco::GsfElectron::dr04HcalDepth1TowerSumEt(), reco::GsfElectron::dr04HcalDepth2TowerSumEt(), reco::GsfElectron::dr04TkSumPt(), reco::GsfElectron::ecalDrivenSeed(), reco::GsfElectron::eEleClusterOverPout(), electronCollection_, reco::GsfElectron::eSeedClusterOverP(), reco::GsfElectron::eSeedClusterOverPout(), reco::GsfElectron::eSuperClusterOverP(), reco::LeafCandidate::eta(), reco::GsfElectron::fbrem(), HcalObjRepresent::Fill(), edm::Event::getByLabel(), gsfElectrons_cfi::gsfElectrons, reco::GsfElectron::gsfTrack(), h_ele_ambiguousTracks, h_ele_ambiguousTracksVsEta, h_ele_ambiguousTracksVsPhi, h_ele_ambiguousTracksVsPt, h_ele_charge, h_ele_chargeVsEta, h_ele_chargeVsPhi, h_ele_chargeVsPt, h_ele_chi2, h_ele_chi2VsEta, h_ele_chi2VsPhi, h_ele_chi2VsPt, h_ele_classes, h_ele_dEtaCl_propOut, h_ele_dEtaCl_propOut_all, h_ele_dEtaCl_propOut_barrel, h_ele_dEtaCl_propOut_eg, h_ele_dEtaCl_propOut_eg_barrel, h_ele_dEtaCl_propOut_eg_endcaps, h_ele_dEtaCl_propOut_endcaps, h_ele_dEtaClVsEta_propOut, h_ele_dEtaClVsPhi_propOut, h_ele_dEtaClVsPt_propOut, h_ele_dEtaEleCl_propOut, h_ele_dEtaEleCl_propOut_barrel, h_ele_dEtaEleCl_propOut_eg, h_ele_dEtaEleCl_propOut_eg_barrel, h_ele_dEtaEleCl_propOut_eg_endcaps, h_ele_dEtaEleCl_propOut_endcaps, h_ele_dEtaEleClVsEta_propOut, h_ele_dEtaEleClVsPhi_propOut, h_ele_dEtaEleClVsPt_propOut, h_ele_dEtaSc_propVtx, h_ele_dEtaSc_propVtx_all, h_ele_dEtaSc_propVtx_barrel, h_ele_dEtaSc_propVtx_eg, h_ele_dEtaSc_propVtx_eg_barrel, h_ele_dEtaSc_propVtx_eg_endcaps, h_ele_dEtaSc_propVtx_endcaps, h_ele_dEtaScVsEta_propVtx, h_ele_dEtaScVsPhi_propVtx, h_ele_dEtaScVsPt_propVtx, h_ele_dPhiCl_propOut, h_ele_dPhiCl_propOut_all, h_ele_dPhiCl_propOut_barrel, h_ele_dPhiCl_propOut_eg, h_ele_dPhiCl_propOut_eg_barrel, h_ele_dPhiCl_propOut_eg_endcaps, h_ele_dPhiCl_propOut_endcaps, h_ele_dPhiClVsEta_propOut, h_ele_dPhiClVsPhi_propOut, h_ele_dPhiClVsPt_propOut, h_ele_dPhiEleCl_propOut, h_ele_dPhiEleCl_propOut_barrel, h_ele_dPhiEleCl_propOut_eg, h_ele_dPhiEleCl_propOut_eg_barrel, h_ele_dPhiEleCl_propOut_eg_endcaps, h_ele_dPhiEleCl_propOut_endcaps, h_ele_dPhiEleClVsEta_propOut, h_ele_dPhiEleClVsPhi_propOut, h_ele_dPhiEleClVsPt_propOut, h_ele_dPhiSc_propVtx, h_ele_dPhiSc_propVtx_all, h_ele_dPhiSc_propVtx_barrel, h_ele_dPhiSc_propVtx_eg, h_ele_dPhiSc_propVtx_eg_barrel, h_ele_dPhiSc_propVtx_eg_endcaps, h_ele_dPhiSc_propVtx_endcaps, h_ele_dPhiScVsEta_propVtx, h_ele_dPhiScVsPhi_propVtx, h_ele_dPhiScVsPt_propVtx, h_ele_E2mnE1vsMee_all, h_ele_E2mnE1vsMee_egeg_all, h_ele_ecalRecHitSumEt_dr03, h_ele_ecalRecHitSumEt_dr04, h_ele_EeleOPout, h_ele_EeleOPout_all, h_ele_EeleOPout_barrel, h_ele_EeleOPout_eg, h_ele_EeleOPout_eg_barrel, h_ele_EeleOPout_eg_endcaps, h_ele_EeleOPout_endcaps, h_ele_EeleOPoutVsE, h_ele_EeleOPoutVsEta, h_ele_EeleOPoutVsPhi, h_ele_EoP, h_ele_EoP_barrel, h_ele_EoP_eg, h_ele_EoP_eg_barrel, h_ele_EoP_eg_endcaps, h_ele_EoP_endcaps, h_ele_EoPout, h_ele_EoPout_all, h_ele_EoPout_barrel, h_ele_EoPout_eg, h_ele_EoPout_eg_barrel, h_ele_EoPout_eg_endcaps, h_ele_EoPout_endcaps, h_ele_EoPoutVsE, h_ele_EoPoutVsEta, h_ele_EoPoutVsPhi, h_ele_EoPVsE, h_ele_EoPVsEta, h_ele_EoPVsPhi, h_ele_EoverP_all, h_ele_EseedOP, h_ele_EseedOP_all, h_ele_EseedOP_barrel, h_ele_EseedOP_eg, h_ele_EseedOP_eg_barrel, h_ele_EseedOP_eg_endcaps, h_ele_EseedOP_endcaps, h_ele_EseedOPVsE, h_ele_EseedOPVsEta, h_ele_EseedOPVsPhi, h_ele_eta, h_ele_eta_bbrem, h_ele_eta_golden, h_ele_eta_shower, h_ele_EtaMnEtamatchingObject, h_ele_EtaMnEtamatchingObjectVsEta, h_ele_EtaMnEtamatchingObjectVsPhi, h_ele_EtaMnEtamatchingObjectVsPt, h_ele_fbrem, h_ele_fbremVsEta_mean, h_ele_fbremVsEta_mode, h_ele_foundHits, h_ele_foundHitsVsEta, h_ele_foundHitsVsPhi, h_ele_foundHitsVsPt, h_ele_hcalDepth1TowerSumEt_dr03, h_ele_hcalDepth1TowerSumEt_dr04, h_ele_hcalDepth2TowerSumEt_dr03, h_ele_hcalDepth2TowerSumEt_dr04, h_ele_HoE, h_ele_HoE_all, h_ele_HoE_barrel, h_ele_HoE_eg, h_ele_HoE_eg_barrel, h_ele_HoE_eg_endcaps, h_ele_HoE_endcaps, h_ele_HoE_fiducial, h_ele_HoEVsE, h_ele_HoEVsEta, h_ele_HoEVsPhi, h_ele_lostHits, h_ele_lostHitsVsEta, h_ele_lostHitsVsPhi, h_ele_lostHitsVsPt, h_ele_matchingObjectAbsEta_matched, h_ele_matchingObjectEta_matched, h_ele_matchingObjectPhi_matched, h_ele_matchingObjectPt_matched, h_ele_matchingObjectZ_matched, h_ele_mee_all, h_ele_mee_os, h_ele_mva, h_ele_outerP, h_ele_outerP_mode, h_ele_outerPt, h_ele_outerPt_mode, h_ele_outerPtVsEta_mode, h_ele_outerPtVsPhi_mode, h_ele_outerPtVsPt_mode, h_ele_outerPVsEta_mode, h_ele_PhiMnPhimatchingObject, h_ele_PhiMnPhimatchingObject2, h_ele_PhiMnPhimatchingObjectVsEta, h_ele_PhiMnPhimatchingObjectVsPhi, h_ele_PhiMnPhimatchingObjectVsPt, h_ele_PinMnPout, h_ele_PinMnPout_mode, h_ele_PinMnPoutVsChi2_mode, h_ele_PinMnPoutVsE_mode, h_ele_PinMnPoutVsEta_mode, h_ele_PinMnPoutVsPhi_mode, h_ele_PinMnPoutVsPt_mode, h_ele_PinVsPoutGolden_mean, h_ele_PinVsPoutGolden_mode, h_ele_PinVsPoutShowering_mean, h_ele_PinVsPoutShowering_mode, h_ele_PoPmatchingObject, h_ele_PoPmatchingObject_barrel, h_ele_PoPmatchingObject_endcaps, h_ele_PoPmatchingObjectVsEta, h_ele_PoPmatchingObjectVsPhi, h_ele_PoPmatchingObjectVsPt, h_ele_provenance, h_ele_PtinVsPtoutGolden_mean, h_ele_PtinVsPtoutGolden_mode, h_ele_PtinVsPtoutShowering_mean, h_ele_PtinVsPtoutShowering_mode, h_ele_seed_dphi2_, h_ele_seed_dphi2VsEta_, h_ele_seed_dphi2VsPt_, h_ele_seed_drz2_, h_ele_seed_drz2VsEta_, h_ele_seed_drz2VsPt_, h_ele_seed_subdet2_, h_ele_TIP_all, h_ele_tkSumPt_dr03, h_ele_tkSumPt_dr04, h_ele_vertexEta, h_ele_vertexEta_all, h_ele_vertexEtaVsPhi, h_ele_vertexP, h_ele_vertexPhi, h_ele_vertexPt, h_ele_vertexPt_all, h_ele_vertexPtVsEta, h_ele_vertexPtVsPhi, h_ele_vertexTIP, h_ele_vertexTIPVsEta, h_ele_vertexTIPVsPhi, h_ele_vertexTIPVsPt, h_ele_vertexX, h_ele_vertexY, h_ele_vertexZ, h_matchingObjectAbsEta, h_matchingObjectEta, h_matchingObjectNum, h_matchingObjectP, h_matchingObjectPhi, h_matchingObjectPt, h_matchingObjectZ, reco::GsfElectron::hadronicOverEm(), histNum_, histSclE1x5_, histSclE1x5_barrel_, histSclE1x5_endcaps_, histSclE2x5max_, histSclE2x5max_barrel_, histSclE2x5max_endcaps_, histSclE5x5_, histSclE5x5_barrel_, histSclE5x5_endcaps_, histSclEn_, histSclEoEmatchingObject_barrel, histSclEoEmatchingObject_endcaps, histSclEt_, histSclEta_, histSclEtaVsPhi_, histSclEtVsEta_, histSclEtVsPhi_, histSclPhi_, histSclSigIEtaIEta_, histSclSigIEtaIEta_barrel_, histSclSigIEtaIEta_endcaps_, edm::EventBase::id(), reco::GsfElectron::isEB(), reco::GsfElectron::isEBEEGap(), reco::GsfElectron::isEBEtaGap(), reco::GsfElectron::isEBPhiGap(), reco::GsfElectron::isEE(), reco::GsfElectron::isEEDeeGap(), reco::GsfElectron::isEERingGap(), matchingObjectCollection_, maxAbsEta_, maxPt_, reco::GsfElectron::mva_e_pi(), reco::LeafCandidate::p(), reco::GsfElectron::parentSuperCluster(), 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::superCluster(), reco::GsfElectron::trackerDrivenSeed(), reco::GsfElectron::trackMomentumAtVtx(), reco::GsfElectron::trackMomentumOut(), and reco::LeafCandidate::vertex().

1232 {
1233  std::cout << "analyzing new event " << std::endl;
1234 
1235  // get reco electrons
1237  iEvent.getByLabel(electronCollection_,gsfElectrons);
1238  edm::LogInfo("")<<"\n\n =================> Treating event "<<iEvent.id()<<" Number of electrons "<<gsfElectrons.product()->size();
1239 
1240  // get reco calojet collection
1242  iEvent.getByLabel(matchingObjectCollection_, recoCaloJets);
1243 
1244  // get the beamspot from the Event:
1245  edm::Handle<reco::BeamSpot> recoBeamSpotHandle;
1246  iEvent.getByLabel(beamSpot_, recoBeamSpotHandle);
1247  const BeamSpot bs = *recoBeamSpotHandle;
1248 
1249  histNum_->Fill((*gsfElectrons).size());
1250 
1251  // all rec electrons
1252  for (reco::GsfElectronCollection::const_iterator gsfIter=gsfElectrons->begin();
1253  gsfIter!=gsfElectrons->end(); gsfIter++){
1254  // preselect electrons
1255  if (gsfIter->pt()>maxPt_ || std::abs(gsfIter->eta())>maxAbsEta_) continue;
1256  h_ele_EoverP_all -> Fill( gsfIter->eSuperClusterOverP() );
1257  h_ele_EseedOP_all -> Fill( gsfIter->eSeedClusterOverP() );
1258  h_ele_EoPout_all -> Fill( gsfIter->eSeedClusterOverPout() );
1259  h_ele_EeleOPout_all -> Fill( gsfIter->eEleClusterOverPout() );
1260  h_ele_dEtaSc_propVtx_all -> Fill(gsfIter->deltaEtaSuperClusterTrackAtVtx());
1261  h_ele_dPhiSc_propVtx_all -> Fill(gsfIter->deltaPhiSuperClusterTrackAtVtx());
1262  h_ele_dEtaCl_propOut_all -> Fill(gsfIter->deltaEtaSeedClusterTrackAtCalo());
1263  h_ele_dPhiCl_propOut_all -> Fill(gsfIter->deltaPhiSeedClusterTrackAtCalo());
1264  h_ele_HoE_all -> Fill( gsfIter->hadronicOverEm() );
1265  double d = gsfIter->vertex().x()*gsfIter->vertex().x()
1266  +gsfIter->vertex().y()*gsfIter->vertex().y();
1267  h_ele_TIP_all -> Fill( sqrt(d) );
1268  h_ele_vertexEta_all -> Fill( gsfIter->eta() );
1269  h_ele_vertexPt_all -> Fill( gsfIter->pt() );
1270  float enrj1=gsfIter->superCluster()->energy();
1271  // mee
1272  for (reco::GsfElectronCollection::const_iterator gsfIter2=gsfIter+1;
1273  gsfIter2!=gsfElectrons->end(); gsfIter2++){
1274  math::XYZTLorentzVector p12 = (*gsfIter).p4()+(*gsfIter2).p4();
1275  float mee2 = p12.Dot(p12);
1276  h_ele_mee_all -> Fill(sqrt(mee2));
1277  float enrj2=gsfIter2->superCluster()->energy();
1278  h_ele_E2mnE1vsMee_all->Fill(sqrt(mee2),enrj2-enrj1);
1279  if (gsfIter->ecalDrivenSeed() && gsfIter2->ecalDrivenSeed()) h_ele_E2mnE1vsMee_egeg_all->Fill(sqrt(mee2),enrj2-enrj1);
1280  if (gsfIter->charge()*gsfIter2->charge()<0.) h_ele_mee_os -> Fill(sqrt(mee2));
1281  }
1282  }
1283 
1284  // association matching object-reco electrons
1285  int matchingObjectNum=0;
1286 
1287  for ( reco::CaloJetCollection::const_iterator moIter=recoCaloJets->begin();
1288  moIter!=recoCaloJets->end(); moIter++ ) {
1289 
1290  // number of matching objects
1291  matchingObjectNum++;
1292 
1293  if (moIter->energy()/cosh(moIter->eta())> maxPt_ || std::abs(moIter->eta())> maxAbsEta_) continue;
1294 
1295  // suppress the endcaps
1296  //if (std::abs(moIter->eta()) > 1.5) continue;
1297  // select central z
1298  //if ( std::abs((*mcIter)->production_vertex()->position().z())>50.) continue;
1299 
1300  h_matchingObjectEta -> Fill( moIter->eta() );
1301  h_matchingObjectAbsEta -> Fill( std::abs(moIter->eta()) );
1302  h_matchingObjectP -> Fill( moIter->energy() );
1303  h_matchingObjectPt -> Fill( moIter->energy()/cosh(moIter->eta()) );
1304  h_matchingObjectPhi -> Fill( moIter->phi() );
1305  h_matchingObjectZ -> Fill( moIter->vz() );
1306 
1307  // looking for the best matching gsf electron
1308  bool okGsfFound = false;
1309  double gsfOkRatio = 999999.;
1310 
1311  // find best matched electron
1312  reco::GsfElectron bestGsfElectron;
1313  for (reco::GsfElectronCollection::const_iterator gsfIter=gsfElectrons->begin();
1314  gsfIter!=gsfElectrons->end(); gsfIter++){
1315 
1316  double dphi = gsfIter->phi()-moIter->phi();
1317  if (std::abs(dphi)>CLHEP::pi)
1318  dphi = dphi < 0? (CLHEP::twopi) + dphi : dphi - CLHEP::twopi;
1319  double deltaR = sqrt(std::pow((gsfIter->eta()-moIter->eta()),2) + std::pow(dphi,2));
1320  if ( deltaR < deltaR_ ){
1321  //if ( (genPc->pdg_id() == 11) && (gsfIter->charge() < 0.) || (genPc->pdg_id() == -11) &&
1322  //(gsfIter->charge() > 0.) ){
1323  double tmpGsfRatio = gsfIter->p()/moIter->energy();
1324  if ( std::abs(tmpGsfRatio-1) < std::abs(gsfOkRatio-1) ) {
1325  gsfOkRatio = tmpGsfRatio;
1326  bestGsfElectron=*gsfIter;
1327  okGsfFound = true;
1328  }
1329  //}
1330  }
1331  } // loop over rec ele to look for the best one
1332 
1333  // analysis when the matching object is matched by a rec electron
1334  if (okGsfFound){
1335 
1336  // electron related distributions
1337  h_ele_charge -> Fill( bestGsfElectron.charge() );
1338  h_ele_chargeVsEta -> Fill( bestGsfElectron.eta(),bestGsfElectron.charge() );
1339  h_ele_chargeVsPhi -> Fill( bestGsfElectron.phi(),bestGsfElectron.charge() );
1340  h_ele_chargeVsPt -> Fill( bestGsfElectron.pt(),bestGsfElectron.charge() );
1341  h_ele_vertexP -> Fill( bestGsfElectron.p() );
1342  h_ele_vertexPt -> Fill( bestGsfElectron.pt() );
1343  h_ele_vertexPtVsEta -> Fill( bestGsfElectron.eta(),bestGsfElectron.pt() );
1344  h_ele_vertexPtVsPhi -> Fill( bestGsfElectron.phi(),bestGsfElectron.pt() );
1345  h_ele_vertexEta -> Fill( bestGsfElectron.eta() );
1346  // generated distributions for matched electrons
1347  h_ele_matchingObjectPt_matched -> Fill( moIter->energy()/cosh(moIter->eta()) );
1348  h_ele_matchingObjectPhi_matched -> Fill( moIter->phi() );
1349  h_ele_matchingObjectAbsEta_matched -> Fill( std::abs(moIter->eta()) );
1350  h_ele_matchingObjectEta_matched -> Fill( moIter->eta() );
1351  h_ele_vertexEtaVsPhi -> Fill( bestGsfElectron.phi(),bestGsfElectron.eta() );
1352  h_ele_vertexPhi -> Fill( bestGsfElectron.phi() );
1353  h_ele_vertexX -> Fill( bestGsfElectron.vertex().x() );
1354  h_ele_vertexY -> Fill( bestGsfElectron.vertex().y() );
1355  h_ele_vertexZ -> Fill( bestGsfElectron.vertex().z() );
1356  h_ele_matchingObjectZ_matched -> Fill( moIter->vz() );
1357  double d = (bestGsfElectron.vertex().x()-bs.position().x())
1358  *(bestGsfElectron.vertex().x()-bs.position().x())+
1359  (bestGsfElectron.vertex().y()-bs.position().y())
1360  *(bestGsfElectron.vertex().y()-bs.position().y());
1361  d = sqrt(d);
1362  h_ele_vertexTIP -> Fill( d );
1363  h_ele_vertexTIPVsEta -> Fill( bestGsfElectron.eta(), d );
1364  h_ele_vertexTIPVsPhi -> Fill( bestGsfElectron.phi(), d );
1365  h_ele_vertexTIPVsPt -> Fill( bestGsfElectron.pt(), d );
1366  h_ele_EtaMnEtamatchingObject -> Fill( bestGsfElectron.eta()-moIter->eta());
1367  h_ele_EtaMnEtamatchingObjectVsEta -> Fill( bestGsfElectron.eta(), bestGsfElectron.eta()-moIter->eta());
1368  h_ele_EtaMnEtamatchingObjectVsPhi -> Fill( bestGsfElectron.phi(), bestGsfElectron.eta()-moIter->eta());
1369  h_ele_EtaMnEtamatchingObjectVsPt -> Fill( bestGsfElectron.pt(), bestGsfElectron.eta()-moIter->eta());
1370  h_ele_PhiMnPhimatchingObject -> Fill( bestGsfElectron.phi()-moIter->phi());
1371  h_ele_PhiMnPhimatchingObject2 -> Fill( bestGsfElectron.phi()-moIter->phi());
1372  h_ele_PhiMnPhimatchingObjectVsEta -> Fill( bestGsfElectron.eta(), bestGsfElectron.phi()-moIter->phi());
1373  h_ele_PhiMnPhimatchingObjectVsPhi -> Fill( bestGsfElectron.phi(), bestGsfElectron.phi()-moIter->phi());
1374  h_ele_PhiMnPhimatchingObjectVsPt -> Fill( bestGsfElectron.pt(), bestGsfElectron.phi()-moIter->phi());
1375  h_ele_PoPmatchingObject -> Fill( bestGsfElectron.p()/moIter->energy());
1376  h_ele_PoPmatchingObjectVsEta -> Fill( bestGsfElectron.eta(), bestGsfElectron.p()/moIter->energy());
1377  h_ele_PoPmatchingObjectVsPhi -> Fill( bestGsfElectron.phi(), bestGsfElectron.p()/moIter->energy());
1378  h_ele_PoPmatchingObjectVsPt -> Fill( bestGsfElectron.py(), bestGsfElectron.p()/moIter->energy());
1379  if (bestGsfElectron.isEB()) h_ele_PoPmatchingObject_barrel -> Fill( bestGsfElectron.p()/moIter->energy());
1380  if (bestGsfElectron.isEE()) h_ele_PoPmatchingObject_endcaps -> Fill( bestGsfElectron.p()/moIter->energy());
1381 
1382  // supercluster related distributions
1383  reco::SuperClusterRef sclRef = bestGsfElectron.superCluster();
1384  if (!bestGsfElectron.ecalDrivenSeed()&&bestGsfElectron.trackerDrivenSeed()) sclRef = bestGsfElectron.parentSuperCluster();
1385  histSclEn_->Fill(sclRef->energy());
1386  double R=TMath::Sqrt(sclRef->x()*sclRef->x() + sclRef->y()*sclRef->y() +sclRef->z()*sclRef->z());
1387  double Rt=TMath::Sqrt(sclRef->x()*sclRef->x() + sclRef->y()*sclRef->y());
1388  histSclEt_->Fill(sclRef->energy()*(Rt/R));
1389  histSclEtVsEta_->Fill(sclRef->eta(),sclRef->energy()*(Rt/R));
1390  histSclEtVsPhi_->Fill(sclRef->phi(),sclRef->energy()*(Rt/R));
1391  if (bestGsfElectron.isEB()) histSclEoEmatchingObject_barrel->Fill(sclRef->energy()/moIter->energy());
1392  if (bestGsfElectron.isEE()) histSclEoEmatchingObject_endcaps->Fill(sclRef->energy()/moIter->energy());
1393  histSclEta_->Fill(sclRef->eta());
1394  histSclEtaVsPhi_->Fill(sclRef->phi(),sclRef->eta());
1395  histSclPhi_->Fill(sclRef->phi());
1396  histSclSigIEtaIEta_->Fill(bestGsfElectron.scSigmaIEtaIEta());
1397  if (bestGsfElectron.isEB()) histSclSigIEtaIEta_barrel_->Fill(bestGsfElectron.scSigmaIEtaIEta());
1398  if (bestGsfElectron.isEE()) histSclSigIEtaIEta_endcaps_->Fill(bestGsfElectron.scSigmaIEtaIEta());
1399  histSclE1x5_->Fill(bestGsfElectron.scE1x5());
1400  if (bestGsfElectron.isEB()) histSclE1x5_barrel_->Fill(bestGsfElectron.scE1x5());
1401  if (bestGsfElectron.isEE()) histSclE1x5_endcaps_->Fill(bestGsfElectron.scE1x5());
1402  histSclE2x5max_->Fill(bestGsfElectron.scE2x5Max());
1403  if (bestGsfElectron.isEB()) histSclE2x5max_barrel_->Fill(bestGsfElectron.scE2x5Max());
1404  if (bestGsfElectron.isEE()) histSclE2x5max_endcaps_->Fill(bestGsfElectron.scE2x5Max());
1405  histSclE5x5_->Fill(bestGsfElectron.scE5x5());
1406  if (bestGsfElectron.isEB()) histSclE5x5_barrel_->Fill(bestGsfElectron.scE5x5());
1407  if (bestGsfElectron.isEE()) histSclE5x5_endcaps_->Fill(bestGsfElectron.scE5x5());
1408 
1409  // track related distributions
1410  h_ele_ambiguousTracks -> Fill( bestGsfElectron.ambiguousGsfTracksSize() );
1411  h_ele_ambiguousTracksVsEta -> Fill( bestGsfElectron.eta(), bestGsfElectron.ambiguousGsfTracksSize() );
1412  h_ele_ambiguousTracksVsPhi -> Fill( bestGsfElectron.phi(), bestGsfElectron.ambiguousGsfTracksSize() );
1413  h_ele_ambiguousTracksVsPt -> Fill( bestGsfElectron.pt(), bestGsfElectron.ambiguousGsfTracksSize() );
1414  if (!readAOD_) { // track extra does not exist in AOD
1415  h_ele_foundHits -> Fill( bestGsfElectron.gsfTrack()->numberOfValidHits() );
1416  h_ele_foundHitsVsEta -> Fill( bestGsfElectron.eta(), bestGsfElectron.gsfTrack()->numberOfValidHits() );
1417  h_ele_foundHitsVsPhi -> Fill( bestGsfElectron.phi(), bestGsfElectron.gsfTrack()->numberOfValidHits() );
1418  h_ele_foundHitsVsPt -> Fill( bestGsfElectron.pt(), bestGsfElectron.gsfTrack()->numberOfValidHits() );
1419  h_ele_lostHits -> Fill( bestGsfElectron.gsfTrack()->numberOfLostHits() );
1420  h_ele_lostHitsVsEta -> Fill( bestGsfElectron.eta(), bestGsfElectron.gsfTrack()->numberOfLostHits() );
1421  h_ele_lostHitsVsPhi -> Fill( bestGsfElectron.phi(), bestGsfElectron.gsfTrack()->numberOfLostHits() );
1422  h_ele_lostHitsVsPt -> Fill( bestGsfElectron.pt(), bestGsfElectron.gsfTrack()->numberOfLostHits() );
1423  h_ele_chi2 -> Fill( bestGsfElectron.gsfTrack()->normalizedChi2() );
1424  h_ele_chi2VsEta -> Fill( bestGsfElectron.eta(), bestGsfElectron.gsfTrack()->normalizedChi2() );
1425  h_ele_chi2VsPhi -> Fill( bestGsfElectron.phi(), bestGsfElectron.gsfTrack()->normalizedChi2() );
1426  h_ele_chi2VsPt -> Fill( bestGsfElectron.pt(), bestGsfElectron.gsfTrack()->normalizedChi2() );
1427  }
1428  // from gsf track interface, hence using mean
1429  if (!readAOD_) { // track extra does not exist in AOD
1430  h_ele_PinMnPout -> Fill( bestGsfElectron.gsfTrack()->innerMomentum().R() - bestGsfElectron.gsfTrack()->outerMomentum().R() );
1431  h_ele_outerP -> Fill( bestGsfElectron.gsfTrack()->outerMomentum().R() );
1432  h_ele_outerPt -> Fill( bestGsfElectron.gsfTrack()->outerMomentum().Rho() );
1433  }
1434  // from electron interface, hence using mode
1435  h_ele_PinMnPout_mode -> Fill( bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R() );
1436  h_ele_PinMnPoutVsEta_mode -> Fill( bestGsfElectron.eta(), bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R() );
1437  h_ele_PinMnPoutVsPhi_mode -> Fill( bestGsfElectron.phi(), bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R() );
1438  h_ele_PinMnPoutVsPt_mode -> Fill( bestGsfElectron.pt(), bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R() );
1439  h_ele_PinMnPoutVsE_mode -> Fill( bestGsfElectron.caloEnergy(), bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R() );
1440  if (!readAOD_) // track extra does not exist in AOD
1441  h_ele_PinMnPoutVsChi2_mode -> Fill( bestGsfElectron.gsfTrack()->normalizedChi2(), bestGsfElectron.trackMomentumAtVtx().R() - bestGsfElectron.trackMomentumOut().R() );
1442  h_ele_outerP_mode -> Fill( bestGsfElectron.trackMomentumOut().R() );
1443  h_ele_outerPVsEta_mode -> Fill(bestGsfElectron.eta(), bestGsfElectron.trackMomentumOut().R() );
1444  h_ele_outerPt_mode -> Fill( bestGsfElectron.trackMomentumOut().Rho() );
1445  h_ele_outerPtVsEta_mode -> Fill(bestGsfElectron.eta(), bestGsfElectron.trackMomentumOut().Rho() );
1446  h_ele_outerPtVsPhi_mode -> Fill(bestGsfElectron.phi(), bestGsfElectron.trackMomentumOut().Rho() );
1447  h_ele_outerPtVsPt_mode -> Fill(bestGsfElectron.pt(), bestGsfElectron.trackMomentumOut().Rho() );
1448 
1449  if (!readAOD_) { // track extra does not exist in AOD
1450  edm::RefToBase<TrajectorySeed> seed = bestGsfElectron.gsfTrack()->extra()->seedRef();
1451  ElectronSeedRef elseed=seed.castTo<ElectronSeedRef>();
1452  h_ele_seed_dphi2_-> Fill(elseed->dPhi2());
1453  h_ele_seed_dphi2VsEta_-> Fill(bestGsfElectron.eta(), elseed->dPhi2());
1454  h_ele_seed_dphi2VsPt_-> Fill(bestGsfElectron.pt(), elseed->dPhi2()) ;
1455  h_ele_seed_drz2_-> Fill(elseed->dRz2());
1456  h_ele_seed_drz2VsEta_-> Fill(bestGsfElectron.eta(), elseed->dRz2());
1457  h_ele_seed_drz2VsPt_-> Fill(bestGsfElectron.pt(), elseed->dRz2());
1458  h_ele_seed_subdet2_-> Fill(elseed->subDet2());
1459  }
1460  // match distributions
1461  h_ele_EoP -> Fill( bestGsfElectron.eSuperClusterOverP() );
1462  if (bestGsfElectron.ecalDrivenSeed()) h_ele_EoP_eg -> Fill( bestGsfElectron.eSuperClusterOverP() );
1463  if (bestGsfElectron.isEB()) h_ele_EoP_barrel -> Fill( bestGsfElectron.eSuperClusterOverP() );
1464  if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h_ele_EoP_eg_barrel -> Fill( bestGsfElectron.eSuperClusterOverP() );
1465  if (bestGsfElectron.isEE()) h_ele_EoP_endcaps -> Fill( bestGsfElectron.eSuperClusterOverP() );
1466  if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h_ele_EoP_eg_endcaps -> Fill( bestGsfElectron.eSuperClusterOverP() );
1467  h_ele_EoPVsEta -> Fill(bestGsfElectron.eta(), bestGsfElectron.eSuperClusterOverP() );
1468  h_ele_EoPVsPhi -> Fill(bestGsfElectron.phi(), bestGsfElectron.eSuperClusterOverP() );
1469  h_ele_EoPVsE -> Fill(bestGsfElectron.caloEnergy(), bestGsfElectron.eSuperClusterOverP() );
1470  h_ele_EseedOP -> Fill( bestGsfElectron.eSeedClusterOverP() );
1471  if (bestGsfElectron.ecalDrivenSeed()) h_ele_EseedOP_eg -> Fill( bestGsfElectron.eSeedClusterOverP() );
1472  if (bestGsfElectron.isEB()) h_ele_EseedOP_barrel -> Fill( bestGsfElectron.eSeedClusterOverP() );
1473  if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h_ele_EseedOP_eg_barrel -> Fill( bestGsfElectron.eSeedClusterOverP() );
1474  if (bestGsfElectron.isEE()) h_ele_EseedOP_endcaps -> Fill( bestGsfElectron.eSeedClusterOverP() );
1475  if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h_ele_EseedOP_eg_endcaps -> Fill( bestGsfElectron.eSeedClusterOverP() );
1476  h_ele_EseedOPVsEta -> Fill(bestGsfElectron.eta(), bestGsfElectron.eSeedClusterOverP() );
1477  h_ele_EseedOPVsPhi -> Fill(bestGsfElectron.phi(), bestGsfElectron.eSeedClusterOverP() );
1478  h_ele_EseedOPVsE -> Fill(bestGsfElectron.caloEnergy(), bestGsfElectron.eSeedClusterOverP() );
1479  h_ele_EoPout -> Fill( bestGsfElectron.eSeedClusterOverPout() );
1480  if (bestGsfElectron.ecalDrivenSeed()) h_ele_EoPout_eg -> Fill( bestGsfElectron.eSeedClusterOverPout() );
1481  if (bestGsfElectron.isEB()) h_ele_EoPout_barrel -> Fill( bestGsfElectron.eSeedClusterOverPout() );
1482  if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h_ele_EoPout_eg_barrel -> Fill( bestGsfElectron.eSeedClusterOverPout() );
1483  if (bestGsfElectron.isEE()) h_ele_EoPout_endcaps -> Fill( bestGsfElectron.eSeedClusterOverPout() );
1484  if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h_ele_EoPout_eg_endcaps -> Fill( bestGsfElectron.eSeedClusterOverPout() );
1485  h_ele_EoPoutVsEta -> Fill( bestGsfElectron.eta(), bestGsfElectron.eSeedClusterOverPout() );
1486  h_ele_EoPoutVsPhi -> Fill( bestGsfElectron.phi(), bestGsfElectron.eSeedClusterOverPout() );
1487  h_ele_EoPoutVsE -> Fill( bestGsfElectron.caloEnergy(), bestGsfElectron.eSeedClusterOverPout() );
1488  h_ele_EeleOPout -> Fill( bestGsfElectron.eEleClusterOverPout() );
1489  if (bestGsfElectron.ecalDrivenSeed()) h_ele_EeleOPout_eg -> Fill( bestGsfElectron.eEleClusterOverPout() );
1490  if (bestGsfElectron.isEB()) h_ele_EeleOPout_barrel -> Fill( bestGsfElectron.eEleClusterOverPout() );
1491  if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h_ele_EeleOPout_eg_barrel -> Fill( bestGsfElectron.eEleClusterOverPout() );
1492  if (bestGsfElectron.isEE()) h_ele_EeleOPout_endcaps -> Fill( bestGsfElectron.eEleClusterOverPout() );
1493  if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h_ele_EeleOPout_eg_endcaps -> Fill( bestGsfElectron.eEleClusterOverPout() );
1494  h_ele_EeleOPoutVsEta -> Fill( bestGsfElectron.eta(), bestGsfElectron.eEleClusterOverPout() );
1495  h_ele_EeleOPoutVsPhi -> Fill( bestGsfElectron.phi(), bestGsfElectron.eEleClusterOverPout() );
1496  h_ele_EeleOPoutVsE -> Fill( bestGsfElectron.caloEnergy(), bestGsfElectron.eEleClusterOverPout() );
1498  if (bestGsfElectron.ecalDrivenSeed()) h_ele_dEtaSc_propVtx_eg -> Fill(bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
1499  if (bestGsfElectron.isEB()) h_ele_dEtaSc_propVtx_barrel -> Fill(bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
1500  if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h_ele_dEtaSc_propVtx_eg_barrel -> Fill(bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
1501  if (bestGsfElectron.isEE())h_ele_dEtaSc_propVtx_endcaps -> Fill(bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
1502  if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h_ele_dEtaSc_propVtx_eg_endcaps -> Fill(bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
1503  h_ele_dEtaScVsEta_propVtx -> Fill( bestGsfElectron.eta(),bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
1504  h_ele_dEtaScVsPhi_propVtx -> Fill(bestGsfElectron.phi(),bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
1505  h_ele_dEtaScVsPt_propVtx -> Fill(bestGsfElectron.pt(),bestGsfElectron.deltaEtaSuperClusterTrackAtVtx());
1507  if (bestGsfElectron.ecalDrivenSeed()) h_ele_dPhiSc_propVtx_eg -> Fill(bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
1508  if (bestGsfElectron.isEB()) h_ele_dPhiSc_propVtx_barrel -> Fill(bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
1509  if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h_ele_dPhiSc_propVtx_eg_barrel -> Fill(bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
1510  if (bestGsfElectron.isEE())h_ele_dPhiSc_propVtx_endcaps -> Fill(bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
1511  if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h_ele_dPhiSc_propVtx_eg_endcaps -> Fill(bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
1512  h_ele_dPhiScVsEta_propVtx -> Fill( bestGsfElectron.eta(),bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
1513  h_ele_dPhiScVsPhi_propVtx -> Fill(bestGsfElectron.phi(),bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
1514  h_ele_dPhiScVsPt_propVtx -> Fill(bestGsfElectron.pt(),bestGsfElectron.deltaPhiSuperClusterTrackAtVtx());
1516  if (bestGsfElectron.ecalDrivenSeed()) h_ele_dEtaCl_propOut_eg -> Fill(bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
1517  if (bestGsfElectron.isEB()) h_ele_dEtaCl_propOut_barrel -> Fill(bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
1518  if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h_ele_dEtaCl_propOut_eg_barrel -> Fill(bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
1519  if (bestGsfElectron.isEE()) h_ele_dEtaCl_propOut_endcaps -> Fill(bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
1520  if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h_ele_dEtaCl_propOut_eg_endcaps -> Fill(bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
1521  h_ele_dEtaClVsEta_propOut -> Fill( bestGsfElectron.eta(),bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
1522  h_ele_dEtaClVsPhi_propOut -> Fill(bestGsfElectron.phi(),bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
1523  h_ele_dEtaClVsPt_propOut -> Fill(bestGsfElectron.pt(),bestGsfElectron.deltaEtaSeedClusterTrackAtCalo());
1525  if (bestGsfElectron.ecalDrivenSeed()) h_ele_dPhiCl_propOut_eg -> Fill(bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
1526  if (bestGsfElectron.isEB()) h_ele_dPhiCl_propOut_barrel -> Fill(bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
1527  if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h_ele_dPhiCl_propOut_eg_barrel -> Fill(bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
1528  if (bestGsfElectron.isEE()) h_ele_dPhiCl_propOut_endcaps -> Fill(bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
1529  if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h_ele_dPhiCl_propOut_eg_endcaps -> Fill(bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
1530  h_ele_dPhiClVsEta_propOut -> Fill( bestGsfElectron.eta(),bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
1531  h_ele_dPhiClVsPhi_propOut -> Fill(bestGsfElectron.phi(),bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
1532  h_ele_dPhiClVsPt_propOut -> Fill(bestGsfElectron.pt(),bestGsfElectron.deltaPhiSeedClusterTrackAtCalo());
1534  if (bestGsfElectron.ecalDrivenSeed()) h_ele_dEtaEleCl_propOut_eg -> Fill(bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
1535  if (bestGsfElectron.isEB()) h_ele_dEtaEleCl_propOut_barrel -> Fill(bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
1536  if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h_ele_dEtaEleCl_propOut_eg_barrel -> Fill(bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
1537  if (bestGsfElectron.isEE()) h_ele_dEtaEleCl_propOut_endcaps -> Fill(bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
1538  if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h_ele_dEtaEleCl_propOut_eg_endcaps -> Fill(bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
1539  h_ele_dEtaEleClVsEta_propOut -> Fill( bestGsfElectron.eta(),bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
1540  h_ele_dEtaEleClVsPhi_propOut -> Fill(bestGsfElectron.phi(),bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
1541  h_ele_dEtaEleClVsPt_propOut -> Fill(bestGsfElectron.pt(),bestGsfElectron.deltaEtaEleClusterTrackAtCalo());
1543  if (bestGsfElectron.ecalDrivenSeed()) h_ele_dPhiEleCl_propOut_eg -> Fill(bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
1544  if (bestGsfElectron.isEB()) h_ele_dPhiEleCl_propOut_barrel -> Fill(bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
1545  if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h_ele_dPhiEleCl_propOut_eg_barrel -> Fill(bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
1546  if (bestGsfElectron.isEE()) h_ele_dPhiEleCl_propOut_endcaps -> Fill(bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
1547  if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h_ele_dPhiEleCl_propOut_eg_endcaps -> Fill(bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
1548  h_ele_dPhiEleClVsEta_propOut -> Fill( bestGsfElectron.eta(),bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
1549  h_ele_dPhiEleClVsPhi_propOut -> Fill(bestGsfElectron.phi(),bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
1550  h_ele_dPhiEleClVsPt_propOut -> Fill(bestGsfElectron.pt(),bestGsfElectron.deltaPhiEleClusterTrackAtCalo());
1551  h_ele_HoE -> Fill(bestGsfElectron.hadronicOverEm());
1552  if (bestGsfElectron.ecalDrivenSeed()) h_ele_HoE_eg -> Fill(bestGsfElectron.hadronicOverEm());
1553  if (bestGsfElectron.isEB()) h_ele_HoE_barrel -> Fill(bestGsfElectron.hadronicOverEm());
1554  if (bestGsfElectron.isEB()&&bestGsfElectron.ecalDrivenSeed()) h_ele_HoE_eg_barrel -> Fill(bestGsfElectron.hadronicOverEm());
1555  if (bestGsfElectron.isEE()) h_ele_HoE_endcaps -> Fill(bestGsfElectron.hadronicOverEm());
1556  if (bestGsfElectron.isEE()&&bestGsfElectron.ecalDrivenSeed()) h_ele_HoE_eg_endcaps -> Fill(bestGsfElectron.hadronicOverEm());
1557  if (!bestGsfElectron.isEBEtaGap() && !bestGsfElectron.isEBPhiGap()&& !bestGsfElectron.isEBEEGap() &&
1558  !bestGsfElectron.isEERingGap() && !bestGsfElectron.isEEDeeGap()) h_ele_HoE_fiducial -> Fill(bestGsfElectron.hadronicOverEm());
1559  h_ele_HoEVsEta -> Fill( bestGsfElectron.eta(),bestGsfElectron.hadronicOverEm());
1560  h_ele_HoEVsPhi -> Fill(bestGsfElectron.phi(),bestGsfElectron.hadronicOverEm());
1561  h_ele_HoEVsE -> Fill(bestGsfElectron.caloEnergy(),bestGsfElectron.hadronicOverEm());
1562 
1563  //classes
1564  int eleClass = bestGsfElectron.classification();
1565  if (bestGsfElectron.isEE()) eleClass+=10;
1566  h_ele_classes ->Fill(eleClass);
1567 
1568  h_ele_eta->Fill(std::abs(bestGsfElectron.eta()));
1569  if (bestGsfElectron.classification() == GsfElectron::GOLDEN) h_ele_eta_golden ->Fill(std::abs(bestGsfElectron.eta()));
1570  if (bestGsfElectron.classification() == GsfElectron::BIGBREM) h_ele_eta_bbrem ->Fill(std::abs(bestGsfElectron.eta()));
1571  //if (bestGsfElectron.classification() == GsfElectron::OLDNARROW) h_ele_eta_narrow ->Fill(std::abs(bestGsfElectron.eta()));
1572  if (bestGsfElectron.classification() == GsfElectron::SHOWERING) h_ele_eta_shower ->Fill(std::abs(bestGsfElectron.eta()));
1573 
1574  //fbrem
1575  double fbrem_mean=0.;
1576  if (!readAOD_) // track extra does not exist in AOD
1577  fbrem_mean = 1. - bestGsfElectron.gsfTrack()->outerMomentum().R()/bestGsfElectron.gsfTrack()->innerMomentum().R();
1578  double fbrem_mode = bestGsfElectron.fbrem();
1579  h_ele_fbrem->Fill(fbrem_mode);
1580  h_ele_fbremVsEta_mode->Fill(bestGsfElectron.eta(),fbrem_mode);
1581  if (!readAOD_) // track extra does not exist in AOD
1582  h_ele_fbremVsEta_mean->Fill(bestGsfElectron.eta(),fbrem_mean);
1583 
1584  if (bestGsfElectron.classification() == GsfElectron::GOLDEN) h_ele_PinVsPoutGolden_mode -> Fill(bestGsfElectron.trackMomentumOut().R(), bestGsfElectron.trackMomentumAtVtx().R());
1585  if (bestGsfElectron.classification() == GsfElectron::SHOWERING)
1586  h_ele_PinVsPoutShowering_mode -> Fill(bestGsfElectron.trackMomentumOut().R(), bestGsfElectron.trackMomentumAtVtx().R());
1587  if (!readAOD_) // track extra does not exist in AOD
1588  if (bestGsfElectron.classification() == GsfElectron::GOLDEN) h_ele_PinVsPoutGolden_mean -> Fill(bestGsfElectron.gsfTrack()->outerMomentum().R(), bestGsfElectron.gsfTrack()->innerMomentum().R());
1589  if (!readAOD_) // track extra does not exist in AOD
1590  if (bestGsfElectron.classification() == GsfElectron::SHOWERING)
1591  h_ele_PinVsPoutShowering_mean -> Fill(bestGsfElectron.gsfTrack()->outerMomentum().R(), bestGsfElectron.gsfTrack()->innerMomentum().R());
1592  if (bestGsfElectron.classification() == GsfElectron::GOLDEN) h_ele_PtinVsPtoutGolden_mode -> Fill(bestGsfElectron.trackMomentumOut().Rho(), bestGsfElectron.trackMomentumAtVtx().Rho());
1593  if (bestGsfElectron.classification() == GsfElectron::SHOWERING)
1594  h_ele_PtinVsPtoutShowering_mode -> Fill(bestGsfElectron.trackMomentumOut().Rho(), bestGsfElectron.trackMomentumAtVtx().Rho());
1595  if (!readAOD_) // track extra does not exist in AOD
1596  if (bestGsfElectron.classification() == GsfElectron::GOLDEN) h_ele_PtinVsPtoutGolden_mean -> Fill(bestGsfElectron.gsfTrack()->outerMomentum().Rho(), bestGsfElectron.gsfTrack()->innerMomentum().Rho());
1597  if (!readAOD_) // track extra does not exist in AOD
1598  if (bestGsfElectron.classification() == GsfElectron::SHOWERING)
1599  h_ele_PtinVsPtoutShowering_mean -> Fill(bestGsfElectron.gsfTrack()->outerMomentum().Rho(), bestGsfElectron.gsfTrack()->innerMomentum().Rho());
1600 
1601  h_ele_mva->Fill(bestGsfElectron.mva_e_pi());
1602  if (bestGsfElectron.ecalDrivenSeed()) h_ele_provenance->Fill(1.);
1603  if (bestGsfElectron.trackerDrivenSeed()) h_ele_provenance->Fill(-1.);
1604  if (bestGsfElectron.trackerDrivenSeed()||bestGsfElectron.ecalDrivenSeed()) h_ele_provenance->Fill(0.);
1605  if (bestGsfElectron.trackerDrivenSeed()&&!bestGsfElectron.ecalDrivenSeed()) h_ele_provenance->Fill(-2.);
1606  if (!bestGsfElectron.trackerDrivenSeed()&&bestGsfElectron.ecalDrivenSeed()) h_ele_provenance->Fill(2.);
1607 
1608  h_ele_tkSumPt_dr03->Fill(bestGsfElectron.dr03TkSumPt());
1609  h_ele_ecalRecHitSumEt_dr03->Fill(bestGsfElectron.dr03EcalRecHitSumEt());
1612  h_ele_tkSumPt_dr04->Fill(bestGsfElectron.dr04TkSumPt());
1613  h_ele_ecalRecHitSumEt_dr04->Fill(bestGsfElectron.dr04EcalRecHitSumEt());
1616 
1617  } // gsf electron found
1618 
1619 // } // matching object found
1620 
1621 // }
1622 
1623  } // loop overmatching object
1624 
1625  h_matchingObjectNum->Fill(matchingObjectNum);
1626 
1627 }
GsfTrackRef gsfTrack() const override
reference to a GsfTrack
Definition: GsfElectron.h:186
double eta() const final
momentum pseudorapidity
bool isEBEtaGap() const
Definition: GsfElectron.h:361
virtual SuperClusterRef parentSuperCluster() const
Definition: GsfElectron.h:190
float eSuperClusterOverP() const
Definition: GsfElectron.h:249
bool isEBEEGap() const
Definition: GsfElectron.h:359
float dr04HcalDepth1TowerSumEt() const
Definition: GsfElectron.h:567
math::XYZVectorF trackMomentumAtVtx() const
Definition: GsfElectron.h:295
float dr04TkSumPt() const
Definition: GsfElectron.h:564
double pt() const final
transverse momentum
int charge() const final
electric charge
Definition: LeafCandidate.h:91
bool isEERingGap() const
Definition: GsfElectron.h:365
float dr03HcalDepth2TowerSumEt() const
Definition: GsfElectron.h:556
float fbrem() const
Definition: GsfElectron.h:771
float scE2x5Max() const
Definition: GsfElectron.h:493
bool isEEDeeGap() const
Definition: GsfElectron.h:364
bool isEE() const
Definition: GsfElectron.h:357
bool isEB() const
Definition: GsfElectron.h:356
const Double_t pi
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
float dr04HcalDepth2TowerSumEt() const
Definition: GsfElectron.h:568
float deltaEtaSuperClusterTrackAtVtx() const
Definition: GsfElectron.h:253
int iEvent
Definition: GenABIO.cc:224
float hadronicOverEm() const
Definition: GsfElectron.h:495
float eSeedClusterOverP() const
Definition: GsfElectron.h:250
float dr04EcalRecHitSumEt() const
Definition: GsfElectron.h:566
float deltaPhiSeedClusterTrackAtCalo() const
Definition: GsfElectron.h:257
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
T sqrt(T t)
Definition: SSEVec.h:18
math::XYZVectorF trackMomentumOut() const
Definition: GsfElectron.h:297
float deltaPhiSuperClusterTrackAtVtx() const
Definition: GsfElectron.h:256
const Point & vertex() const override
vertex position (overwritten by PF...)
float dr03TkSumPt() const
Definition: GsfElectron.h:552
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
float dr03HcalDepth1TowerSumEt() const
Definition: GsfElectron.h:555
float eEleClusterOverPout() const
Definition: GsfElectron.h:252
float eSeedClusterOverPout() const
Definition: GsfElectron.h:251
float scSigmaIEtaIEta() const
Definition: GsfElectron.h:491
float deltaPhiEleClusterTrackAtCalo() const
Definition: GsfElectron.h:258
double p() const final
magnitude of momentum vector
T const * product() const
Definition: Handle.h:74
float deltaEtaEleClusterTrackAtCalo() const
Definition: GsfElectron.h:255
Classification classification() const
Definition: GsfElectron.h:767
REF castTo() const
Definition: RefToBase.h:289
GsfTrackRefVector::size_type ambiguousGsfTracksSize() const
Definition: GsfElectron.h:722
double py() const final
y coordinate of momentum vector
float dr03EcalRecHitSumEt() const
Definition: GsfElectron.h:554
float mva_e_pi() const
Definition: GsfElectron.h:702
float deltaEtaSeedClusterTrackAtCalo() const
Definition: GsfElectron.h:254
bool isEBPhiGap() const
Definition: GsfElectron.h:362
SuperClusterRef superCluster() const override
reference to a SuperCluster
Definition: GsfElectron.h:185
bool trackerDrivenSeed() const
Definition: GsfElectron.h:189
const Point & position() const
position
Definition: BeamSpot.h:62
float scE5x5() const
Definition: GsfElectron.h:494
float caloEnergy() const
Definition: GsfElectron.h:861
double phi() const final
momentum azimuthal angle
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:40
float scE1x5() const
Definition: GsfElectron.h:492
bool ecalDrivenSeed() const
Definition: GsfElectron.h:188
void GsfElectronFakeAnalyzer::beginJob ( void  )
overridevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 122 of file GsfElectronFakeAnalyzer.cc.

References gather_cfg::cout, detamatchmax, detamatchmin, detamax, detamin, dphimatchmax, dphimatchmin, dphimax, dphimin, eopmax, eopmaxsht, etamax, etamin, fhitsmax, h_ele_ambiguousTracks, h_ele_ambiguousTracksVsEta, h_ele_ambiguousTracksVsPhi, h_ele_ambiguousTracksVsPt, h_ele_charge, h_ele_chargeVsEta, h_ele_chargeVsPhi, h_ele_chargeVsPt, h_ele_chi2, h_ele_chi2VsEta, h_ele_chi2VsPhi, h_ele_chi2VsPt, h_ele_classes, h_ele_dEtaCl_propOut, h_ele_dEtaCl_propOut_all, h_ele_dEtaCl_propOut_barrel, h_ele_dEtaCl_propOut_eg, h_ele_dEtaCl_propOut_eg_barrel, h_ele_dEtaCl_propOut_eg_endcaps, h_ele_dEtaCl_propOut_endcaps, h_ele_dEtaClVsEta_propOut, h_ele_dEtaClVsPhi_propOut, h_ele_dEtaClVsPt_propOut, h_ele_dEtaEleCl_propOut, h_ele_dEtaEleCl_propOut_barrel, h_ele_dEtaEleCl_propOut_eg, h_ele_dEtaEleCl_propOut_eg_barrel, h_ele_dEtaEleCl_propOut_eg_endcaps, h_ele_dEtaEleCl_propOut_endcaps, h_ele_dEtaEleClVsEta_propOut, h_ele_dEtaEleClVsPhi_propOut, h_ele_dEtaEleClVsPt_propOut, h_ele_dEtaSc_propVtx, h_ele_dEtaSc_propVtx_all, h_ele_dEtaSc_propVtx_barrel, h_ele_dEtaSc_propVtx_eg, h_ele_dEtaSc_propVtx_eg_barrel, h_ele_dEtaSc_propVtx_eg_endcaps, h_ele_dEtaSc_propVtx_endcaps, h_ele_dEtaScVsEta_propVtx, h_ele_dEtaScVsPhi_propVtx, h_ele_dEtaScVsPt_propVtx, h_ele_dPhiCl_propOut, h_ele_dPhiCl_propOut_all, h_ele_dPhiCl_propOut_barrel, h_ele_dPhiCl_propOut_eg, h_ele_dPhiCl_propOut_eg_barrel, h_ele_dPhiCl_propOut_eg_endcaps, h_ele_dPhiCl_propOut_endcaps, h_ele_dPhiClVsEta_propOut, h_ele_dPhiClVsPhi_propOut, h_ele_dPhiClVsPt_propOut, h_ele_dPhiEleCl_propOut, h_ele_dPhiEleCl_propOut_barrel, h_ele_dPhiEleCl_propOut_eg, h_ele_dPhiEleCl_propOut_eg_barrel, h_ele_dPhiEleCl_propOut_eg_endcaps, h_ele_dPhiEleCl_propOut_endcaps, h_ele_dPhiEleClVsEta_propOut, h_ele_dPhiEleClVsPhi_propOut, h_ele_dPhiEleClVsPt_propOut, h_ele_dPhiSc_propVtx, h_ele_dPhiSc_propVtx_all, h_ele_dPhiSc_propVtx_barrel, h_ele_dPhiSc_propVtx_eg, h_ele_dPhiSc_propVtx_eg_barrel, h_ele_dPhiSc_propVtx_eg_endcaps, h_ele_dPhiSc_propVtx_endcaps, h_ele_dPhiScVsEta_propVtx, h_ele_dPhiScVsPhi_propVtx, h_ele_dPhiScVsPt_propVtx, h_ele_E2mnE1vsMee_all, h_ele_E2mnE1vsMee_egeg_all, h_ele_ecalRecHitSumEt_dr03, h_ele_ecalRecHitSumEt_dr04, h_ele_EeleOPout, h_ele_EeleOPout_all, h_ele_EeleOPout_barrel, h_ele_EeleOPout_eg, h_ele_EeleOPout_eg_barrel, h_ele_EeleOPout_eg_endcaps, h_ele_EeleOPout_endcaps, h_ele_EeleOPoutVsE, h_ele_EeleOPoutVsEta, h_ele_EeleOPoutVsPhi, h_ele_EoP, h_ele_EoP_barrel, h_ele_EoP_eg, h_ele_EoP_eg_barrel, h_ele_EoP_eg_endcaps, h_ele_EoP_endcaps, h_ele_EoPout, h_ele_EoPout_all, h_ele_EoPout_barrel, h_ele_EoPout_eg, h_ele_EoPout_eg_barrel, h_ele_EoPout_eg_endcaps, h_ele_EoPout_endcaps, h_ele_EoPoutVsE, h_ele_EoPoutVsEta, h_ele_EoPoutVsPhi, h_ele_EoPVsE, h_ele_EoPVsEta, h_ele_EoPVsPhi, h_ele_EoverP_all, h_ele_EseedOP, h_ele_EseedOP_all, h_ele_EseedOP_barrel, h_ele_EseedOP_eg, h_ele_EseedOP_eg_barrel, h_ele_EseedOP_eg_endcaps, h_ele_EseedOP_endcaps, h_ele_EseedOPVsE, h_ele_EseedOPVsEta, h_ele_EseedOPVsPhi, h_ele_eta, h_ele_eta_bbrem, h_ele_eta_golden, h_ele_eta_narrow, h_ele_eta_shower, h_ele_EtaMnEtamatchingObject, h_ele_EtaMnEtamatchingObjectVsEta, h_ele_EtaMnEtamatchingObjectVsPhi, h_ele_EtaMnEtamatchingObjectVsPt, h_ele_fbrem, h_ele_fbremVsEta_mean, h_ele_fbremVsEta_mode, h_ele_foundHits, h_ele_foundHitsVsEta, h_ele_foundHitsVsPhi, h_ele_foundHitsVsPt, h_ele_hcalDepth1TowerSumEt_dr03, h_ele_hcalDepth1TowerSumEt_dr04, h_ele_hcalDepth2TowerSumEt_dr03, h_ele_hcalDepth2TowerSumEt_dr04, h_ele_HoE, h_ele_HoE_all, h_ele_HoE_barrel, h_ele_HoE_eg, h_ele_HoE_eg_barrel, h_ele_HoE_eg_endcaps, h_ele_HoE_endcaps, h_ele_HoE_fiducial, h_ele_HoEVsE, h_ele_HoEVsEta, h_ele_HoEVsPhi, h_ele_lostHits, h_ele_lostHitsVsEta, h_ele_lostHitsVsPhi, h_ele_lostHitsVsPt, h_ele_matchingObjectAbsEta_matched, h_ele_matchingObjectEta_matched, h_ele_matchingObjectPhi_matched, h_ele_matchingObjectPt_matched, h_ele_matchingObjectZ_matched, h_ele_mee_all, h_ele_mee_os, h_ele_mva, h_ele_outerP, h_ele_outerP_mode, h_ele_outerPt, h_ele_outerPt_mode, h_ele_outerPtVsEta_mode, h_ele_outerPtVsPhi_mode, h_ele_outerPtVsPt_mode, h_ele_outerPVsEta_mode, h_ele_PhiMnPhimatchingObject, h_ele_PhiMnPhimatchingObject2, h_ele_PhiMnPhimatchingObjectVsEta, h_ele_PhiMnPhimatchingObjectVsPhi, h_ele_PhiMnPhimatchingObjectVsPt, h_ele_PinMnPout, h_ele_PinMnPout_mode, h_ele_PinMnPoutVsChi2_mode, h_ele_PinMnPoutVsE_mode, h_ele_PinMnPoutVsEta_mode, h_ele_PinMnPoutVsPhi_mode, h_ele_PinMnPoutVsPt_mode, h_ele_PinVsPoutGolden_mean, h_ele_PinVsPoutGolden_mode, h_ele_PinVsPoutShowering_mean, h_ele_PinVsPoutShowering_mode, h_ele_PoPmatchingObject, h_ele_PoPmatchingObject_barrel, h_ele_PoPmatchingObject_endcaps, h_ele_PoPmatchingObjectVsEta, h_ele_PoPmatchingObjectVsPhi, h_ele_PoPmatchingObjectVsPt, h_ele_provenance, h_ele_PtinVsPtoutGolden_mean, h_ele_PtinVsPtoutGolden_mode, h_ele_PtinVsPtoutShowering_mean, h_ele_PtinVsPtoutShowering_mode, h_ele_seed_dphi2_, h_ele_seed_dphi2VsEta_, h_ele_seed_dphi2VsPt_, h_ele_seed_drz2_, h_ele_seed_drz2VsEta_, h_ele_seed_drz2VsPt_, h_ele_seed_subdet2_, h_ele_TIP_all, h_ele_tkSumPt_dr03, h_ele_tkSumPt_dr04, h_ele_vertexEta, h_ele_vertexEta_all, h_ele_vertexEtaVsPhi, h_ele_vertexP, h_ele_vertexPhi, h_ele_vertexPt, h_ele_vertexPt_all, h_ele_vertexPtVsEta, h_ele_vertexPtVsPhi, h_ele_vertexTIP, h_ele_vertexTIPVsEta, h_ele_vertexTIPVsPhi, h_ele_vertexTIPVsPt, h_ele_vertexX, h_ele_vertexY, h_ele_vertexZ, h_matchingObjectAbsEta, h_matchingObjectEta, h_matchingObjectNum, h_matchingObjectP, h_matchingObjectPhi, h_matchingObjectPt, h_matchingObjectZ, histfile_, histNum_, histSclE1x5_, histSclE1x5_barrel_, histSclE1x5_endcaps_, histSclE2x5max_, histSclE2x5max_barrel_, histSclE2x5max_endcaps_, histSclE5x5_, histSclE5x5_barrel_, histSclE5x5_endcaps_, histSclEn_, histSclEoEmatchingObject_barrel, histSclEoEmatchingObject_endcaps, histSclEoEmatchingObjectGolden_barrel, histSclEoEmatchingObjectGolden_endcaps, histSclEoEmatchingObjectShowering_barrel, histSclEoEmatchingObjectShowering_endcaps, histSclEt_, histSclEta_, histSclEtaVsPhi_, histSclEtVsEta_, histSclEtVsPhi_, histSclPhi_, histSclSigIEtaIEta_, histSclSigIEtaIEta_barrel_, histSclSigIEtaIEta_endcaps_, hoemax, hoemin, edm::InputTag::label(), lhitsmax, matchingObjectCollection_, meemax, meemin, nbindeta, nbindetamatch, nbindetamatch2D, nbindphi, nbindphimatch, nbindphimatch2D, nbineop, nbineop2D, nbineta, nbineta2D, nbinfhits, nbinhoe, nbinlhits, nbinmee, nbinp, nbinp2D, nbinphi, nbinphi2D, nbinpt, nbinpt2D, nbinpteff, nbinxyz, phimax, phimin, pmax, ptmax, AlCaHLTBitMon_QueryRunRegistry::string, and type_.

122  {
123 
124  histfile_->cd();
125 
126 
127  // matching object
128  std::string::size_type locJet = matchingObjectCollection_.label().find( "iterativeCone5CaloJets", 0 );
130  if ( locJet != std::string::npos ) {
131  std::cout << "Matching objects are CaloJets " << std::endl;
132  type_ = "CaloJet";
133  } else {
134  std::cout << "Didn't recognize input matching objects!! " << std::endl;
135  }
136 
137  std::string htitle, hlabel;
138  hlabel="h_"+type_+"Num"; htitle="# "+type_+"s";
139  h_matchingObjectNum = new TH1F( hlabel.c_str(), htitle.c_str(), nbinfhits,0.,fhitsmax );
140 
141  // rec event
142 
143  histNum_= new TH1F("h_recEleNum","# rec electrons",20, 0.,20.);
144 
145  // matching object distributions
146  hlabel="h_"+type_+"_eta"; htitle=type_+" #eta";
147  h_matchingObjectEta = new TH1F( hlabel.c_str(), htitle.c_str(), nbineta,etamin,etamax);
148  hlabel="h_"+type_+"_abseta"; htitle=type_+" |#eta|";
149  h_matchingObjectAbsEta = new TH1F( hlabel.c_str(), htitle.c_str(), nbineta/2,0.,etamax);
150  hlabel="h_"+type_+"_P"; htitle=type_+" p";
151  h_matchingObjectP = new TH1F( hlabel.c_str(), htitle.c_str(), nbinp,0.,pmax);
152  hlabel="h_"+type_+"_Pt"; htitle=type_+" pt";
153  h_matchingObjectPt = new TH1F( hlabel.c_str(),htitle.c_str(), nbinpteff,5.,ptmax);
154  hlabel="h_"+type_+"_phi"; htitle=type_+" phi";
155  h_matchingObjectPhi = new TH1F( hlabel.c_str(), htitle.c_str(), nbinphi,phimin,phimax);
156  hlabel="h_"+type_+"_z"; htitle=type_+" z";
157  h_matchingObjectZ = new TH1F( hlabel.c_str(), htitle.c_str(), nbinxyz, -25, 25 );
158 
159  // all electrons
160  h_ele_EoverP_all = new TH1F( "h_ele_EoverP_all", "ele E/P_{vertex}, all reco electrons", nbineop,0.,eopmax);
161  h_ele_EseedOP_all = new TH1F( "h_ele_EseedOP_all", "ele E_{seed}/P_{vertex}, all reco electrons", nbineop,0.,eopmax);
162  h_ele_EoPout_all = new TH1F( "h_ele_EoPout_all", "ele E_{seed}/P_{out}, all reco electrons", nbineop,0.,eopmax);
163  h_ele_EeleOPout_all = new TH1F( "h_ele_EeleOPout_all", "ele E_{ele}/P_{out}, all reco electrons", nbineop,0.,eopmax);
164  h_ele_dEtaSc_propVtx_all = new TH1F( "h_ele_dEtaSc_propVtx_all", "ele #eta_{sc} - #eta_{tr}, prop from vertex, all reco electrons", nbindetamatch,detamatchmin,detamatchmax);
165  h_ele_dPhiSc_propVtx_all = new TH1F( "h_ele_dPhiSc_propVtx_all", "ele #phi_{sc} - #phi_{tr}, prop from vertex, all reco electrons", nbindphimatch,dphimatchmin,dphimatchmax);
166  h_ele_dEtaCl_propOut_all = new TH1F( "h_ele_dEtaCl_propOut_all", "ele #eta_{cl} - #eta_{tr}, prop from outermost, all reco electrons", nbindetamatch,detamatchmin,detamatchmax);
167  h_ele_dPhiCl_propOut_all = new TH1F( "h_ele_dPhiCl_propOut_all", "ele #phi_{cl} - #phi_{tr}, prop from outermost, all reco electrons", nbindphimatch,dphimatchmin,dphimatchmax);
168  h_ele_HoE_all = new TH1F("h_ele_HoE_all", "ele hadronic energy / em energy, all reco electrons", nbinhoe, hoemin, hoemax) ;
169  h_ele_vertexPt_all = new TH1F( "h_ele_vertexPt_all", "ele p_{T}, all reco electrons", nbinpteff,5.,ptmax);
170  h_ele_vertexPt_all->Sumw2();
171  h_ele_vertexEta_all = new TH1F( "h_ele_vertexEta_all", "ele eta, all reco electrons", nbineta,etamin,etamax);
172  h_ele_vertexEta_all->Sumw2();
173  h_ele_TIP_all = new TH1F( "h_ele_TIP_all", "ele vertex transverse radius, all reco electrons", 100,0.,0.2);
174  h_ele_mee_all = new TH1F( "h_ele_mee_all", "ele pairs invariant mass, all reco electrons", nbinmee, meemin, meemax );
175  h_ele_mee_os = new TH1F( "h_ele_mee_os", "ele pairs invariant mass, opp. sign", nbinmee, meemin, meemax );
176 
177  // duplicates
178  h_ele_E2mnE1vsMee_all = new TH2F("h_ele_E2mnE1vsMee_all", "E2 - E1 vs ele pairs invariant mass, all electrons", nbinmee, meemin, meemax, 100, -50., 50. );
179  h_ele_E2mnE1vsMee_egeg_all = new TH2F("h_ele_E2mnE1vsMee_egeg_all", "E2 - E1 vs ele pairs invariant mass, ecal driven pairs, all electrons", nbinmee, meemin, meemax, 100, -50., 50. );
180 
181  // matched electrons
182  h_ele_charge = new TH1F( "h_ele_charge", "ele charge", 5,-2.,2.);
183  h_ele_chargeVsEta = new TH2F( "h_ele_chargeVsEta", "ele charge vs eta", nbineta2D,etamin,etamax,5,-2.,2.);
184  h_ele_chargeVsPhi = new TH2F( "h_ele_chargeVsPhi", "ele charge vs phi", nbinphi2D,phimin,phimax,5,-2.,2.);
185  h_ele_chargeVsPt = new TH2F( "h_ele_chargeVsPt", "ele charge vs pt", nbinpt,0.,100.,5,-2.,2.);
186  h_ele_vertexP = new TH1F( "h_ele_vertexP", "ele momentum", nbinp,0.,pmax);
187  h_ele_vertexPt = new TH1F( "h_ele_vertexPt", "ele transverse momentum", nbinpt,0.,ptmax);
188  h_ele_vertexPtVsEta = new TH2F( "h_ele_vertexPtVsEta", "ele transverse momentum vs eta",nbineta2D,etamin,etamax,nbinpt2D,0.,ptmax);
189  h_ele_vertexPtVsPhi = new TH2F( "h_ele_vertexPtVsPhi", "ele transverse momentum vs phi",nbinphi2D,phimin,phimax,nbinpt2D,0.,ptmax);
190  h_ele_matchingObjectPt_matched = new TH1F( "h_ele_matchingObjectPt_matched", "Efficiency vs matching jet p_{T}", nbinpteff,5.,ptmax);
192  h_ele_vertexEta = new TH1F( "h_ele_vertexEta", "ele momentum eta", nbineta,etamin,etamax);
193  h_ele_vertexEtaVsPhi = new TH2F( "h_ele_vertexEtaVsPhi", "ele momentum eta vs phi",nbineta2D,etamin,etamax,nbinphi2D,phimin,phimax );
194  h_ele_matchingObjectAbsEta_matched = new TH1F( "h_ele_matchingObjectAbsEta_matched", "Efficiency vs matching jet |#eta|", nbineta/2,0.,2.5);
196  h_ele_matchingObjectEta_matched = new TH1F( "h_ele_matchingObjectEta_matched", "Efficiency vs matching jet #eta", nbineta,etamin,etamax);
198  h_ele_matchingObjectPhi_matched = new TH1F( "h_ele_matchingObjectPhi_matched", "Efficiency vs matching jet phi", nbinphi,phimin,phimax);
200  h_ele_vertexPhi = new TH1F( "h_ele_vertexPhi", "ele momentum #phi", nbinphi,phimin,phimax);
201  h_ele_vertexX = new TH1F( "h_ele_vertexX", "ele vertex x", nbinxyz,-0.1,0.1 );
202  h_ele_vertexY = new TH1F( "h_ele_vertexY", "ele vertex y", nbinxyz,-0.1,0.1 );
203  h_ele_vertexZ = new TH1F( "h_ele_vertexZ", "ele vertex z", nbinxyz,-25, 25 );
204  h_ele_matchingObjectZ_matched = new TH1F( "h_ele_matchingObjectZ_matched", "Efficiency vs matching jet z", nbinxyz,-25,25);
206  h_ele_vertexTIP = new TH1F( "h_ele_vertexTIP", "ele transverse impact parameter (wrt bs)", 90,0.,0.15);
207  h_ele_vertexTIPVsEta = new TH2F( "h_ele_vertexTIPVsEta", "ele transverse impact parameter (wrt bs) vs eta", nbineta2D,etamin,etamax,45,0.,0.15);
208  h_ele_vertexTIPVsPhi = new TH2F( "h_ele_vertexTIPVsPhi", "ele transverse impact parameter (wrt bs) vs phi", nbinphi2D,phimin,phimax,45,0.,0.15);
209  h_ele_vertexTIPVsPt = new TH2F( "h_ele_vertexTIPVsPt", "ele transverse impact parameter (wrt bs) vs Pt", nbinpt2D,0.,ptmax,45,0.,0.15);
210  h_ele_PoPmatchingObject = new TH1F( "h_ele_PoPmatchingObject", "ele momentum / matching jet momentum", 75,0.,1.5);
211  h_ele_PoPmatchingObjectVsEta = new TH2F( "h_ele_PoPmatchingObjectVsEta", "ele momentum / matching jet momentum vs eta", nbineta2D,etamin,etamax,50,0.,1.5);
212  h_ele_PoPmatchingObjectVsPhi = new TH2F( "h_ele_PoPmatchingObjectVsPhi", "ele momentum / matching jet momentum vs phi", nbinphi2D,phimin,phimax,50,0.,1.5);
213  h_ele_PoPmatchingObjectVsPt = new TH2F( "h_ele_PoPmatchingObjectVsPt", "ele momentum / matching jet momentum vs eta", nbinpt2D,0.,ptmax,50,0.,1.5);
214  h_ele_PoPmatchingObject_barrel = new TH1F( "h_ele_PoPmatchingObject_barrel", "ele momentum / matching jet momentum, barrel",75,0.,1.5);
215  h_ele_PoPmatchingObject_endcaps = new TH1F( "h_ele_PoPmatchingObject_endcaps", "ele momentum / matching jet momentum, endcaps",75,0.,1.5);
216  h_ele_EtaMnEtamatchingObject = new TH1F( "h_ele_EtaMnEtamatchingObject", "ele momentum eta - matching jet eta",nbindeta,detamin,detamax);
217  h_ele_EtaMnEtamatchingObjectVsEta = new TH2F( "h_ele_EtaMnEtamatchingObjectVsEta", "ele momentum eta - matching jet eta vs eta",nbineta2D,etamin,etamax,nbindeta/2,detamin,detamax);
218  h_ele_EtaMnEtamatchingObjectVsPhi = new TH2F( "h_ele_EtaMnEtamatchingObjectVsPhi", "ele momentum eta - matching jet eta vs phi",nbinphi2D,phimin,phimax,nbindeta/2,detamin,detamax);
219  h_ele_EtaMnEtamatchingObjectVsPt = new TH2F( "h_ele_EtaMnEtamatchingObjectVsPt", "ele momentum eta - matching jet eta vs pt",nbinpt,0.,ptmax,nbindeta/2,detamin,detamax);
220  h_ele_PhiMnPhimatchingObject = new TH1F( "h_ele_PhiMnPhimatchingObject", "ele momentum phi - matching jet phi",nbindphi,dphimin,dphimax);
221  h_ele_PhiMnPhimatchingObject2 = new TH1F( "h_ele_PhiMnPhimatchingObject2", "ele momentum phi - matching jet phi",nbindphimatch2D,dphimatchmin,dphimatchmax);
222  h_ele_PhiMnPhimatchingObjectVsEta = new TH2F( "h_ele_PhiMnPhimatchingObjectVsEta", "ele momentum phi - matching SC phi vs eta",nbineta2D,etamin,etamax,nbindphi/2,dphimin,dphimax);
223  h_ele_PhiMnPhimatchingObjectVsPhi = new TH2F( "h_ele_PhiMnPhimatchingObjectVsPhi", "ele momentum phi - matching SC phi vs phi",nbinphi2D,phimin,phimax,nbindphi/2,dphimin,dphimax);
224  h_ele_PhiMnPhimatchingObjectVsPt = new TH2F( "h_ele_PhiMnPhimatchingObjectVsPt", "ele momentum phi - matching SC phi vs pt",nbinpt2D,0.,ptmax,nbindphi/2,dphimin,dphimax);
225 
226  // matched electron, superclusters
227  histSclEn_ = new TH1F("h_scl_energy","ele supercluster energy",nbinp,0.,pmax);
228  histSclEoEmatchingObject_barrel = new TH1F("h_scl_EoEmatchingObject_barrel","ele supercluster energy / matching jet energy, barrel",50,0.2,1.2);
229  histSclEoEmatchingObject_endcaps = new TH1F("h_scl_EoEmatchingObject_endcaps","ele supercluster energy / matching jet energy, endcaps",50,0.2,1.2);
230  histSclEt_ = new TH1F("h_scl_et","ele supercluster transverse energy",nbinpt,0.,ptmax);
231  histSclEtVsEta_ = new TH2F("h_scl_etVsEta","ele supercluster transverse energy vs eta",nbineta2D,etamin,etamax,nbinpt,0.,ptmax);
232  histSclEtVsPhi_ = new TH2F("h_scl_etVsPhi","ele supercluster transverse energy vs phi",nbinphi2D,phimin,phimax,nbinpt,0.,ptmax);
233  histSclEtaVsPhi_ = new TH2F("h_scl_etaVsPhi","ele supercluster eta vs phi",nbinphi2D,phimin,phimax,nbineta2D,etamin,etamax);
234  histSclEta_ = new TH1F("h_scl_eta","ele supercluster eta",nbineta,etamin,etamax);
235  histSclPhi_ = new TH1F("h_scl_phi","ele supercluster phi",nbinphi,phimin,phimax);
236 
237  histSclSigIEtaIEta_ = new TH1F("h_scl_sigietaieta","ele supercluster sigma ieta ieta",100,0.,0.05);
238  histSclSigIEtaIEta_barrel_ = new TH1F("h_scl_sigietaieta_barrel","ele supercluster sigma ieta ieta, barrel",100,0.,0.05);
239  histSclSigIEtaIEta_endcaps_ = new TH1F("h_scl_sigietaieta_endcaps","ele supercluster sigma ieta ieta, endcaps",100,0.,0.05);
240  histSclE1x5_ = new TH1F("h_scl_E1x5","ele supercluster energy in 1x5",nbinp,0.,pmax);
241  histSclE1x5_barrel_ = new TH1F("h_scl_E1x5_barrel","ele supercluster energy in 1x5 barrel",nbinp,0.,pmax);
242  histSclE1x5_endcaps_ = new TH1F("h_scl_E1x5_endcaps","ele supercluster energy in 1x5 endcaps",nbinp,0.,pmax);
243  histSclE2x5max_ = new TH1F("h_scl_E2x5max","ele supercluster energy in 2x5 max",nbinp,0.,pmax);
244  histSclE2x5max_barrel_ = new TH1F("h_scl_E2x5max_barrel","ele supercluster energy in 2x5 max barrel",nbinp,0.,pmax);
245  histSclE2x5max_endcaps_ = new TH1F("h_scl_E2x5max_endcaps","ele supercluster energy in 2x5 max endcaps",nbinp,0.,pmax);
246  histSclE5x5_ = new TH1F("h_scl_E5x5","ele supercluster energy in 5x5",nbinp,0.,pmax);
247  histSclE5x5_barrel_ = new TH1F("h_scl_E5x5_barrel","ele supercluster energy in 5x5 barrel",nbinp,0.,pmax);
248  histSclE5x5_endcaps_ = new TH1F("h_scl_E5x5_endcaps","ele supercluster energy in 5x5 endcaps",nbinp,0.,pmax);
249 
250  // matched electron, gsf tracks
251  h_ele_ambiguousTracks = new TH1F( "h_ele_ambiguousTracks", "ele # ambiguous tracks", 5,0.,5.);
252  h_ele_ambiguousTracksVsEta = new TH2F( "h_ele_ambiguousTracksVsEta","ele # ambiguous tracks vs eta", nbineta2D,etamin,etamax,5,0.,5.);
253  h_ele_ambiguousTracksVsPhi = new TH2F( "h_ele_ambiguousTracksVsPhi", "ele # ambiguous tracks vs phi", nbinphi2D,phimin,phimax,5,0.,5.);
254  h_ele_ambiguousTracksVsPt = new TH2F( "h_ele_ambiguousTracksVsPt", "ele # ambiguous tracks vs pt", nbinpt2D,0.,ptmax,5,0.,5.);
255  h_ele_foundHits = new TH1F( "h_ele_foundHits", "ele track # found hits", nbinfhits,0.,fhitsmax);
256  h_ele_foundHitsVsEta = new TH2F( "h_ele_foundHitsVsEta", "ele track # found hits vs eta", nbineta2D,etamin,etamax,nbinfhits,0.,fhitsmax);
257  h_ele_foundHitsVsPhi = new TH2F( "h_ele_foundHitsVsPhi", "ele track # found hits vs phi", nbinphi2D,phimin,phimax,nbinfhits,0.,fhitsmax);
258  h_ele_foundHitsVsPt = new TH2F( "h_ele_foundHitsVsPt", "ele track # found hits vs pt", nbinpt2D,0.,ptmax,nbinfhits,0.,fhitsmax);
259  h_ele_lostHits = new TH1F( "h_ele_lostHits", "ele track # lost hits", 5,0.,5.);
260  h_ele_lostHitsVsEta = new TH2F( "h_ele_lostHitsVsEta", "ele track # lost hits vs eta", nbineta2D,etamin,etamax,nbinlhits,0.,lhitsmax);
261  h_ele_lostHitsVsPhi = new TH2F( "h_ele_lostHitsVsPhi", "ele track # lost hits vs eta", nbinphi2D,phimin,phimax,nbinlhits,0.,lhitsmax);
262  h_ele_lostHitsVsPt = new TH2F( "h_ele_lostHitsVsPt", "ele track # lost hits vs eta", nbinpt2D,0.,ptmax,nbinlhits,0.,lhitsmax);
263  h_ele_chi2 = new TH1F( "h_ele_chi2", "ele track #chi^{2}", 100,0.,15.);
264  h_ele_chi2VsEta = new TH2F( "h_ele_chi2VsEta", "ele track #chi^{2} vs eta", nbineta2D,etamin,etamax,50,0.,15.);
265  h_ele_chi2VsPhi = new TH2F( "h_ele_chi2VsPhi", "ele track #chi^{2} vs phi", nbinphi2D,phimin,phimax,50,0.,15.);
266  h_ele_chi2VsPt = new TH2F( "h_ele_chi2VsPt", "ele track #chi^{2} vs pt", nbinpt2D,0.,ptmax,50,0.,15.);
267  h_ele_PinMnPout = new TH1F( "h_ele_PinMnPout", "ele track inner p - outer p, mean" ,nbinp,0.,200.);
268  h_ele_PinMnPout_mode = new TH1F( "h_ele_PinMnPout_mode", "ele track inner p - outer p, mode" ,nbinp,0.,100.);
269  h_ele_PinMnPoutVsEta_mode = new TH2F( "h_ele_PinMnPoutVsEta_mode", "ele track inner p - outer p vs eta, mode" ,nbineta2D, etamin,etamax,nbinp2D,0.,100.);
270  h_ele_PinMnPoutVsPhi_mode = new TH2F( "h_ele_PinMnPoutVsPhi_mode", "ele track inner p - outer p vs phi, mode" ,nbinphi2D, phimin,phimax,nbinp2D,0.,100.);
271  h_ele_PinMnPoutVsPt_mode = new TH2F( "h_ele_PinMnPoutVsPt_mode", "ele track inner p - outer p vs pt, mode" ,nbinpt2D, 0.,ptmax,nbinp2D,0.,100.);
272  h_ele_PinMnPoutVsE_mode = new TH2F( "h_ele_PinMnPoutVsE_mode", "ele track inner p - outer p vs E, mode" ,nbinp2D, 0.,200.,nbinp2D,0.,100.);
273  h_ele_PinMnPoutVsChi2_mode = new TH2F( "h_ele_PinMnPoutVsChi2_mode", "ele track inner p - outer p vs track chi2, mode" ,50, 0.,20.,nbinp2D,0.,100.);
274  h_ele_outerP = new TH1F( "h_ele_outerP", "ele track outer p, mean", nbinp,0.,pmax);
275  h_ele_outerP_mode = new TH1F( "h_ele_outerP_mode", "ele track outer p, mode", nbinp,0.,pmax);
276  h_ele_outerPVsEta_mode = new TH2F( "h_ele_outerPVsEta_mode", "ele track outer p vs eta mode", nbineta2D,etamin,etamax,50,0.,pmax);
277  h_ele_outerPt = new TH1F( "h_ele_outerPt", "ele track outer p_{T}, mean", nbinpt,0.,ptmax);
278  h_ele_outerPt_mode = new TH1F( "h_ele_outerPt_mode", "ele track outer p_{T}, mode", nbinpt,0.,ptmax);
279  h_ele_outerPtVsEta_mode = new TH2F( "h_ele_outerPtVsEta_mode", "ele track outer p_{T} vs eta, mode", nbineta2D,etamin,etamax,nbinpt2D,0.,ptmax);
280  h_ele_outerPtVsPhi_mode = new TH2F( "h_ele_outerPtVsPhi_mode", "ele track outer p_{T} vs phi, mode", nbinphi2D,phimin,phimax,nbinpt2D,0.,ptmax);
281  h_ele_outerPtVsPt_mode = new TH2F( "h_ele_outerPtVsPt_mode", "ele track outer p_{T} vs pt, mode", nbinpt2D,0.,100.,nbinpt2D,0.,ptmax);
282 
283  // matched electrons,cluster-track matching
284  h_ele_EoP = new TH1F( "h_ele_EoP", "ele E/P_{vertex}", nbineop,0.,eopmax);
285  h_ele_EoP->Sumw2();
286  h_ele_EoP_eg = new TH1F( "h_ele_EoP_eg", "ele E/P_{vertex}, ecal driven", nbineop,0.,eopmax);
287  h_ele_EoP_eg->Sumw2();
288  h_ele_EoP_barrel = new TH1F( "h_ele_EoP_barrel", "ele E/P_{vertex} barrel", nbineop,0.,eopmax);
289  h_ele_EoP_barrel->Sumw2();
290  h_ele_EoP_eg_barrel = new TH1F( "h_ele_EoP_eg_barrel", "ele E/P_{vertex}, ecal driven barrel", nbineop,0.,eopmax);
291  h_ele_EoP_eg_barrel->Sumw2();
292  h_ele_EoP_endcaps = new TH1F( "h_ele_EoP_endcaps", "ele E/P_{vertex} endcaps", nbineop,0.,eopmax);
293  h_ele_EoP_endcaps->Sumw2();
294  h_ele_EoP_eg_endcaps = new TH1F( "h_ele_EoP_eg_endcaps", "ele E/P_{vertex}, ecal driven endcaps", nbineop,0.,eopmax);
295  h_ele_EoP_eg_endcaps->Sumw2();
296  h_ele_EoPVsEta = new TH2F( "h_ele_EoPVsEta", "ele E/P_{vertex} vs eta", nbineta2D,etamin,etamax,nbineop2D,0.,eopmaxsht);
297  h_ele_EoPVsPhi = new TH2F( "h_ele_EoPVsPhi", "ele E/P_{vertex} vs phi", nbinphi2D,phimin,phimax,nbineop2D,0.,eopmaxsht);
298  h_ele_EoPVsE = new TH2F( "h_ele_EoPVsE", "ele E/P_{vertex} vs E", 50,0.,pmax ,50,0.,5.);
299  h_ele_EseedOP = new TH1F( "h_ele_EseedOP", "ele E_{seed}/P_{vertex}", nbineop,0.,eopmax);
300  h_ele_EseedOP->Sumw2();
301  h_ele_EseedOP_eg = new TH1F( "h_ele_EseedOP_eg", "ele E_{seed}/P_{vertex}, ecal driven", nbineop,0.,eopmax);
302  h_ele_EseedOP_eg->Sumw2();
303  h_ele_EseedOP_barrel = new TH1F( "h_ele_EseedOP_barrel", "ele E_{seed}/P_{vertex} barrel", nbineop,0.,eopmax);
304  h_ele_EseedOP_barrel->Sumw2();
305  h_ele_EseedOP_eg_barrel = new TH1F( "h_ele_EseedOP_eg_barrel", "ele E_{seed}/P_{vertex}, ecal driven barrel", nbineop,0.,eopmax);
306  h_ele_EseedOP_eg_barrel->Sumw2();
307  h_ele_EseedOP_endcaps = new TH1F( "h_ele_EseedOP_endcaps", "ele E_{seed}/P_{vertex} endcaps", nbineop,0.,eopmax);
308  h_ele_EseedOP_endcaps->Sumw2();
309  h_ele_EseedOP_eg_endcaps = new TH1F( "h_ele_EseedOP_eg_endcaps", "ele E_{seed}/P_{vertex}, ecal driven, endcaps", nbineop,0.,eopmax);
310  h_ele_EseedOP_eg_endcaps->Sumw2();
311  h_ele_EseedOPVsEta = new TH2F( "h_ele_EseedOPVsEta", "ele E_{seed}/P_{vertex} vs eta", nbineta2D,etamin,etamax,nbineop2D,0.,eopmaxsht);
312  h_ele_EseedOPVsPhi = new TH2F( "h_ele_EseedOPVsPhi", "ele E_{seed}/P_{vertex} vs phi", nbinphi2D,phimin,phimax,nbineop2D,0.,eopmaxsht);
313  h_ele_EseedOPVsE = new TH2F( "h_ele_EseedOPVsE", "ele E_{seed}/P_{vertex} vs E", 50,0.,pmax ,50,0.,5.);
314  h_ele_EoPout = new TH1F( "h_ele_EoPout", "ele E_{seed}/P_{out}", nbineop,0.,eopmax);
315  h_ele_EoPout->Sumw2();
316  h_ele_EoPout_eg = new TH1F( "h_ele_EoPout_eg", "ele E_{seed}/P_{out}, ecal driven", nbineop,0.,eopmax);
317  h_ele_EoPout_eg->Sumw2();
318  h_ele_EoPout_barrel = new TH1F( "h_ele_EoPout_barrel", "ele E_{seed}/P_{out} barrel", nbineop,0.,eopmax);
319  h_ele_EoPout_barrel->Sumw2();
320  h_ele_EoPout_eg_barrel = new TH1F( "h_ele_EoPout_eg_barrel", "ele E_{seed}/P_{out}, ecal driven, barrel", nbineop,0.,eopmax);
321  h_ele_EoPout_eg_barrel->Sumw2();
322  h_ele_EoPout_endcaps = new TH1F( "h_ele_EoPout_endcaps", "ele E_{seed}/P_{out} endcaps", nbineop,0.,eopmax);
323  h_ele_EoPout_endcaps->Sumw2();
324  h_ele_EoPout_eg_endcaps = new TH1F( "h_ele_EoPout_eg_endcaps", "ele E_{seed}/P_{out}, ecal driven, endcaps", nbineop,0.,eopmax);
325  h_ele_EoPout_eg_endcaps->Sumw2();
326  h_ele_EoPoutVsEta = new TH2F( "h_ele_EoPoutVsEta", "ele E/P_{out} vs eta", nbineta2D,etamin,etamax,nbineop2D,0.,eopmaxsht);
327  h_ele_EoPoutVsPhi = new TH2F( "h_ele_EoPoutVsPhi", "ele E/P_{out} vs phi", nbinphi2D,phimin,phimax,nbineop2D,0.,eopmaxsht);
328  h_ele_EoPoutVsE = new TH2F( "h_ele_EoPoutVsE", "ele E/P_{out} vs E", nbinp2D,0.,pmax,nbineop2D,0.,eopmaxsht);
329  h_ele_EeleOPout = new TH1F( "h_ele_EeleOPout", "ele E_{ele}/P_{out}", nbineop,0.,eopmax);
330  h_ele_EeleOPout->Sumw2();
331  h_ele_EeleOPout_eg = new TH1F( "h_ele_EeleOPout_eg", "ele E_{ele}/P_{out}, ecal driven", nbineop,0.,eopmax);
332  h_ele_EeleOPout_eg->Sumw2();
333  h_ele_EeleOPout_barrel = new TH1F( "h_ele_EeleOPout_barrel", "ele E_{ele}/P_{out} barrel", nbineop,0.,eopmax);
334  h_ele_EeleOPout_barrel->Sumw2();
335  h_ele_EeleOPout_eg_barrel = new TH1F( "h_ele_EeleOPout_eg_barrel", "ele E_{ele}/P_{out}, ecal driven, barrel", nbineop,0.,eopmax);
336  h_ele_EeleOPout_eg_barrel->Sumw2();
337  h_ele_EeleOPout_endcaps = new TH1F( "h_ele_EeleOPout_endcaps", "ele E_{ele}/P_{out} endcaps", nbineop,0.,eopmax);
338  h_ele_EeleOPout_endcaps->Sumw2();
339  h_ele_EeleOPout_eg_endcaps = new TH1F( "h_ele_EeleOPout_eg_endcaps", "ele E_{ele}/P_{out}, ecal driven, endcaps", nbineop,0.,eopmax);
341  h_ele_EeleOPoutVsEta = new TH2F( "h_ele_EeleOPoutVsEta", "ele E_{ele}/P_{out} vs eta", nbineta2D,etamin,etamax,nbineop2D,0.,eopmaxsht);
342  h_ele_EeleOPoutVsPhi = new TH2F( "h_ele_EeleOPoutVsPhi", "ele E_{ele}/P_{out} vs phi", nbinphi2D,phimin,phimax,nbineop2D,0.,eopmaxsht);
343  h_ele_EeleOPoutVsE = new TH2F( "h_ele_EeleOPoutVsE", "ele E_{ele}/P_{out} vs E", nbinp2D,0.,pmax,nbineop2D,0.,eopmaxsht);
344  h_ele_dEtaSc_propVtx = new TH1F( "h_ele_dEtaSc_propVtx", "ele #eta_{sc} - #eta_{tr}, prop from vertex", nbindetamatch,detamatchmin,detamatchmax);
345  h_ele_dEtaSc_propVtx->Sumw2();
346  h_ele_dEtaSc_propVtx_eg = new TH1F( "h_ele_dEtaSc_propVtx_eg", "ele #eta_{sc} - #eta_{tr}, prop from vertex, ecal driven", nbindetamatch,detamatchmin,detamatchmax);
347  h_ele_dEtaSc_propVtx_eg->Sumw2();
348  h_ele_dEtaSc_propVtx_barrel = new TH1F( "h_ele_dEtaSc_propVtx_barrel", "ele #eta_{sc} - #eta_{tr}, prop from vertex, barrel", nbindetamatch,detamatchmin,detamatchmax);
350  h_ele_dEtaSc_propVtx_eg_barrel = new TH1F( "h_ele_dEtaSc_propVtx_eg_barrel", "ele #eta_{sc} - #eta_{tr}, prop from vertex, ecal driven, barrel", nbindetamatch,detamatchmin,detamatchmax);
352  h_ele_dEtaSc_propVtx_endcaps = new TH1F( "h_ele_dEtaSc_propVtx_endcaps", "ele #eta_{sc} - #eta_{tr}, prop from vertex, endcaps", nbindetamatch,detamatchmin,detamatchmax);
354  h_ele_dEtaSc_propVtx_eg_endcaps = new TH1F( "h_ele_dEtaSc_propVtx_eg_endcaps", "ele #eta_{sc} - #eta_{tr}, prop from vertex, ecal driven, endcaps", nbindetamatch,detamatchmin,detamatchmax);
356  h_ele_dEtaScVsEta_propVtx = new TH2F( "h_ele_dEtaScVsEta_propVtx", "ele #eta_{sc} - #eta_{tr} vs eta, prop from vertex", nbineta2D,etamin,etamax,nbindetamatch2D,detamatchmin,detamatchmax);
357  h_ele_dEtaScVsPhi_propVtx = new TH2F( "h_ele_dEtaScVsPhi_propVtx", "ele #eta_{sc} - #eta_{tr} vs phi, prop from vertex", nbinphi2D,phimin,phimax,nbindetamatch2D,detamatchmin,detamatchmax);
358  h_ele_dEtaScVsPt_propVtx = new TH2F( "h_ele_dEtaScVsPt_propVtx", "ele #eta_{sc} - #eta_{tr} vs pt, prop from vertex", nbinpt2D,0.,ptmax,nbindetamatch2D,detamatchmin,detamatchmax);
359  h_ele_dPhiSc_propVtx = new TH1F( "h_ele_dPhiSc_propVtx", "ele #phi_{sc} - #phi_{tr}, prop from vertex", nbindphimatch,dphimatchmin,dphimatchmax);
360  h_ele_dPhiSc_propVtx->Sumw2();
361  h_ele_dPhiSc_propVtx_eg = new TH1F( "h_ele_dPhiSc_propVtx_eg", "ele #phi_{sc} - #phi_{tr}, prop from vertex, ecal driven", nbindphimatch,dphimatchmin,dphimatchmax);
362  h_ele_dPhiSc_propVtx_eg->Sumw2();
363  h_ele_dPhiSc_propVtx_barrel = new TH1F( "h_ele_dPhiSc_propVtx_barrel", "ele #phi_{sc} - #phi_{tr}, prop from vertex, barrel", nbindphimatch,dphimatchmin,dphimatchmax);
365  h_ele_dPhiSc_propVtx_eg_barrel = new TH1F( "h_ele_dPhiSc_propVtx_eg_barrel", "ele #phi_{sc} - #phi_{tr}, prop from vertex, ecal driven, barrel", nbindphimatch,dphimatchmin,dphimatchmax);
367  h_ele_dPhiSc_propVtx_endcaps = new TH1F( "h_ele_dPhiSc_propVtx_endcaps", "ele #phi_{sc} - #phi_{tr}, prop from vertex, endcaps", nbindphimatch,dphimatchmin,dphimatchmax);
369  h_ele_dPhiSc_propVtx_eg_endcaps = new TH1F( "h_ele_dPhiSc_propVtx_eg_endcaps", "ele #phi_{sc} - #phi_{tr}, prop from vertex, ecal driven, endcaps", nbindphimatch,dphimatchmin,dphimatchmax);
371  h_ele_dPhiScVsEta_propVtx = new TH2F( "h_ele_dPhiScVsEta_propVtx", "ele #phi_{sc} - #phi_{tr} vs eta, prop from vertex", nbineta2D,etamin,etamax,nbindphimatch2D,dphimatchmin,dphimatchmax);
372  h_ele_dPhiScVsPhi_propVtx = new TH2F( "h_ele_dPhiScVsPhi_propVtx", "ele #phi_{sc} - #phi_{tr} vs phi, prop from vertex", nbinphi2D,phimin,phimax,nbindphimatch2D,dphimatchmin,dphimatchmax);
373  h_ele_dPhiScVsPt_propVtx = new TH2F( "h_ele_dPhiScVsPt_propVtx", "ele #phi_{sc} - #phi_{tr} vs pt, prop from vertex", nbinpt2D,0.,ptmax,nbindphimatch2D,dphimatchmin,dphimatchmax);
374  h_ele_dEtaCl_propOut = new TH1F( "h_ele_dEtaCl_propOut", "ele #eta_{cl} - #eta_{tr}, prop from outermost", nbindetamatch,detamatchmin,detamatchmax);
375  h_ele_dEtaCl_propOut->Sumw2();
376  h_ele_dEtaCl_propOut_eg = new TH1F( "h_ele_dEtaCl_propOut_eg", "ele #eta_{cl} - #eta_{tr}, prop from outermost, ecal driven", nbindetamatch,detamatchmin,detamatchmax);
377  h_ele_dEtaCl_propOut_eg->Sumw2();
378  h_ele_dEtaCl_propOut_barrel = new TH1F( "h_ele_dEtaCl_propOut_barrel", "ele #eta_{cl} - #eta_{tr}, prop from outermost, barrel", nbindetamatch,detamatchmin,detamatchmax);
380  h_ele_dEtaCl_propOut_eg_barrel = new TH1F( "h_ele_dEtaCl_propOut_eg_barrel", "ele #eta_{cl} - #eta_{tr}, prop from outermost, ecal driven, barrel", nbindetamatch,detamatchmin,detamatchmax);
382  h_ele_dEtaCl_propOut_endcaps = new TH1F( "h_ele_dEtaCl_propOut_endcaps", "ele #eta_{cl} - #eta_{tr}, prop from outermost, endcaps", nbindetamatch,detamatchmin,detamatchmax);
384  h_ele_dEtaCl_propOut_eg_endcaps = new TH1F( "h_ele_dEtaCl_propOut_eg_endcaps", "ele #eta_{cl} - #eta_{tr}, prop from outermost, ecal driven, endcaps", nbindetamatch,detamatchmin,detamatchmax);
386  h_ele_dEtaClVsEta_propOut = new TH2F( "h_ele_dEtaClVsEta_propOut", "ele #eta_{cl} - #eta_{tr} vs eta, prop from out", nbineta2D,etamin,etamax,nbindetamatch2D,detamatchmin,detamatchmax);
387  h_ele_dEtaClVsPhi_propOut = new TH2F( "h_ele_dEtaClVsPhi_propOut", "ele #eta_{cl} - #eta_{tr} vs phi, prop from out", nbinphi2D,phimin,phimax,nbindetamatch2D,detamatchmin,detamatchmax);
388  h_ele_dEtaClVsPt_propOut = new TH2F( "h_ele_dEtaScVsPt_propOut", "ele #eta_{cl} - #eta_{tr} vs pt, prop from out", nbinpt2D,0.,ptmax,nbindetamatch2D,detamatchmin,detamatchmax);
389  h_ele_dPhiCl_propOut = new TH1F( "h_ele_dPhiCl_propOut", "ele #phi_{cl} - #phi_{tr}, prop from outermost", nbindphimatch,dphimatchmin,dphimatchmax);
390  h_ele_dPhiCl_propOut->Sumw2();
391  h_ele_dPhiCl_propOut_eg = new TH1F( "h_ele_dPhiCl_propOut_eg", "ele #phi_{cl} - #phi_{tr}, prop from outermost, ecal driven", nbindphimatch,dphimatchmin,dphimatchmax);
392  h_ele_dPhiCl_propOut_eg->Sumw2();
393  h_ele_dPhiCl_propOut_barrel = new TH1F( "h_ele_dPhiCl_propOut_barrel", "ele #phi_{cl} - #phi_{tr}, prop from outermost, barrel", nbindphimatch,dphimatchmin,dphimatchmax);
395  h_ele_dPhiCl_propOut_eg_barrel = new TH1F( "h_ele_dPhiCl_propOut_eg_barrel", "ele #phi_{cl} - #phi_{tr}, prop from outermost, ecal driven, barrel", nbindphimatch,dphimatchmin,dphimatchmax);
397  h_ele_dPhiCl_propOut_endcaps = new TH1F( "h_ele_dPhiCl_propOut_endcaps", "ele #phi_{cl} - #phi_{tr}, prop from outermost, endcaps", nbindphimatch,dphimatchmin,dphimatchmax);
399  h_ele_dPhiCl_propOut_eg_endcaps = new TH1F( "h_ele_dPhiCl_propOut_eg_endcaps", "ele #phi_{cl} - #phi_{tr}, prop from outermost, ecal driven, endcaps", nbindphimatch,dphimatchmin,dphimatchmax);
401  h_ele_dPhiClVsEta_propOut = new TH2F( "h_ele_dPhiClVsEta_propOut", "ele #phi_{cl} - #phi_{tr} vs eta, prop from out", nbineta2D,etamin,etamax,nbindphimatch2D,dphimatchmin,dphimatchmax);
402  h_ele_dPhiClVsPhi_propOut = new TH2F( "h_ele_dPhiClVsPhi_propOut", "ele #phi_{cl} - #phi_{tr} vs phi, prop from out", nbinphi2D,phimin,phimax,nbindphimatch2D,dphimatchmin,dphimatchmax);
403  h_ele_dPhiClVsPt_propOut = new TH2F( "h_ele_dPhiSClsPt_propOut", "ele #phi_{cl} - #phi_{tr} vs pt, prop from out", nbinpt2D,0.,ptmax,nbindphimatch2D,dphimatchmin,dphimatchmax);
404  h_ele_dEtaEleCl_propOut = new TH1F( "h_ele_dEtaEleCl_propOut", "ele #eta_{EleCl} - #eta_{tr}, prop from outermost", nbindetamatch,detamatchmin,detamatchmax);
405  h_ele_dEtaEleCl_propOut->Sumw2();
406  h_ele_dEtaEleCl_propOut_eg = new TH1F( "h_ele_dEtaEleCl_propOut_eg", "ele #eta_{EleCl} - #eta_{tr}, prop from outermost, ecal driven", nbindetamatch,detamatchmin,detamatchmax);
408  h_ele_dEtaEleCl_propOut_barrel = new TH1F( "h_ele_dEtaEleCl_propOut_barrel", "ele #eta_{EleCl} - #eta_{tr}, prop from outermost, barrel", nbindetamatch,detamatchmin,detamatchmax);
410  h_ele_dEtaEleCl_propOut_eg_barrel = new TH1F( "h_ele_dEtaEleCl_propOut_eg_barrel", "ele #eta_{EleCl} - #eta_{tr}, prop from outermost, ecal driven, barrel", nbindetamatch,detamatchmin,detamatchmax);
412  h_ele_dEtaEleCl_propOut_endcaps = new TH1F( "h_ele_dEtaEleCl_propOut_endcaps", "ele #eta_{EleCl} - #eta_{tr}, prop from outermost, endcaps", nbindetamatch,detamatchmin,detamatchmax);
414  h_ele_dEtaEleCl_propOut_eg_endcaps = new TH1F( "h_ele_dEtaEleCl_propOut_eg_endcaps", "ele #eta_{EleCl} - #eta_{tr}, prop from outermost, ecal driven, endcaps", nbindetamatch,detamatchmin,detamatchmax);
416  h_ele_dEtaEleClVsEta_propOut = new TH2F( "h_ele_dEtaEleClVsEta_propOut", "ele #eta_{EleCl} - #eta_{tr} vs eta, prop from out", nbineta2D,etamin,etamax,nbindetamatch2D,detamatchmin,detamatchmax);
417  h_ele_dEtaEleClVsPhi_propOut = new TH2F( "h_ele_dEtaEleClVsPhi_propOut", "ele #eta_{EleCl} - #eta_{tr} vs phi, prop from out", nbinphi2D,phimin,phimax,nbindetamatch2D,detamatchmin,detamatchmax);
418  h_ele_dEtaEleClVsPt_propOut = new TH2F( "h_ele_dEtaScVsPt_propOut", "ele #eta_{EleCl} - #eta_{tr} vs pt, prop from out", nbinpt2D,0.,ptmax,nbindetamatch2D,detamatchmin,detamatchmax);
419  h_ele_dPhiEleCl_propOut = new TH1F( "h_ele_dPhiEleCl_propOut", "ele #phi_{EleCl} - #phi_{tr}, prop from outermost", nbindphimatch,dphimatchmin,dphimatchmax);
420  h_ele_dPhiEleCl_propOut->Sumw2();
421  h_ele_dPhiEleCl_propOut_eg = new TH1F( "h_ele_dPhiEleCl_propOut_eg", "ele #phi_{EleCl} - #phi_{tr}, prop from outermost, ecal driven", nbindphimatch,dphimatchmin,dphimatchmax);
423  h_ele_dPhiEleCl_propOut_barrel = new TH1F( "h_ele_dPhiEleCl_propOut_barrel", "ele #phi_{EleCl} - #phi_{tr}, prop from outermost, barrel", nbindphimatch,dphimatchmin,dphimatchmax);
425  h_ele_dPhiEleCl_propOut_eg_barrel = new TH1F( "h_ele_dPhiEleCl_propOut_eg_barrel", "ele #phi_{EleCl} - #phi_{tr}, prop from outermost, ecal driven, barrel", nbindphimatch,dphimatchmin,dphimatchmax);
427  h_ele_dPhiEleCl_propOut_endcaps = new TH1F( "h_ele_dPhiEleCl_propOut_endcaps", "ele #phi_{EleCl} - #phi_{tr}, prop from outermost, endcaps", nbindphimatch,dphimatchmin,dphimatchmax);
429  h_ele_dPhiEleCl_propOut_eg_endcaps = new TH1F( "h_ele_dPhiEleCl_propOut_eg_endcaps", "ele #phi_{EleCl} - #phi_{tr}, prop from outermost, ecal driven, endcaps", nbindphimatch,dphimatchmin,dphimatchmax);
431  h_ele_dPhiEleClVsEta_propOut = new TH2F( "h_ele_dPhiEleClVsEta_propOut", "ele #phi_{EleCl} - #phi_{tr} vs eta, prop from out", nbineta2D,etamin,etamax,nbindphimatch2D,dphimatchmin,dphimatchmax);
432  h_ele_dPhiEleClVsPhi_propOut = new TH2F( "h_ele_dPhiEleClVsPhi_propOut", "ele #phi_{EleCl} - #phi_{tr} vs phi, prop from out", nbinphi2D,phimin,phimax,nbindphimatch2D,dphimatchmin,dphimatchmax);
433  h_ele_dPhiEleClVsPt_propOut = new TH2F( "h_ele_dPhiSEleClsPt_propOut", "ele #phi_{EleCl} - #phi_{tr} vs pt, prop from out", nbinpt2D,0.,ptmax,nbindphimatch2D,dphimatchmin,dphimatchmax);
434 
435  h_ele_HoE = new TH1F("h_ele_HoE", "ele hadronic energy / em energy", nbinhoe, hoemin, hoemax) ;
436  h_ele_HoE->Sumw2();
437  h_ele_HoE_eg = new TH1F("h_ele_HoE_eg", "ele hadronic energy / em energy, ecal driven", nbinhoe, hoemin, hoemax) ;
438  h_ele_HoE_eg->Sumw2();
439  h_ele_HoE_barrel = new TH1F("h_ele_HoE_barrel", "ele hadronic energy / em energy, barrel", nbinhoe, hoemin, hoemax) ;
440  h_ele_HoE_barrel->Sumw2();
441  h_ele_HoE_eg_barrel = new TH1F("h_ele_HoE_eg_barrel", "ele hadronic energy / em energy, ecal driven, barrel", nbinhoe, hoemin, hoemax) ;
442  h_ele_HoE_eg_barrel->Sumw2();
443  h_ele_HoE_endcaps = new TH1F("h_ele_HoE_endcaps", "ele hadronic energy / em energy, endcaps", nbinhoe, hoemin, hoemax) ;
444  h_ele_HoE_endcaps->Sumw2();
445  h_ele_HoE_eg_endcaps = new TH1F("h_ele_HoE_eg_endcaps", "ele hadronic energy / em energy, ecal driven, endcaps", nbinhoe, hoemin, hoemax) ;
446  h_ele_HoE_eg_endcaps->Sumw2();
447  h_ele_HoE_fiducial = new TH1F("h_ele_HoE_fiducial", "ele hadronic energy / em energy",nbinhoe, hoemin, hoemax) ;
448  h_ele_HoEVsEta = new TH2F("h_ele_HoEVsEta", "ele hadronic energy / em energy vs eta", nbineta,etamin,etamax,nbinhoe, hoemin, hoemax) ;
449  h_ele_HoEVsPhi = new TH2F("h_ele_HoEVsPhi", "ele hadronic energy / em energy vs phi", nbinphi2D,phimin,phimax,nbinhoe, hoemin, hoemax) ;
450  h_ele_HoEVsE = new TH2F("h_ele_HoEVsE", "ele hadronic energy / em energy vs E", nbinp, 0.,300.,nbinhoe, hoemin, hoemax) ;
451 
452  h_ele_seed_dphi2_ = new TH1F("h_ele_seedDphi2", "ele seed dphi 2nd layer", 50,-0.003,+0.003) ;
453  h_ele_seed_dphi2VsEta_ = new TH2F("h_ele_seedDphi2VsEta", "ele seed dphi 2nd layer vs eta", nbineta2D,etamin,etamax,50,-0.003,+0.003) ;
454  h_ele_seed_dphi2VsPt_ = new TH2F("h_ele_seedDphi2VsPt", "ele seed dphi 2nd layer vs pt", nbinpt2D,0.,ptmax,50,-0.003,+0.003) ;
455  h_ele_seed_drz2_ = new TH1F("h_ele_seedDrz2", "ele seed dr/dz 2nd layer", 50,-0.03,+0.03) ;
456  h_ele_seed_drz2VsEta_ = new TH2F("h_ele_seedDrz2VsEta", "ele seed dr/dz 2nd layer vs eta", nbineta2D,etamin,etamax,50,-0.03,+0.03) ;
457  h_ele_seed_drz2VsPt_ = new TH2F("h_ele_seedDrz2VsPt", "ele seed dr/dz 2nd layer vs pt", nbinpt2D,0.,ptmax,50,-0.03,+0.03) ;
458  h_ele_seed_subdet2_ = new TH1F("h_ele_seedSubdet2", "ele seed subdet 2nd layer", 10,0.,10.) ;
459 
460  // classes
461  h_ele_classes = new TH1F( "h_ele_classes", "electron classes", 20,0.0,20.);
462  h_ele_eta = new TH1F( "h_ele_eta", "ele electron eta", nbineta/2,0.0,etamax);
463  h_ele_eta_golden = new TH1F( "h_ele_eta_golden", "ele electron eta golden", nbineta/2,0.0,etamax);
464  h_ele_eta_bbrem = new TH1F( "h_ele_eta_bbrem", "ele electron eta bbrem", nbineta/2,0.0,etamax);
465  h_ele_eta_narrow = new TH1F( "h_ele_eta_narrow", "ele electron eta narrow", nbineta/2,0.0,etamax);
466  h_ele_eta_shower = new TH1F( "h_ele_eta_show", "el, electron eta showering", nbineta/2,0.0,etamax);
467  h_ele_PinVsPoutGolden_mode = new TH2F( "h_ele_PinVsPoutGolden_mode", "ele track inner p vs outer p, golden, mode" ,nbinp2D,0.,pmax,50,0.,pmax);
468  h_ele_PinVsPoutShowering_mode = new TH2F( "h_ele_PinVsPoutShowering_mode", "ele track inner p vs outer p vs eta, showering, mode" ,nbinp2D,0.,pmax,50,0.,pmax);
469  h_ele_PinVsPoutGolden_mean = new TH2F( "h_ele_PinVsPoutGolden_mean", "ele track inner p vs outer p, golden, mean" ,nbinp2D,0.,pmax,50,0.,pmax);
470  h_ele_PinVsPoutShowering_mean = new TH2F( "h_ele_PinVsPoutShowering_mean", "ele track inner p vs outer p, showering, mean" ,nbinp2D,0.,pmax,50,0.,pmax);
471  h_ele_PtinVsPtoutGolden_mode = new TH2F( "h_ele_PtinVsPtoutGolden_mode", "ele track inner pt vs outer pt, golden, mode" ,nbinpt2D,0.,ptmax,50,0.,ptmax);
472  h_ele_PtinVsPtoutShowering_mode = new TH2F( "h_ele_PtinVsPtoutShowering_mode", "ele track inner pt vs outer pt, showering, mode" ,nbinpt2D,0.,ptmax,50,0.,ptmax);
473  h_ele_PtinVsPtoutGolden_mean = new TH2F( "h_ele_PtinVsPtoutGolden_mean", "ele track inner pt vs outer pt, golden, mean" ,nbinpt2D,0.,ptmax,50,0.,ptmax);
474  h_ele_PtinVsPtoutShowering_mean = new TH2F( "h_ele_PtinVsPtoutShowering_mean", "ele track inner pt vs outer pt, showering, mean" ,nbinpt2D,0.,ptmax,50,0.,ptmax);
475  histSclEoEmatchingObjectGolden_barrel = new TH1F("h_scl_EoEmatchingObject golden, barrel","ele SC energy over matching jet energy, golden, barrel",100,0.2,1.2);
476  histSclEoEmatchingObjectGolden_endcaps = new TH1F("h_scl_EoEmatchingObject golden, endcaps","ele SC energy over matching jet energy, golden, endcaps",100,0.2,1.2);
477  histSclEoEmatchingObjectShowering_barrel = new TH1F("h_scl_EoEmatchingObject showering, barrel","ele SC energy over matching jet energy, showering, barrel",100,0.2,1.2);
478  histSclEoEmatchingObjectShowering_endcaps = new TH1F("h_scl_EoEmatchingObject showering, endcaps","ele SC energy over matching jet energy, showering, endcaps",100,0.2,1.2);
479 
480  // isolation
481  h_ele_tkSumPt_dr03 = new TH1F("h_ele_tkSumPt_dr03","tk isolation sum, dR=0.3",100,0.0,20.);
482  h_ele_ecalRecHitSumEt_dr03= new TH1F("h_ele_ecalRecHitSumEt_dr03","ecal isolation sum, dR=0.3",100,0.0,20.);
483  h_ele_hcalDepth1TowerSumEt_dr03= new TH1F("h_ele_hcalDepth1TowerSumEt_dr03","hcal depth1 isolation sum, dR=0.3",100,0.0,20.);
484  h_ele_hcalDepth2TowerSumEt_dr03= new TH1F("h_ele_hcalDepth2TowerSumEt_dr03","hcal depth2 isolation sum, dR=0.3",100,0.0,20.);
485  h_ele_tkSumPt_dr04= new TH1F("h_ele_tkSumPt_dr04","hcal isolation sum",100,0.0,20.);
486  h_ele_ecalRecHitSumEt_dr04= new TH1F("h_ele_ecalRecHitSumEt_dr04","ecal isolation sum, dR=0.4",100,0.0,20.);
487  h_ele_hcalDepth1TowerSumEt_dr04= new TH1F("h_ele_hcalDepth1TowerSumEt_dr04","hcal depth1 isolation sum, dR=0.4",100,0.0,20.);
488  h_ele_hcalDepth2TowerSumEt_dr04= new TH1F("h_ele_hcalDepth2TowerSumEt_dr04","hcal depth2 isolation sum, dR=0.4",100,0.0,20.);
489 
490  // fbrem
491  h_ele_fbrem = new TH1F( "h_ele_fbrem","ele brem fraction, mode",100,0.,1.);
492  h_ele_fbremVsEta_mode = new TProfile( "h_ele_fbremvsEtamode","mean ele brem fraction vs eta, mode",nbineta2D,etamin,etamax,0.,1.);
493  h_ele_fbremVsEta_mean = new TProfile( "h_ele_fbremvsEtamean","mean ele brem fraction vs eta, mean",nbineta2D,etamin,etamax,0.,1.);
494 
495  // e/g et pflow electrons
496  h_ele_mva = new TH1F( "h_ele_mva","ele mva",100,-1.,1.);
497  h_ele_provenance = new TH1F( "h_ele_provenance","ele provenance",5,-2.,3.);
498 
499  // histos titles
500  h_matchingObjectNum -> GetXaxis()-> SetTitle("N_{SC}");
501  h_matchingObjectNum -> GetYaxis()-> SetTitle("Events");
502  h_matchingObjectEta -> GetXaxis()-> SetTitle("#eta_{SC}");
503  h_matchingObjectEta -> GetYaxis()-> SetTitle("Events");
504  h_matchingObjectP -> GetXaxis()-> SetTitle("E_{SC} (GeV)");
505  h_matchingObjectP -> GetYaxis()-> SetTitle("Events");
506  h_ele_foundHits -> GetXaxis()-> SetTitle("N_{hits}");
507  h_ele_foundHits -> GetYaxis()-> SetTitle("Events");
508  h_ele_ambiguousTracks -> GetXaxis()-> SetTitle("N_{ambiguous tracks}");
509  h_ele_ambiguousTracks -> GetYaxis()-> SetTitle("Events");
510  h_ele_lostHits -> GetXaxis()-> SetTitle("N_{lost hits}");
511  h_ele_lostHits -> GetYaxis()-> SetTitle("Events");
512  h_ele_chi2 -> GetXaxis()-> SetTitle("#Chi^{2}");
513  h_ele_chi2 -> GetYaxis()-> SetTitle("Events");
514  h_ele_charge -> GetXaxis()-> SetTitle("charge");
515  h_ele_charge -> GetYaxis()-> SetTitle("Events");
516  h_ele_vertexP -> GetXaxis()-> SetTitle("p_{vertex} (GeV/c)");
517  h_ele_vertexP -> GetYaxis()-> SetTitle("Events");
518  h_ele_vertexPt -> GetXaxis()-> SetTitle("p_{T vertex} (GeV/c)");
519  h_ele_vertexPt -> GetYaxis()-> SetTitle("Events");
520  h_ele_vertexEta -> GetXaxis()-> SetTitle("#eta");
521  h_ele_vertexEta -> GetYaxis()-> SetTitle("Events");
522  h_ele_vertexPhi -> GetXaxis()-> SetTitle("#phi (rad)");
523  h_ele_vertexPhi -> GetYaxis()-> SetTitle("Events");
524  h_ele_PoPmatchingObject -> GetXaxis()-> SetTitle("P/P_{jet}");
525  h_ele_PoPmatchingObject -> GetYaxis()-> SetTitle("Events");
526  h_ele_PoPmatchingObject_barrel -> GetXaxis()-> SetTitle("P/P_{jet}");
527  h_ele_PoPmatchingObject_barrel -> GetYaxis()-> SetTitle("Events");
528  h_ele_PoPmatchingObject_endcaps -> GetXaxis()-> SetTitle("P/P_{jet}");
529  h_ele_PoPmatchingObject_endcaps -> GetYaxis()-> SetTitle("Events");
530  histSclSigIEtaIEta_-> GetXaxis()-> SetTitle("#sigma_{#eta #eta}") ;
531  histSclSigIEtaIEta_-> GetYaxis()-> SetTitle("Events") ;
532  histSclSigIEtaIEta_barrel_-> GetXaxis()-> SetTitle("#sigma_{i#eta i#eta}") ;
533  histSclSigIEtaIEta_barrel_-> GetYaxis()-> SetTitle("Events") ;
534  histSclSigIEtaIEta_endcaps_-> GetXaxis()-> SetTitle("#sigma_{i#eta i#eta}") ;
535  histSclSigIEtaIEta_endcaps_-> GetYaxis()-> SetTitle("Events") ;
536  histSclE1x5_-> GetXaxis()-> SetTitle("E1x5 (GeV)") ;
537  histSclE1x5_-> GetYaxis()-> SetTitle("Events") ;
538  histSclE1x5_barrel_-> GetXaxis()-> SetTitle("E1x5 (GeV)") ;
539  histSclE1x5_barrel_-> GetYaxis()-> SetTitle("Events") ;
540  histSclE1x5_endcaps_-> GetXaxis()-> SetTitle("E1x5 (GeV)") ;
541  histSclE1x5_endcaps_-> GetYaxis()-> SetTitle("Events") ;
542  histSclE2x5max_-> GetXaxis()-> SetTitle("E2x5 (GeV)") ;
543  histSclE2x5max_-> GetYaxis()-> SetTitle("Events") ;
544  histSclE2x5max_barrel_-> GetXaxis()-> SetTitle("E2x5 (GeV)") ;
545  histSclE2x5max_barrel_-> GetYaxis()-> SetTitle("Events") ;
546  histSclE2x5max_endcaps_-> GetXaxis()-> SetTitle("E2x5 (GeV)") ;
547  histSclE2x5max_endcaps_-> GetYaxis()-> SetTitle("Events") ;
548  histSclE5x5_-> GetXaxis()-> SetTitle("E5x5 (GeV)") ;
549  histSclE5x5_-> GetYaxis()-> SetTitle("Events") ;
550  histSclE5x5_barrel_-> GetXaxis()-> SetTitle("E5x5 (GeV)") ;
551  histSclE5x5_barrel_-> GetYaxis()-> SetTitle("Events") ;
552  histSclE5x5_endcaps_-> GetXaxis()-> SetTitle("E5x5 (GeV)") ;
553  histSclE5x5_endcaps_-> GetYaxis()-> SetTitle("Events") ;
554  h_ele_EtaMnEtamatchingObject -> GetXaxis()-> SetTitle("#eta_{rec} - #eta_{jet}");
555  h_ele_EtaMnEtamatchingObject -> GetYaxis()-> SetTitle("Events");
556  h_ele_PhiMnPhimatchingObject -> GetXaxis()-> SetTitle("#phi_{rec} - #phi_{jet} (rad)");
557  h_ele_PhiMnPhimatchingObject -> GetYaxis()-> SetTitle("Events");
558  h_ele_PinMnPout -> GetXaxis()-> SetTitle("P_{vertex} - P_{out} (GeV/c)");
559  h_ele_PinMnPout -> GetYaxis()-> SetTitle("Events");
560  h_ele_PinMnPout_mode -> GetXaxis()-> SetTitle("P_{vertex} - P_{out}, mode (GeV/c)");
561  h_ele_PinMnPout_mode -> GetYaxis()-> SetTitle("Events");
562  h_ele_outerP -> GetXaxis()-> SetTitle("P_{out} (GeV/c)");
563  h_ele_outerP -> GetYaxis()-> SetTitle("Events");
564  h_ele_outerP_mode -> GetXaxis()-> SetTitle("P_{out} (GeV/c)");
565  h_ele_outerP_mode -> GetYaxis()-> SetTitle("Events");
566  h_ele_outerPt -> GetXaxis()-> SetTitle("P_{T out} (GeV/c)");
567  h_ele_outerPt -> GetYaxis()-> SetTitle("Events");
568  h_ele_outerPt_mode -> GetXaxis()-> SetTitle("P_{T out} (GeV/c)");
569  h_ele_outerPt_mode -> GetYaxis()-> SetTitle("Events");
570  h_ele_EoP -> GetXaxis()-> SetTitle("E/P_{vertex}");
571  h_ele_EoP -> GetYaxis()-> SetTitle("Events");
572  h_ele_EseedOP -> GetXaxis()-> SetTitle("E_{seed}/P_{vertex}");
573  h_ele_EseedOP -> GetYaxis()-> SetTitle("Events");
574  h_ele_EoPout -> GetXaxis()-> SetTitle("E_{seed}/P_{out}");
575  h_ele_EoPout -> GetYaxis()-> SetTitle("Events");
576  h_ele_EeleOPout -> GetXaxis()-> SetTitle("E_{ele}/P_{out}");
577  h_ele_EeleOPout -> GetYaxis()-> SetTitle("Events");
578  h_ele_EoP_barrel -> GetXaxis()-> SetTitle("E/P_{vertex}");
579  h_ele_EoP_barrel -> GetYaxis()-> SetTitle("Events");
580  h_ele_EseedOP_barrel -> GetXaxis()-> SetTitle("E_{seed}/P_{vertex}");
581  h_ele_EseedOP_barrel -> GetYaxis()-> SetTitle("Events");
582  h_ele_EoPout_barrel -> GetXaxis()-> SetTitle("E_{seed}/P_{out}");
583  h_ele_EoPout_barrel -> GetYaxis()-> SetTitle("Events");
584  h_ele_EeleOPout_barrel -> GetXaxis()-> SetTitle("E_{ele}/P_{out}");
585  h_ele_EeleOPout_barrel -> GetYaxis()-> SetTitle("Events");
586  h_ele_EoP_endcaps -> GetXaxis()-> SetTitle("E/P_{vertex}");
587  h_ele_EoP_endcaps -> GetYaxis()-> SetTitle("Events");
588  h_ele_EseedOP_endcaps -> GetXaxis()-> SetTitle("E_{seed}/P_{vertex}");
589  h_ele_EseedOP_endcaps -> GetYaxis()-> SetTitle("Events");
590  h_ele_EoPout_endcaps -> GetXaxis()-> SetTitle("E_{seed}/P_{out}");
591  h_ele_EoPout_endcaps -> GetYaxis()-> SetTitle("Events");
592  h_ele_EeleOPout_endcaps -> GetXaxis()-> SetTitle("E_{ele}/P_{out}");
593  h_ele_EeleOPout_endcaps -> GetYaxis()-> SetTitle("Events");
594  h_ele_vertexX-> GetXaxis()-> SetTitle("x (cm)");
595  h_ele_vertexX-> GetYaxis()-> SetTitle("Events");
596  h_ele_vertexY-> GetXaxis()-> SetTitle("y (cm)");
597  h_ele_vertexY-> GetYaxis()-> SetTitle("Events");
598  h_ele_vertexZ-> GetXaxis()-> SetTitle("z (cm)");
599  h_ele_vertexZ-> GetYaxis()-> SetTitle("Events");
600  h_ele_vertexTIP-> GetXaxis()-> SetTitle("TIP (cm)");
601  h_ele_vertexTIP-> GetYaxis()-> SetTitle("Events");
602  h_ele_TIP_all-> GetXaxis()-> SetTitle("r_{T} (cm)");
603  h_ele_TIP_all-> GetYaxis()-> SetTitle("Events");
604  h_ele_vertexTIPVsEta-> GetYaxis()-> SetTitle("TIP (cm)");
605  h_ele_vertexTIPVsEta-> GetXaxis()-> SetTitle("#eta");
606  h_ele_vertexTIPVsPhi-> GetYaxis()-> SetTitle("TIP (cm)");
607  h_ele_vertexTIPVsPhi-> GetXaxis()-> SetTitle("#phi (rad)");
608  h_ele_vertexTIPVsPt-> GetYaxis()-> SetTitle("TIP (cm)");
609  h_ele_vertexTIPVsPt-> GetXaxis()-> SetTitle("p_{T} (GeV/c)");
610  h_ele_dEtaSc_propVtx-> GetXaxis()-> SetTitle("#eta_{sc} - #eta_{tr}");
611  h_ele_dEtaSc_propVtx-> GetXaxis()-> SetTitle("#eta_{sc} - #eta_{tr}");
612  h_ele_dEtaSc_propVtx-> GetYaxis()-> SetTitle("Events");
613  h_ele_dEtaCl_propOut-> GetXaxis()-> SetTitle("#eta_{seedcl} - #eta_{tr}");
614  h_ele_dEtaCl_propOut-> GetYaxis()-> SetTitle("Events");
615  h_ele_dEtaEleCl_propOut-> GetXaxis()-> SetTitle("#eta_{elecl} - #eta_{tr}");
616  h_ele_dEtaEleCl_propOut-> GetYaxis()-> SetTitle("Events");
617  h_ele_dPhiSc_propVtx-> GetXaxis()-> SetTitle("#phi_{sc} - #phi_{tr} (rad)");
618  h_ele_dPhiSc_propVtx-> GetYaxis()-> SetTitle("Events");
619  h_ele_dPhiCl_propOut-> GetXaxis()-> SetTitle("#phi_{seedcl} - #phi_{tr} (rad)");
620  h_ele_dPhiCl_propOut-> GetYaxis()-> SetTitle("Events");
621  h_ele_dPhiEleCl_propOut-> GetXaxis()-> SetTitle("#phi_{elecl} - #phi_{tr} (rad)");
622  h_ele_dPhiEleCl_propOut-> GetYaxis()-> SetTitle("Events");
623  h_ele_dEtaSc_propVtx_barrel-> GetXaxis()-> SetTitle("#eta_{sc} - #eta_{tr}");
624  h_ele_dEtaSc_propVtx_barrel-> GetYaxis()-> SetTitle("Events");
625  h_ele_dEtaCl_propOut_barrel-> GetXaxis()-> SetTitle("#eta_{seedcl} - #eta_{tr}");
626  h_ele_dEtaCl_propOut_barrel-> GetYaxis()-> SetTitle("Events");
627  h_ele_dEtaEleCl_propOut_barrel-> GetXaxis()-> SetTitle("#eta_{elecl} - #eta_{tr}");
628  h_ele_dEtaEleCl_propOut_barrel-> GetYaxis()-> SetTitle("Events");
629  h_ele_dPhiSc_propVtx_barrel-> GetXaxis()-> SetTitle("#phi_{sc} - #phi_{tr} (rad)");
630  h_ele_dPhiSc_propVtx_barrel-> GetYaxis()-> SetTitle("Events");
631  h_ele_dPhiCl_propOut_barrel-> GetXaxis()-> SetTitle("#phi_{seedcl} - #phi_{tr} (rad)");
632  h_ele_dPhiCl_propOut_barrel-> GetYaxis()-> SetTitle("Events");
633  h_ele_dPhiEleCl_propOut_barrel-> GetXaxis()-> SetTitle("#phi_{elecl} - #phi_{tr} (rad)");
634  h_ele_dPhiEleCl_propOut_barrel-> GetYaxis()-> SetTitle("Events");
635  h_ele_dEtaSc_propVtx_endcaps-> GetXaxis()-> SetTitle("#eta_{sc} - #eta_{tr}");
636  h_ele_dEtaSc_propVtx_endcaps-> GetYaxis()-> SetTitle("Events");
637  h_ele_dEtaCl_propOut_endcaps-> GetXaxis()-> SetTitle("#eta_{seedcl} - #eta_{tr}");
638  h_ele_dEtaCl_propOut_endcaps-> GetYaxis()-> SetTitle("Events");
639  h_ele_dEtaEleCl_propOut_endcaps-> GetXaxis()-> SetTitle("#eta_{elecl} - #eta_{tr}");
640  h_ele_dEtaEleCl_propOut_endcaps-> GetYaxis()-> SetTitle("Events");
641  h_ele_dPhiSc_propVtx_endcaps-> GetXaxis()-> SetTitle("#phi_{sc} - #phi_{tr} (rad)");
642  h_ele_dPhiSc_propVtx_endcaps-> GetYaxis()-> SetTitle("Events");
643  h_ele_dPhiCl_propOut_endcaps-> GetXaxis()-> SetTitle("#phi_{seedcl} - #phi_{tr} (rad)");
644  h_ele_dPhiCl_propOut_endcaps-> GetYaxis()-> SetTitle("Events");
645  h_ele_dPhiEleCl_propOut_endcaps-> GetXaxis()-> SetTitle("#phi_{elecl} - #phi_{tr} (rad)");
646  h_ele_dPhiEleCl_propOut_endcaps-> GetYaxis()-> SetTitle("Events");
647  h_ele_HoE-> GetXaxis()-> SetTitle("H/E") ;
648  h_ele_HoE-> GetYaxis()-> SetTitle("Events") ;
649  h_ele_HoE_barrel-> GetXaxis()-> SetTitle("H/E") ;
650  h_ele_HoE_barrel-> GetYaxis()-> SetTitle("Events") ;
651  h_ele_HoE_endcaps-> GetXaxis()-> SetTitle("H/E") ;
652  h_ele_HoE_endcaps-> GetYaxis()-> SetTitle("Events") ;
653  h_ele_HoE_fiducial-> GetXaxis()-> SetTitle("H/E") ;
654  h_ele_HoE_fiducial-> GetYaxis()-> SetTitle("Events") ;
655  h_ele_fbrem-> GetXaxis()-> SetTitle("P_{in} - P_{out} / P_{in}");
656  h_ele_fbrem-> GetYaxis()-> SetTitle("Events");
657  h_ele_seed_dphi2_-> GetXaxis()-> SetTitle("#phi_{hit}-#phi_{pred} (rad)") ;
658  h_ele_seed_dphi2_-> GetYaxis()-> SetTitle("Events") ;
659  h_ele_seed_drz2_-> GetXaxis()-> SetTitle("r(z)_{hit}-r(z)_{pred} (cm)") ;
660  h_ele_seed_drz2_-> GetYaxis()-> SetTitle("Events") ;
661  h_ele_seed_subdet2_-> GetXaxis()-> SetTitle("2nd hit subdet Id") ;
662  h_ele_seed_subdet2_-> GetYaxis()-> SetTitle("Events") ;
663  h_ele_classes-> GetXaxis()-> SetTitle("class Id") ;
664  h_ele_classes-> GetYaxis()-> SetTitle("Events") ;
665  h_ele_EoverP_all-> GetXaxis()-> SetTitle("E/P_{vertex}");
666  h_ele_EoverP_all-> GetYaxis()-> SetTitle("Events");
667  h_ele_EseedOP_all-> GetXaxis()-> SetTitle("E_{seed}/P_{vertex}");
668  h_ele_EseedOP_all-> GetYaxis()-> SetTitle("Events");
669  h_ele_EoPout_all -> GetXaxis()-> SetTitle("E_{seed}/P_{out}");
670  h_ele_EoPout_all-> GetYaxis()-> SetTitle("Events");
671  h_ele_EeleOPout_all-> GetXaxis()-> SetTitle("E_{ele}/P_{out}");
672  h_ele_EeleOPout_all-> GetYaxis()-> SetTitle("Events");
673  h_ele_dEtaSc_propVtx_all-> GetXaxis()-> SetTitle("#eta_{sc} - #eta_{tr}");
674  h_ele_dEtaSc_propVtx_all-> GetYaxis()-> SetTitle("Events");
675  h_ele_dPhiSc_propVtx_all-> GetXaxis()-> SetTitle("#phi_{sc} - #phi_{tr} (rad)");
676  h_ele_dPhiSc_propVtx_all-> GetYaxis()-> SetTitle("Events");
677  h_ele_dEtaCl_propOut_all-> GetXaxis()-> SetTitle("#eta_{sc} - #eta_{tr}");
678  h_ele_dEtaCl_propOut_all-> GetYaxis()-> SetTitle("Events");
679  h_ele_dPhiCl_propOut_all-> GetXaxis()-> SetTitle("#phi_{sc} - #phi_{tr} (rad)");
680  h_ele_dPhiCl_propOut_all-> GetYaxis()-> SetTitle("Events");
681  h_ele_HoE_all-> GetXaxis()-> SetTitle("H/E") ;
682  h_ele_HoE_all-> GetYaxis()-> SetTitle("Events");
683  h_ele_mee_all-> GetXaxis()-> SetTitle("m_{ee} (GeV/c^{2})");
684  h_ele_mee_all-> GetYaxis()-> SetTitle("Events");
685  h_ele_mee_os-> GetXaxis()-> SetTitle("m_{e^{+}e^{-}} (GeV/c^{2})");
686  h_ele_mee_os-> GetYaxis()-> SetTitle("Events");
687  h_ele_E2mnE1vsMee_all-> GetXaxis()-> SetTitle("m_{e^{+}e^{-}} (GeV/c^{2})");
688  h_ele_E2mnE1vsMee_all-> GetYaxis()-> SetTitle("E2 - E1 (GeV)");
689  h_ele_E2mnE1vsMee_egeg_all-> GetXaxis()-> SetTitle("m_{e^{+}e^{-}} (GeV/c^{2})");
690  h_ele_E2mnE1vsMee_egeg_all-> GetYaxis()-> SetTitle("E2 - E1 (GeV)");
691  histNum_-> GetXaxis()-> SetTitle("N_{ele}");
692  histNum_-> GetYaxis()-> SetTitle("Events");
693  h_ele_fbremVsEta_mode-> GetXaxis()-> SetTitle("#eta");
694  h_ele_fbremVsEta_mean-> GetXaxis()-> SetTitle("#eta");
695 
696 }
uint16_t size_type
std::string const & label() const
Definition: InputTag.h:36
void GsfElectronFakeAnalyzer::endJob ( void  )
overridevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 699 of file GsfElectronFakeAnalyzer.cc.

References gather_cfg::cout, h_ele_ambiguousTracks, h_ele_ambiguousTracksVsEta, h_ele_ambiguousTracksVsPhi, h_ele_ambiguousTracksVsPt, h_ele_charge, h_ele_chargeVsEta, h_ele_chargeVsPhi, h_ele_chargeVsPt, h_ele_chi2, h_ele_chi2VsEta, h_ele_chi2VsPhi, h_ele_chi2VsPt, h_ele_classes, h_ele_dEtaCl_propOut, h_ele_dEtaCl_propOut_all, h_ele_dEtaCl_propOut_barrel, h_ele_dEtaCl_propOut_eg, h_ele_dEtaCl_propOut_eg_barrel, h_ele_dEtaCl_propOut_eg_endcaps, h_ele_dEtaCl_propOut_endcaps, h_ele_dEtaClVsEta_propOut, h_ele_dEtaClVsPhi_propOut, h_ele_dEtaClVsPt_propOut, h_ele_dEtaEleCl_propOut, h_ele_dEtaEleCl_propOut_barrel, h_ele_dEtaEleCl_propOut_eg, h_ele_dEtaEleCl_propOut_eg_barrel, h_ele_dEtaEleCl_propOut_eg_endcaps, h_ele_dEtaEleCl_propOut_endcaps, h_ele_dEtaEleClVsEta_propOut, h_ele_dEtaEleClVsPhi_propOut, h_ele_dEtaEleClVsPt_propOut, h_ele_dEtaSc_propVtx, h_ele_dEtaSc_propVtx_all, h_ele_dEtaSc_propVtx_barrel, h_ele_dEtaSc_propVtx_eg, h_ele_dEtaSc_propVtx_eg_barrel, h_ele_dEtaSc_propVtx_eg_endcaps, h_ele_dEtaSc_propVtx_endcaps, h_ele_dEtaScVsEta_propVtx, h_ele_dEtaScVsPhi_propVtx, h_ele_dEtaScVsPt_propVtx, h_ele_dPhiCl_propOut, h_ele_dPhiCl_propOut_all, h_ele_dPhiCl_propOut_barrel, h_ele_dPhiCl_propOut_eg, h_ele_dPhiCl_propOut_eg_barrel, h_ele_dPhiCl_propOut_eg_endcaps, h_ele_dPhiCl_propOut_endcaps, h_ele_dPhiClVsEta_propOut, h_ele_dPhiClVsPhi_propOut, h_ele_dPhiClVsPt_propOut, h_ele_dPhiEleCl_propOut, h_ele_dPhiEleCl_propOut_barrel, h_ele_dPhiEleCl_propOut_eg, h_ele_dPhiEleCl_propOut_eg_barrel, h_ele_dPhiEleCl_propOut_eg_endcaps, h_ele_dPhiEleCl_propOut_endcaps, h_ele_dPhiEleClVsEta_propOut, h_ele_dPhiEleClVsPhi_propOut, h_ele_dPhiEleClVsPt_propOut, h_ele_dPhiSc_propVtx, h_ele_dPhiSc_propVtx_all, h_ele_dPhiSc_propVtx_barrel, h_ele_dPhiSc_propVtx_eg, h_ele_dPhiSc_propVtx_eg_barrel, h_ele_dPhiSc_propVtx_eg_endcaps, h_ele_dPhiSc_propVtx_endcaps, h_ele_dPhiScVsEta_propVtx, h_ele_dPhiScVsPhi_propVtx, h_ele_dPhiScVsPt_propVtx, h_ele_E2mnE1vsMee_all, h_ele_E2mnE1vsMee_egeg_all, h_ele_ecalRecHitSumEt_dr03, h_ele_ecalRecHitSumEt_dr04, h_ele_EeleOPout, h_ele_EeleOPout_all, h_ele_EeleOPout_barrel, h_ele_EeleOPout_eg, h_ele_EeleOPout_eg_barrel, h_ele_EeleOPout_eg_endcaps, h_ele_EeleOPout_endcaps, h_ele_EeleOPoutVsE, h_ele_EeleOPoutVsEta, h_ele_EeleOPoutVsPhi, h_ele_EoP, h_ele_EoP_barrel, h_ele_EoP_eg, h_ele_EoP_eg_barrel, h_ele_EoP_eg_endcaps, h_ele_EoP_endcaps, h_ele_EoPout, h_ele_EoPout_all, h_ele_EoPout_barrel, h_ele_EoPout_eg, h_ele_EoPout_eg_barrel, h_ele_EoPout_eg_endcaps, h_ele_EoPout_endcaps, h_ele_EoPoutVsE, h_ele_EoPoutVsEta, h_ele_EoPoutVsPhi, h_ele_EoPVsE, h_ele_EoPVsEta, h_ele_EoPVsPhi, h_ele_EoverP_all, h_ele_EseedOP, h_ele_EseedOP_all, h_ele_EseedOP_barrel, h_ele_EseedOP_eg, h_ele_EseedOP_eg_barrel, h_ele_EseedOP_eg_endcaps, h_ele_EseedOP_endcaps, h_ele_EseedOPVsE, h_ele_EseedOPVsEta, h_ele_EseedOPVsPhi, h_ele_eta, h_ele_eta_bbrem, h_ele_eta_golden, h_ele_eta_narrow, h_ele_eta_shower, h_ele_EtaMnEtamatchingObject, h_ele_EtaMnEtamatchingObjectVsEta, h_ele_EtaMnEtamatchingObjectVsPhi, h_ele_EtaMnEtamatchingObjectVsPt, h_ele_fbrem, h_ele_fbremVsEta_mean, h_ele_fbremVsEta_mode, h_ele_foundHits, h_ele_foundHitsVsEta, h_ele_foundHitsVsPhi, h_ele_foundHitsVsPt, h_ele_hcalDepth1TowerSumEt_dr03, h_ele_hcalDepth1TowerSumEt_dr04, h_ele_hcalDepth2TowerSumEt_dr03, h_ele_hcalDepth2TowerSumEt_dr04, h_ele_HoE, h_ele_HoE_all, h_ele_HoE_barrel, h_ele_HoE_eg, h_ele_HoE_eg_barrel, h_ele_HoE_eg_endcaps, h_ele_HoE_endcaps, h_ele_HoE_fiducial, h_ele_HoEVsE, h_ele_HoEVsEta, h_ele_HoEVsPhi, h_ele_lostHits, h_ele_lostHitsVsEta, h_ele_lostHitsVsPhi, h_ele_lostHitsVsPt, h_ele_matchingObjectAbsEta_matched, h_ele_matchingObjectEta_matched, h_ele_matchingObjectPhi_matched, h_ele_matchingObjectPt_matched, h_ele_matchingObjectZ_matched, h_ele_mee_all, h_ele_mee_os, h_ele_mva, h_ele_outerP, h_ele_outerP_mode, h_ele_outerPt, h_ele_outerPt_mode, h_ele_outerPtVsEta_mode, h_ele_outerPtVsPhi_mode, h_ele_outerPtVsPt_mode, h_ele_outerPVsEta_mode, h_ele_PhiMnPhimatchingObject, h_ele_PhiMnPhimatchingObject2, h_ele_PhiMnPhimatchingObjectVsEta, h_ele_PhiMnPhimatchingObjectVsPhi, h_ele_PhiMnPhimatchingObjectVsPt, h_ele_PinMnPout, h_ele_PinMnPout_mode, h_ele_PinMnPoutVsChi2_mode, h_ele_PinMnPoutVsE_mode, h_ele_PinMnPoutVsEta_mode, h_ele_PinMnPoutVsPhi_mode, h_ele_PinMnPoutVsPt_mode, h_ele_PinVsPoutGolden_mean, h_ele_PinVsPoutGolden_mode, h_ele_PinVsPoutShowering_mean, h_ele_PinVsPoutShowering_mode, h_ele_PoPmatchingObject, h_ele_PoPmatchingObject_barrel, h_ele_PoPmatchingObject_endcaps, h_ele_PoPmatchingObjectVsEta, h_ele_PoPmatchingObjectVsPhi, h_ele_PoPmatchingObjectVsPt, h_ele_provenance, h_ele_PtinVsPtoutGolden_mean, h_ele_PtinVsPtoutGolden_mode, h_ele_PtinVsPtoutShowering_mean, h_ele_PtinVsPtoutShowering_mode, h_ele_seed_dphi2_, h_ele_seed_dphi2VsEta_, h_ele_seed_dphi2VsPt_, h_ele_seed_drz2_, h_ele_seed_drz2VsEta_, h_ele_seed_drz2VsPt_, h_ele_seed_subdet2_, h_ele_TIP_all, h_ele_tkSumPt_dr03, h_ele_tkSumPt_dr04, h_ele_vertexEta, h_ele_vertexEta_all, h_ele_vertexEtaVsPhi, h_ele_vertexP, h_ele_vertexPhi, h_ele_vertexPt, h_ele_vertexPt_all, h_ele_vertexPtVsEta, h_ele_vertexPtVsPhi, h_ele_vertexTIP, h_ele_vertexTIPVsEta, h_ele_vertexTIPVsPhi, h_ele_vertexTIPVsPt, h_ele_vertexX, h_ele_vertexY, h_ele_vertexZ, h_matchingObjectAbsEta, h_matchingObjectEta, h_matchingObjectNum, h_matchingObjectP, h_matchingObjectPhi, h_matchingObjectPt, h_matchingObjectZ, histfile_, histNum_, histSclE1x5_, histSclE1x5_barrel_, histSclE1x5_endcaps_, histSclE2x5max_, histSclE2x5max_barrel_, histSclE2x5max_endcaps_, histSclE5x5_, histSclE5x5_barrel_, histSclE5x5_endcaps_, histSclEn_, histSclEoEmatchingObject_barrel, histSclEoEmatchingObject_endcaps, histSclEoEmatchingObjectGolden_barrel, histSclEoEmatchingObjectGolden_endcaps, histSclEoEmatchingObjectShowering_barrel, histSclEoEmatchingObjectShowering_endcaps, histSclEt_, histSclEta_, histSclEtaVsPhi_, histSclEtVsEta_, histSclEtVsPhi_, histSclPhi_, histSclSigIEtaIEta_, histSclSigIEtaIEta_barrel_, histSclSigIEtaIEta_endcaps_, cmsBatch::log, and nbineta.

699  {
700 
701  histfile_->cd();
702  std::cout << "efficiency calculation " << std::endl;
703  // efficiency vs eta
704  TH1F *h_ele_etaEff = (TH1F*)h_ele_matchingObjectEta_matched->Clone("h_ele_etaEff");
705  h_ele_etaEff->Reset();
706  h_ele_etaEff->Divide(h_ele_matchingObjectEta_matched,h_matchingObjectEta,1,1,"b");
707  h_ele_etaEff->Print();
708  h_ele_etaEff->GetXaxis()->SetTitle("#eta");
709  h_ele_etaEff->GetYaxis()->SetTitle("Efficiency");
710 
711  // efficiency vs z
712  TH1F *h_ele_zEff = (TH1F*)h_ele_matchingObjectZ_matched->Clone("h_ele_zEff");
713  h_ele_zEff->Reset();
714  h_ele_zEff->Divide(h_ele_matchingObjectZ_matched,h_matchingObjectZ,1,1,"b");
715  h_ele_zEff->Print();
716  h_ele_zEff->GetXaxis()->SetTitle("z (cm)");
717  h_ele_zEff->GetYaxis()->SetTitle("Efficiency");
718 
719  // efficiency vs |eta|
720  TH1F *h_ele_absetaEff = (TH1F*)h_ele_matchingObjectAbsEta_matched->Clone("h_ele_absetaEff");
721  h_ele_absetaEff->Reset();
722  h_ele_absetaEff->Divide(h_ele_matchingObjectAbsEta_matched,h_matchingObjectAbsEta,1,1,"b");
723  h_ele_absetaEff->GetXaxis()->SetTitle("|#eta|");
724  h_ele_absetaEff->GetYaxis()->SetTitle("Efficiency");
725 
726  // efficiency vs pt
727  TH1F *h_ele_ptEff = (TH1F*)h_ele_matchingObjectPt_matched->Clone("h_ele_ptEff");
728  h_ele_ptEff->Reset();
729  h_ele_ptEff->Divide(h_ele_matchingObjectPt_matched,h_matchingObjectPt,1,1,"b");
730  h_ele_ptEff->GetXaxis()->SetTitle("p_{T} (GeV/c)");
731  h_ele_ptEff->GetYaxis()->SetTitle("Efficiency");
732 
733  // efficiency vs phi
734  TH1F *h_ele_phiEff = (TH1F*)h_ele_matchingObjectPhi_matched->Clone("h_ele_phiEff");
735  h_ele_phiEff->Reset();
736  h_ele_phiEff->Divide(h_ele_matchingObjectPhi_matched,h_matchingObjectPhi,1,1,"b");
737  h_ele_phiEff->GetXaxis()->SetTitle("#phi (rad)");
738  h_ele_phiEff->GetYaxis()->SetTitle("Efficiency");
739 
740  // rec/matching objects all electrons
741  TH1F *h_ele_etaEff_all = (TH1F*)h_ele_vertexEta_all->Clone("h_ele_etaEff_all");
742  h_ele_etaEff_all->Reset();
743  h_ele_etaEff_all->Divide(h_ele_vertexEta_all,h_matchingObjectEta,1,1,"b");
744  h_ele_etaEff_all->Print();
745  h_ele_etaEff_all->GetXaxis()->SetTitle("#eta");
746  h_ele_etaEff_all->GetYaxis()->SetTitle("N_{rec}/N_{matching jet}");
747  TH1F *h_ele_ptEff_all = (TH1F*)h_ele_vertexPt_all->Clone("h_ele_ptEff_all");
748  h_ele_ptEff_all->Reset();
749  h_ele_ptEff_all->Divide(h_ele_vertexPt_all,h_matchingObjectPt,1,1,"b");
750  h_ele_ptEff_all->Print();
751  h_ele_ptEff_all->GetXaxis()->SetTitle("p_{T} (GeV/c)");
752  h_ele_ptEff_all->GetYaxis()->SetTitle("N_{rec}/N_{matching jet}");
753 
754  // classes
755  TH1F *h_ele_eta_goldenFrac = (TH1F*)h_ele_eta_golden->Clone("h_ele_eta_goldenFrac");
756  h_ele_eta_goldenFrac->Reset();
757  h_ele_eta_goldenFrac->GetXaxis()->SetTitle("|#eta|");
758  h_ele_eta_goldenFrac->GetYaxis()->SetTitle("Fraction of electrons");
759  h_ele_eta_goldenFrac->Divide(h_ele_eta_golden,h_ele_eta,1,1);
760  h_ele_eta_goldenFrac->SetTitle("fraction of golden electrons vs eta");
761  TH1F *h_ele_eta_bbremFrac = (TH1F*)h_ele_eta_bbrem->Clone("h_ele_eta_bbremFrac");
762  h_ele_eta_bbremFrac->Reset();
763  h_ele_eta_bbremFrac->Divide(h_ele_eta_bbrem,h_ele_eta,1,1);
764  h_ele_eta_bbremFrac->GetXaxis()->SetTitle("|#eta|");
765  h_ele_eta_bbremFrac->GetYaxis()->SetTitle("Fraction of electrons");
766  h_ele_eta_bbremFrac->SetTitle("fraction of big brem electrons vs eta");
767  TH1F *h_ele_eta_narrowFrac = (TH1F*)h_ele_eta_narrow->Clone("h_ele_eta_narrowFrac");
768  h_ele_eta_narrowFrac->Reset();
769  h_ele_eta_narrowFrac->Divide(h_ele_eta_narrow,h_ele_eta,1,1);
770  h_ele_eta_narrowFrac->GetXaxis()->SetTitle("|#eta|");
771  h_ele_eta_narrowFrac->GetYaxis()->SetTitle("Fraction of electrons");
772  h_ele_eta_narrowFrac->SetTitle("fraction of narrow electrons vs eta");
773  TH1F *h_ele_eta_showerFrac = (TH1F*)h_ele_eta_shower->Clone("h_ele_eta_showerFrac");
774  h_ele_eta_showerFrac->Reset();
775  h_ele_eta_showerFrac->Divide(h_ele_eta_shower,h_ele_eta,1,1);
776  h_ele_eta_showerFrac->GetXaxis()->SetTitle("|#eta|");
777  h_ele_eta_showerFrac->GetYaxis()->SetTitle("Fraction of electrons");
778  h_ele_eta_showerFrac->SetTitle("fraction of showering electrons vs eta");
779 
780  // fbrem
781  TH1F *h_ele_xOverX0VsEta = new TH1F( "h_ele_xOverx0VsEta","mean X/X_0 vs eta",nbineta/2,0.0,2.5);
782  for (int ibin=1;ibin<h_ele_fbremVsEta_mean->GetNbinsX()+1;ibin++) {
783  double xOverX0 = 0.;
784  if (h_ele_fbremVsEta_mean->GetBinContent(ibin)>0.) xOverX0 = -log(h_ele_fbremVsEta_mean->GetBinContent(ibin));
785  h_ele_xOverX0VsEta->SetBinContent(ibin,xOverX0);
786  }
787 
788  //profiles from 2D histos
789  TProfile *p_ele_PoPmatchingObjectVsEta = h_ele_PoPmatchingObjectVsEta->ProfileX();
790  p_ele_PoPmatchingObjectVsEta->SetTitle("mean ele momentum / matching SC energy vs eta");
791  p_ele_PoPmatchingObjectVsEta->GetXaxis()->SetTitle("#eta");
792  p_ele_PoPmatchingObjectVsEta->GetYaxis()->SetTitle("<P/E_{matching jet}>");
793  p_ele_PoPmatchingObjectVsEta->Write();
794  TProfile *p_ele_PoPmatchingObjectVsPhi = h_ele_PoPmatchingObjectVsPhi->ProfileX();
795  p_ele_PoPmatchingObjectVsPhi->SetTitle("mean ele momentum / gen momentum vs phi");
796  p_ele_PoPmatchingObjectVsPhi->GetXaxis()->SetTitle("#phi (rad)");
797  p_ele_PoPmatchingObjectVsPhi->GetYaxis()->SetTitle("<P/E_{matching jet}>");
798  p_ele_PoPmatchingObjectVsPhi->Write();
799  TProfile *p_ele_EtaMnEtamatchingObjectVsEta = h_ele_EtaMnEtamatchingObjectVsEta->ProfileX();
800  p_ele_EtaMnEtamatchingObjectVsEta->GetXaxis()->SetTitle("#eta");
801  p_ele_EtaMnEtamatchingObjectVsEta->GetYaxis()->SetTitle("<#eta_{rec} - #eta_{matching jet}>");
802  p_ele_EtaMnEtamatchingObjectVsEta->Write();
803  TProfile *p_ele_EtaMnEtamatchingObjectVsPhi = h_ele_EtaMnEtamatchingObjectVsPhi->ProfileX();
804  p_ele_EtaMnEtamatchingObjectVsPhi-> GetXaxis()-> SetTitle("#phi");
805  p_ele_EtaMnEtamatchingObjectVsPhi-> GetYaxis()-> SetTitle("<#eta_{rec} - #eta_{matching jet}>");
806  p_ele_EtaMnEtamatchingObjectVsPhi->Write();
807  TProfile *p_ele_PhiMnPhimatchingObjectVsEta = h_ele_PhiMnPhimatchingObjectVsEta->ProfileX();
808  p_ele_PhiMnPhimatchingObjectVsEta-> GetXaxis()-> SetTitle("#eta");
809  p_ele_PhiMnPhimatchingObjectVsEta-> GetYaxis()-> SetTitle("<#phi_{rec} - #phi_{matching jet}> (rad)");
810  p_ele_PhiMnPhimatchingObjectVsEta->Write();
811  TProfile *p_ele_PhiMnPhimatchingObjectVsPhi = h_ele_PhiMnPhimatchingObjectVsPhi->ProfileX();
812  p_ele_PhiMnPhimatchingObjectVsPhi-> GetXaxis()-> SetTitle("#phi");
813  p_ele_PhiMnPhimatchingObjectVsPhi-> GetYaxis()-> SetTitle("<#phi_{rec} - #phi_{matching jet}> (rad)");
814  p_ele_PhiMnPhimatchingObjectVsPhi->Write();
815  TProfile *p_ele_vertexPtVsEta = h_ele_vertexPtVsEta->ProfileX();
816  p_ele_vertexPtVsEta->GetXaxis()->SetTitle("#eta");
817  p_ele_vertexPtVsEta->GetYaxis()->SetTitle("<p_{T}> (GeV/c)");
818  p_ele_vertexPtVsEta->Write();
819  TProfile *p_ele_vertexPtVsPhi = h_ele_vertexPtVsPhi->ProfileX();
820  p_ele_vertexPtVsPhi->GetXaxis()->SetTitle("#phi (rad)");
821  p_ele_vertexPtVsPhi->GetYaxis()->SetTitle("<p_{T}> (GeV/c)");
822  p_ele_vertexPtVsPhi->Write();
823  TProfile *p_ele_EoPVsEta = h_ele_EoPVsEta->ProfileX();
824  p_ele_EoPVsEta->GetXaxis()->SetTitle("#eta");
825  p_ele_EoPVsEta->GetYaxis()->SetTitle("<E/P_{vertex}>");
826  p_ele_EoPVsEta->Write();
827  TProfile *p_ele_EoPVsPhi = h_ele_EoPVsPhi->ProfileX();
828  p_ele_EoPVsPhi->GetXaxis()->SetTitle("#phi (rad)");
829  p_ele_EoPVsPhi->GetYaxis()->SetTitle("<E/P_{vertex}>");
830  p_ele_EoPVsPhi->Write();
831  TProfile *p_ele_EoPoutVsEta = h_ele_EoPoutVsEta->ProfileX();
832  p_ele_EoPoutVsEta->GetXaxis()->SetTitle("#eta");
833  p_ele_EoPoutVsEta->GetYaxis()->SetTitle("<E_{seed}/P_{out}>");
834  p_ele_EoPoutVsEta->Write();
835  TProfile *p_ele_EoPoutVsPhi = h_ele_EoPoutVsPhi->ProfileX();
836  p_ele_EoPoutVsPhi->GetXaxis()->SetTitle("#phi (rad)");
837  p_ele_EoPoutVsPhi->GetYaxis()->SetTitle("<E_{seed}/P_{out}>");
838  p_ele_EoPoutVsPhi->Write();
839  TProfile *p_ele_EeleOPoutVsEta = h_ele_EeleOPoutVsEta->ProfileX();
840  p_ele_EeleOPoutVsEta->SetTitle("mean ele Eele/pout vs eta");
841  p_ele_EeleOPoutVsEta->GetXaxis()->SetTitle("#eta");
842  p_ele_EeleOPoutVsEta->GetYaxis()->SetTitle("<E_{ele}/P_{out}>");
843  p_ele_EeleOPoutVsEta->Write();
844  TProfile *p_ele_EeleOPoutVsPhi = h_ele_EeleOPoutVsPhi->ProfileX();
845  p_ele_EeleOPoutVsPhi->SetTitle("mean ele Eele/pout vs phi");
846  p_ele_EeleOPoutVsPhi->GetXaxis()->SetTitle("#phi (rad)");
847  p_ele_EeleOPoutVsPhi->GetYaxis()->SetTitle("<E_{ele}/P_{out}>");
848  p_ele_EeleOPoutVsPhi->Write();
849  TProfile *p_ele_HoEVsEta = h_ele_HoEVsEta->ProfileX();
850  p_ele_HoEVsEta->GetXaxis()->SetTitle("#eta");
851  p_ele_HoEVsEta->GetYaxis()->SetTitle("<H/E>");
852  p_ele_HoEVsEta->Write();
853  TProfile *p_ele_HoEVsPhi = h_ele_HoEVsPhi->ProfileX();
854  p_ele_HoEVsPhi->GetXaxis()->SetTitle("#phi (rad)");
855  p_ele_HoEVsPhi->GetYaxis()->SetTitle("<H/E>");
856  p_ele_HoEVsPhi->Write();
857  TProfile *p_ele_chi2VsEta = h_ele_chi2VsEta->ProfileX();
858  p_ele_chi2VsEta->GetXaxis()->SetTitle("#eta");
859  p_ele_chi2VsEta->GetYaxis()->SetTitle("<#Chi^{2}>");
860  p_ele_chi2VsEta->Write();
861  TProfile *p_ele_chi2VsPhi = h_ele_chi2VsPhi->ProfileX();
862  p_ele_chi2VsPhi->GetXaxis()->SetTitle("#phi (rad)");
863  p_ele_chi2VsPhi->GetYaxis()->SetTitle("<#Chi^{2}>");
864  p_ele_chi2VsPhi->Write();
865  TProfile *p_ele_foundHitsVsEta = h_ele_foundHitsVsEta->ProfileX();
866  p_ele_foundHitsVsEta->GetXaxis()->SetTitle("#eta");
867  p_ele_foundHitsVsEta->GetYaxis()->SetTitle("<N_{hits}>");
868  p_ele_foundHitsVsEta->Write();
869  TProfile *p_ele_foundHitsVsPhi = h_ele_foundHitsVsPhi->ProfileX();
870  p_ele_foundHitsVsPhi->GetXaxis()->SetTitle("#phi (rad)");
871  p_ele_foundHitsVsPhi->GetYaxis()->SetTitle("<N_{hits}>");
872  p_ele_foundHitsVsPhi->Write();
873  TProfile *p_ele_lostHitsVsEta = h_ele_lostHitsVsEta->ProfileX();
874  p_ele_lostHitsVsEta->GetXaxis()->SetTitle("#eta");
875  p_ele_lostHitsVsEta->GetYaxis()->SetTitle("<N_{hits}>");
876  p_ele_lostHitsVsEta->Write();
877  TProfile *p_ele_lostHitsVsPhi = h_ele_lostHitsVsPhi->ProfileX();
878  p_ele_lostHitsVsPhi->GetXaxis()->SetTitle("#phi (rad)");
879  p_ele_lostHitsVsPhi->GetYaxis()->SetTitle("<N_{hits}>");
880  p_ele_lostHitsVsPhi->Write();
881  TProfile *p_ele_vertexTIPVsEta = h_ele_vertexTIPVsEta->ProfileX();
882  p_ele_vertexTIPVsEta->SetTitle("mean tip (wrt gen vtx) vs eta");
883  p_ele_vertexTIPVsEta->GetXaxis()->SetTitle("#eta");
884  p_ele_vertexTIPVsEta->GetYaxis()->SetTitle("<TIP> (cm)");
885  p_ele_vertexTIPVsEta->Write();
886  TProfile *p_ele_vertexTIPVsPhi = h_ele_vertexTIPVsPhi->ProfileX();
887  p_ele_vertexTIPVsPhi->SetTitle("mean tip (wrt gen vtx) vs phi");
888  p_ele_vertexTIPVsPhi->GetXaxis()->SetTitle("#phi");
889  p_ele_vertexTIPVsPhi->GetYaxis()->SetTitle("<TIP> (cm)");
890  p_ele_vertexTIPVsPhi->Write();
891  TProfile *p_ele_vertexTIPVsPt = h_ele_vertexTIPVsPt->ProfileX();
892  p_ele_vertexTIPVsPt->SetTitle("mean tip (wrt gen vtx) vs phi");
893  p_ele_vertexTIPVsPt->GetXaxis()->SetTitle("p_{T} (GeV/c)");
894  p_ele_vertexTIPVsPt->GetYaxis()->SetTitle("<TIP> (cm)");
895  p_ele_vertexTIPVsPt->Write();
896 
897  // mc truth
898 
899  h_matchingObjectNum->Write();
900 
901  // rec event
902 
903  histNum_->Write();
904 
905  // mc
906  h_matchingObjectEta->Write();
907  h_matchingObjectAbsEta->Write();
908  h_matchingObjectP->Write();
909  h_matchingObjectPt->Write();
910  h_matchingObjectPhi->Write();
911  h_matchingObjectZ->Write();
912 
913  // all electrons
914  h_ele_EoverP_all->Write();
915  h_ele_EseedOP_all->Write();
916  h_ele_EoPout_all->Write();
917  h_ele_EeleOPout_all ->Write();
918  h_ele_dEtaSc_propVtx_all->Write();
919  h_ele_dPhiSc_propVtx_all->Write();
920  h_ele_dEtaCl_propOut_all ->Write();
921  h_ele_dPhiCl_propOut_all->Write();
922  h_ele_HoE_all->Write();
923  h_ele_TIP_all->Write();
924  h_ele_vertexPt_all->Write();
925  h_ele_vertexEta_all->Write();
926  h_ele_mee_all->Write();
927  h_ele_mee_os->Write();
928  h_ele_E2mnE1vsMee_all ->Write();
930 
931  // matched electrons
932  h_ele_charge->Write();
933  h_ele_chargeVsEta->Write();
934  h_ele_chargeVsPhi->Write();
935  h_ele_chargeVsPt->Write();
936  h_ele_vertexP->Write();
937  h_ele_vertexPt->Write();
938  h_ele_vertexPtVsEta->Write();
939  h_ele_vertexPtVsPhi->Write();
941  h_ele_vertexEta->Write();
942  h_ele_vertexEtaVsPhi->Write();
945  h_ele_vertexPhi->Write();
947  h_ele_vertexX->Write();
948  h_ele_vertexY ->Write();
949  h_ele_vertexZ->Write();
950  h_ele_vertexTIP->Write();
952  h_ele_vertexTIPVsEta->Write();
953  h_ele_vertexTIPVsPhi->Write();
954  h_ele_vertexTIPVsPt->Write();
955  h_ele_PoPmatchingObject->Write();
970 
971  // matched electron, superclusters
972  histSclEn_->Write();
975  histSclEt_->Write();
976  histSclEtVsEta_->Write();
977  histSclEtVsPhi_->Write();
978  histSclEtaVsPhi_ ->Write();
979  histSclEta_->Write();
980  histSclPhi_->Write();
981  histSclSigIEtaIEta_->Write();
984  histSclE1x5_->Write();
985  histSclE1x5_barrel_->Write();
986  histSclE1x5_endcaps_->Write();
987  histSclE2x5max_->Write();
988  histSclE2x5max_barrel_->Write();
989  histSclE2x5max_endcaps_->Write();
990  histSclE5x5_->Write();
991  histSclE5x5_barrel_->Write();
992  histSclE5x5_endcaps_->Write();
993 
994  // matched electron, gsf tracks
995  h_ele_ambiguousTracks->Write();
998  h_ele_ambiguousTracksVsPt->Write();
999  h_ele_foundHits->Write();
1000  h_ele_foundHitsVsEta->Write();
1001  h_ele_foundHitsVsPhi->Write();
1002  h_ele_foundHitsVsPt->Write();
1003  h_ele_lostHits->Write();
1004  h_ele_lostHitsVsEta->Write();
1005  h_ele_lostHitsVsPhi->Write();
1006  h_ele_lostHitsVsPt->Write();
1007  h_ele_chi2 ->Write();
1008  h_ele_chi2VsEta ->Write();
1009  h_ele_chi2VsPhi ->Write();
1010  h_ele_chi2VsPt->Write();
1011  h_ele_PinMnPout->Write();
1012  h_ele_PinMnPout_mode->Write();
1013  h_ele_PinMnPoutVsEta_mode->Write();
1014  h_ele_PinMnPoutVsPhi_mode->Write();
1015  h_ele_PinMnPoutVsPt_mode->Write();
1016  h_ele_PinMnPoutVsE_mode->Write();
1017  h_ele_PinMnPoutVsChi2_mode->Write();
1018  h_ele_outerP ->Write();
1019  h_ele_outerP_mode->Write();
1020  h_ele_outerPVsEta_mode->Write();
1021  h_ele_outerPt->Write();
1022  h_ele_outerPt_mode ->Write();
1023  h_ele_outerPtVsEta_mode->Write();
1024  h_ele_outerPtVsPhi_mode->Write();
1025  h_ele_outerPtVsPt_mode->Write();
1026 
1027  // matched electrons, matching
1028  h_ele_EoP ->Write();
1029  h_ele_EoP_eg ->Write();
1030  h_ele_EoP_barrel ->Write();
1031  h_ele_EoP_eg_barrel ->Write();
1032  h_ele_EoP_endcaps ->Write();
1033  h_ele_EoP_eg_endcaps ->Write();
1034  h_ele_EoPVsEta ->Write();
1035  h_ele_EoPVsPhi->Write();
1036  h_ele_EoPVsE->Write();
1037  h_ele_EseedOP ->Write();
1038  h_ele_EseedOP_eg ->Write();
1039  h_ele_EseedOP_barrel ->Write();
1040  h_ele_EseedOP_eg_barrel ->Write();
1041  h_ele_EseedOP_endcaps ->Write();
1042  h_ele_EseedOP_eg_endcaps ->Write();
1043  h_ele_EseedOPVsEta ->Write();
1044  h_ele_EseedOPVsPhi->Write();
1045  h_ele_EseedOPVsE->Write();
1046  h_ele_EoPout->Write();
1047  h_ele_EoPout_eg->Write();
1048  h_ele_EoPout_barrel->Write();
1049  h_ele_EoPout_eg_barrel->Write();
1050  h_ele_EoPout_endcaps->Write();
1051  h_ele_EoPout_eg_endcaps->Write();
1052  h_ele_EoPoutVsEta->Write();
1053  h_ele_EoPoutVsPhi->Write();
1054  h_ele_EoPoutVsE ->Write();
1055  h_ele_EeleOPout->Write();
1056  h_ele_EeleOPout_eg->Write();
1057  h_ele_EeleOPout_barrel->Write();
1058  h_ele_EeleOPout_eg_barrel->Write();
1059  h_ele_EeleOPout_endcaps->Write();
1060  h_ele_EeleOPout_eg_endcaps->Write();
1061  h_ele_EeleOPoutVsEta->Write();
1062  h_ele_EeleOPoutVsPhi->Write();
1063  h_ele_EeleOPoutVsE ->Write();
1064  h_ele_dEtaSc_propVtx->Write();
1065  h_ele_dEtaSc_propVtx_eg->Write();
1066  h_ele_dEtaSc_propVtx_barrel->Write();
1070  h_ele_dEtaScVsEta_propVtx->Write();
1071  h_ele_dEtaScVsPhi_propVtx->Write();
1072  h_ele_dEtaScVsPt_propVtx ->Write();
1073  h_ele_dPhiSc_propVtx->Write();
1074  h_ele_dPhiSc_propVtx_eg->Write();
1075  h_ele_dPhiSc_propVtx_barrel->Write();
1079  h_ele_dPhiScVsEta_propVtx ->Write();
1080  h_ele_dPhiScVsPhi_propVtx->Write();
1081  h_ele_dPhiScVsPt_propVtx->Write();
1082  h_ele_dEtaCl_propOut->Write();
1083  h_ele_dEtaCl_propOut_eg->Write();
1084  h_ele_dEtaCl_propOut_barrel->Write();
1088  h_ele_dEtaClVsEta_propOut->Write();
1089  h_ele_dEtaClVsPhi_propOut->Write();
1090  h_ele_dEtaClVsPt_propOut->Write();
1091  h_ele_dPhiCl_propOut->Write();
1092  h_ele_dPhiCl_propOut_eg->Write();
1093  h_ele_dPhiCl_propOut_barrel->Write();
1097  h_ele_dPhiClVsEta_propOut->Write();
1098  h_ele_dPhiClVsPhi_propOut->Write();
1099  h_ele_dPhiClVsPt_propOut->Write();
1100  h_ele_dEtaEleCl_propOut->Write();
1101  h_ele_dEtaEleCl_propOut_eg->Write();
1108  h_ele_dEtaEleClVsPt_propOut->Write();
1109  h_ele_dPhiEleCl_propOut->Write();
1110  h_ele_dPhiEleCl_propOut_eg->Write();
1117  h_ele_dPhiEleClVsPt_propOut->Write();
1118  h_ele_HoE->Write();
1119  h_ele_HoE_eg->Write();
1120  h_ele_HoE_barrel->Write();
1121  h_ele_HoE_eg_barrel->Write();
1122  h_ele_HoE_endcaps->Write();
1123  h_ele_HoE_eg_endcaps->Write();
1124  h_ele_HoE_fiducial->Write();
1125  h_ele_HoEVsEta->Write();
1126  h_ele_HoEVsPhi->Write();
1127  h_ele_HoEVsE->Write();
1128 
1129  h_ele_seed_dphi2_->Write();
1130  h_ele_seed_subdet2_->Write();
1131  TProfile *p_ele_seed_dphi2VsEta_ = h_ele_seed_dphi2VsEta_->ProfileX();
1132  p_ele_seed_dphi2VsEta_->SetTitle("mean ele seed dphi 2nd layer vs eta");
1133  p_ele_seed_dphi2VsEta_->GetXaxis()->SetTitle("#eta");
1134  p_ele_seed_dphi2VsEta_->GetYaxis()->SetTitle("<#phi_{pred} - #phi_{hit}, 2nd layer> (rad)");
1135  p_ele_seed_dphi2VsEta_->SetMinimum(-0.004);
1136  p_ele_seed_dphi2VsEta_->SetMaximum(0.004);
1137  p_ele_seed_dphi2VsEta_->Write();
1138  TProfile *p_ele_seed_dphi2VsPt_ = h_ele_seed_dphi2VsPt_->ProfileX();
1139  p_ele_seed_dphi2VsPt_->SetTitle("mean ele seed dphi 2nd layer vs pt");
1140  p_ele_seed_dphi2VsPt_->GetXaxis()->SetTitle("p_{T} (GeV/c)");
1141  p_ele_seed_dphi2VsPt_->GetYaxis()->SetTitle("<#phi_{pred} - #phi_{hit}, 2nd layer> (rad)");
1142  p_ele_seed_dphi2VsPt_->SetMinimum(-0.004);
1143  p_ele_seed_dphi2VsPt_->SetMaximum(0.004);
1144  p_ele_seed_dphi2VsPt_->Write();
1145  h_ele_seed_drz2_->Write();
1146  TProfile *p_ele_seed_drz2VsEta_ = h_ele_seed_drz2VsEta_->ProfileX();
1147  p_ele_seed_drz2VsEta_->SetTitle("mean ele seed dr(dz) 2nd layer vs eta");
1148  p_ele_seed_drz2VsEta_->GetXaxis()->SetTitle("#eta");
1149  p_ele_seed_drz2VsEta_->GetYaxis()->SetTitle("<r(z)_{pred} - r(z)_{hit}, 2nd layer> (cm)");
1150  p_ele_seed_drz2VsEta_->SetMinimum(-0.15);
1151  p_ele_seed_drz2VsEta_->SetMaximum(0.15);
1152  p_ele_seed_drz2VsEta_->Write();
1153  TProfile *p_ele_seed_drz2VsPt_ = h_ele_seed_drz2VsPt_->ProfileX();
1154  p_ele_seed_drz2VsPt_->SetTitle("mean ele seed dr(dz) 2nd layer vs pt");
1155  p_ele_seed_drz2VsPt_->GetXaxis()->SetTitle("p_{T} (GeV/c)");
1156  p_ele_seed_drz2VsPt_->GetYaxis()->SetTitle("<r(z)_{pred} - r(z)_{hit}, 2nd layer> (cm)");
1157  p_ele_seed_drz2VsPt_->SetMinimum(-0.15);
1158  p_ele_seed_drz2VsPt_->SetMaximum(0.15);
1159  p_ele_seed_drz2VsPt_->Write();
1160 
1161  // classes
1162  h_ele_classes->Write();
1163  h_ele_eta->Write();
1164  h_ele_eta_golden->Write();
1165  h_ele_eta_bbrem->Write();
1166  h_ele_eta_narrow->Write();
1167  h_ele_eta_shower->Write();
1168  h_ele_PinVsPoutGolden_mode->Write();
1170  h_ele_PinVsPoutGolden_mean->Write();
1180 
1181  // fbrem
1182  h_ele_fbrem->Write();
1183  h_ele_fbremVsEta_mode->Write();
1184  h_ele_fbremVsEta_mean->Write();
1185  h_ele_etaEff->Write();
1186  h_ele_zEff->Write();
1187  h_ele_phiEff->Write();
1188  h_ele_absetaEff->Write();
1189  h_ele_ptEff->Write();
1190  h_ele_etaEff_all->Write();
1191  h_ele_ptEff_all->Write();
1192  h_ele_eta_goldenFrac->Write();
1193  h_ele_eta_bbremFrac->Write();
1194  h_ele_eta_narrowFrac->Write();
1195  h_ele_eta_showerFrac->Write();
1196  h_ele_xOverX0VsEta->Write();
1197 
1198  // e/g et pflow electrons
1199  h_ele_mva->Write();
1200  h_ele_provenance->Write();
1201 
1202  // isolation
1203  h_ele_tkSumPt_dr03->GetXaxis()->SetTitle("TkIsoSum, cone 0.3 (GeV/c)");
1204  h_ele_tkSumPt_dr03->GetYaxis()->SetTitle("Events");
1205  h_ele_tkSumPt_dr03->Write();
1206  h_ele_ecalRecHitSumEt_dr03->GetXaxis()->SetTitle("EcalIsoSum, cone 0.3 (GeV)");
1207  h_ele_ecalRecHitSumEt_dr03->GetYaxis()->SetTitle("Events");
1208  h_ele_ecalRecHitSumEt_dr03->Write();
1209  h_ele_hcalDepth1TowerSumEt_dr03->GetXaxis()->SetTitle("Hcal1IsoSum, cone 0.3 (GeV)");
1210  h_ele_hcalDepth1TowerSumEt_dr03->GetYaxis()->SetTitle("Events");
1212  h_ele_hcalDepth2TowerSumEt_dr03->GetXaxis()->SetTitle("Hcal2IsoSum, cone 0.3 (GeV)");
1213  h_ele_hcalDepth2TowerSumEt_dr03->GetYaxis()->SetTitle("Events");
1215  h_ele_tkSumPt_dr04->GetXaxis()->SetTitle("TkIsoSum, cone 0.4 (GeV/c)");
1216  h_ele_tkSumPt_dr04->GetYaxis()->SetTitle("Events");
1217  h_ele_tkSumPt_dr04->Write();
1218  h_ele_ecalRecHitSumEt_dr04->GetXaxis()->SetTitle("EcalIsoSum, cone 0.4 (GeV)");
1219  h_ele_ecalRecHitSumEt_dr04->GetYaxis()->SetTitle("Events");
1220  h_ele_ecalRecHitSumEt_dr04->Write();
1221  h_ele_hcalDepth1TowerSumEt_dr04->GetXaxis()->SetTitle("Hcal1IsoSum, cone 0.4 (GeV)");
1222  h_ele_hcalDepth1TowerSumEt_dr04->GetYaxis()->SetTitle("Events");
1224  h_ele_hcalDepth2TowerSumEt_dr04->GetXaxis()->SetTitle("Hcal2IsoSum, cone 0.4 (GeV)");
1225  h_ele_hcalDepth2TowerSumEt_dr04->GetYaxis()->SetTitle("Events");
1227 
1228 }

Member Data Documentation

edm::InputTag GsfElectronFakeAnalyzer::beamSpot_
private

Definition at line 365 of file GsfElectronFakeAnalyzer.h.

Referenced by analyze().

double GsfElectronFakeAnalyzer::deltaR_
private

Definition at line 371 of file GsfElectronFakeAnalyzer.h.

Referenced by analyze(), and GsfElectronFakeAnalyzer().

double GsfElectronFakeAnalyzer::detamatchmax
private

Definition at line 387 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

double GsfElectronFakeAnalyzer::detamatchmin
private

Definition at line 386 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

double GsfElectronFakeAnalyzer::detamax
private

Definition at line 383 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

double GsfElectronFakeAnalyzer::detamin
private

Definition at line 382 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

double GsfElectronFakeAnalyzer::dphimatchmax
private

Definition at line 389 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

double GsfElectronFakeAnalyzer::dphimatchmin
private

Definition at line 388 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

double GsfElectronFakeAnalyzer::dphimax
private

Definition at line 385 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

double GsfElectronFakeAnalyzer::dphimin
private

Definition at line 384 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

edm::InputTag GsfElectronFakeAnalyzer::electronCollection_
private

Definition at line 363 of file GsfElectronFakeAnalyzer.h.

Referenced by analyze(), and GsfElectronFakeAnalyzer().

double GsfElectronFakeAnalyzer::eopmax
private

Definition at line 380 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

double GsfElectronFakeAnalyzer::eopmaxsht
private

Definition at line 381 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

double GsfElectronFakeAnalyzer::etamax
private

Definition at line 375 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

double GsfElectronFakeAnalyzer::etamin
private

Definition at line 374 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

double GsfElectronFakeAnalyzer::fhitsmax
private

Definition at line 390 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

TH1F* GsfElectronFakeAnalyzer::h_ele_ambiguousTracks
private

Definition at line 161 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_ambiguousTracksVsEta
private

Definition at line 162 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_ambiguousTracksVsPhi
private

Definition at line 163 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_ambiguousTracksVsPt
private

Definition at line 164 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_charge
private

Definition at line 113 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_chargeVsEta
private

Definition at line 114 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_chargeVsPhi
private

Definition at line 115 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_chargeVsPt
private

Definition at line 116 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_chi2
private

Definition at line 177 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_chi2_barrel
private

Definition at line 178 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_chi2_endcaps
private

Definition at line 179 of file GsfElectronFakeAnalyzer.h.

TH2F* GsfElectronFakeAnalyzer::h_ele_chi2VsEta
private

Definition at line 180 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_chi2VsPhi
private

Definition at line 181 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_chi2VsPt
private

Definition at line 182 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_classes
private

Definition at line 315 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaCl_propOut
private

Definition at line 270 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaCl_propOut_all
private

Definition at line 93 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaCl_propOut_all_barrel
private

Definition at line 94 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaCl_propOut_all_endcaps
private

Definition at line 95 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaCl_propOut_barrel
private

Definition at line 271 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaCl_propOut_eg
private

Definition at line 273 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaCl_propOut_eg_barrel
private

Definition at line 274 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaCl_propOut_eg_endcaps
private

Definition at line 275 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaCl_propOut_endcaps
private

Definition at line 272 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_dEtaClVsEta_propOut
private

Definition at line 276 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_dEtaClVsPhi_propOut
private

Definition at line 277 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_dEtaClVsPt_propOut
private

Definition at line 278 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaEleCl_propOut
private

Definition at line 288 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaEleCl_propOut_barrel
private

Definition at line 289 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaEleCl_propOut_eg
private

Definition at line 291 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaEleCl_propOut_eg_barrel
private

Definition at line 292 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaEleCl_propOut_eg_endcaps
private

Definition at line 293 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaEleCl_propOut_endcaps
private

Definition at line 290 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_dEtaEleClVsEta_propOut
private

Definition at line 294 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_dEtaEleClVsPhi_propOut
private

Definition at line 295 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_dEtaEleClVsPt_propOut
private

Definition at line 296 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaSc_propVtx
private

Definition at line 252 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaSc_propVtx_all
private

Definition at line 87 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaSc_propVtx_all_barrel
private

Definition at line 88 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaSc_propVtx_all_endcaps
private

Definition at line 89 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaSc_propVtx_barrel
private

Definition at line 253 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaSc_propVtx_eg
private

Definition at line 255 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaSc_propVtx_eg_barrel
private

Definition at line 256 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaSc_propVtx_eg_endcaps
private

Definition at line 257 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dEtaSc_propVtx_endcaps
private

Definition at line 254 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_dEtaScVsEta_propVtx
private

Definition at line 258 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_dEtaScVsPhi_propVtx
private

Definition at line 259 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_dEtaScVsPt_propVtx
private

Definition at line 260 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiCl_propOut
private

Definition at line 279 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiCl_propOut_all
private

Definition at line 96 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiCl_propOut_all_barrel
private

Definition at line 97 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiCl_propOut_all_endcaps
private

Definition at line 98 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiCl_propOut_barrel
private

Definition at line 280 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiCl_propOut_eg
private

Definition at line 282 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiCl_propOut_eg_barrel
private

Definition at line 283 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiCl_propOut_eg_endcaps
private

Definition at line 284 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiCl_propOut_endcaps
private

Definition at line 281 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_dPhiClVsEta_propOut
private

Definition at line 285 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_dPhiClVsPhi_propOut
private

Definition at line 286 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_dPhiClVsPt_propOut
private

Definition at line 287 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiEleCl_propOut
private

Definition at line 297 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiEleCl_propOut_barrel
private

Definition at line 298 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiEleCl_propOut_eg
private

Definition at line 300 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiEleCl_propOut_eg_barrel
private

Definition at line 301 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiEleCl_propOut_eg_endcaps
private

Definition at line 302 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiEleCl_propOut_endcaps
private

Definition at line 299 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_dPhiEleClVsEta_propOut
private

Definition at line 303 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_dPhiEleClVsPhi_propOut
private

Definition at line 304 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_dPhiEleClVsPt_propOut
private

Definition at line 305 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiSc_propVtx
private

Definition at line 261 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiSc_propVtx_all
private

Definition at line 90 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiSc_propVtx_all_barrel
private

Definition at line 91 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiSc_propVtx_all_endcaps
private

Definition at line 92 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiSc_propVtx_barrel
private

Definition at line 262 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiSc_propVtx_eg
private

Definition at line 264 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiSc_propVtx_eg_barrel
private

Definition at line 265 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiSc_propVtx_eg_endcaps
private

Definition at line 266 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_dPhiSc_propVtx_endcaps
private

Definition at line 263 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_dPhiScVsEta_propVtx
private

Definition at line 267 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_dPhiScVsPhi_propVtx
private

Definition at line 268 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_dPhiScVsPt_propVtx
private

Definition at line 269 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_E2mnE1vsMee_all
private

Definition at line 110 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_E2mnE1vsMee_egeg_all
private

Definition at line 111 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_ecalRecHitSumEt_dr03
private

Definition at line 354 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_ecalRecHitSumEt_dr04
private

Definition at line 358 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EeleOPout
private

Definition at line 242 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EeleOPout_all
private

Definition at line 84 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EeleOPout_all_barrel
private

Definition at line 85 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_EeleOPout_all_endcaps
private

Definition at line 86 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_EeleOPout_barrel
private

Definition at line 243 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EeleOPout_eg
private

Definition at line 245 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EeleOPout_eg_barrel
private

Definition at line 246 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EeleOPout_eg_endcaps
private

Definition at line 247 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EeleOPout_endcaps
private

Definition at line 244 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_EeleOPoutVsE
private

Definition at line 250 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_EeleOPoutVsEta
private

Definition at line 248 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_EeleOPoutVsPhi
private

Definition at line 249 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EoP
private

Definition at line 215 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EoP_barrel
private

Definition at line 216 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EoP_eg
private

Definition at line 218 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EoP_eg_barrel
private

Definition at line 219 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EoP_eg_endcaps
private

Definition at line 220 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EoP_endcaps
private

Definition at line 217 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EoPout
private

Definition at line 233 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EoPout_all
private

Definition at line 81 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EoPout_all_barrel
private

Definition at line 82 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_EoPout_all_endcaps
private

Definition at line 83 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_EoPout_barrel
private

Definition at line 234 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EoPout_eg
private

Definition at line 236 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EoPout_eg_barrel
private

Definition at line 237 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EoPout_eg_endcaps
private

Definition at line 238 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EoPout_endcaps
private

Definition at line 235 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_EoPoutVsE
private

Definition at line 241 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_EoPoutVsEta
private

Definition at line 239 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_EoPoutVsPhi
private

Definition at line 240 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_EoPVsE
private

Definition at line 223 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_EoPVsEta
private

Definition at line 221 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_EoPVsPhi
private

Definition at line 222 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EoverP_all
private

Definition at line 75 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EoverP_all_barrel
private

Definition at line 76 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_EoverP_all_endcaps
private

Definition at line 77 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_EseedOP
private

Definition at line 224 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EseedOP_all
private

Definition at line 78 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EseedOP_all_barrel
private

Definition at line 79 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_EseedOP_all_endcaps
private

Definition at line 80 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_EseedOP_barrel
private

Definition at line 225 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EseedOP_eg
private

Definition at line 227 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EseedOP_eg_barrel
private

Definition at line 228 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EseedOP_eg_endcaps
private

Definition at line 229 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EseedOP_endcaps
private

Definition at line 226 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_EseedOPVsE
private

Definition at line 232 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_EseedOPVsEta
private

Definition at line 230 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_EseedOPVsPhi
private

Definition at line 231 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_eta
private

Definition at line 316 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_eta_bbrem
private

Definition at line 318 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_eta_golden
private

Definition at line 317 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_eta_narrow
private

Definition at line 319 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and endJob().

TH1F* GsfElectronFakeAnalyzer::h_ele_eta_shower
private

Definition at line 320 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_EtaMnEtamatchingObject
private

Definition at line 190 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_EtaMnEtamatchingObjectVsEta
private

Definition at line 191 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_EtaMnEtamatchingObjectVsPhi
private

Definition at line 192 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_EtaMnEtamatchingObjectVsPt
private

Definition at line 193 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_fbrem
private

Definition at line 333 of file GsfElectronFakeAnalyzer.h.

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

TProfile* GsfElectronFakeAnalyzer::h_ele_fbremVsEta_mean
private

Definition at line 335 of file GsfElectronFakeAnalyzer.h.

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

TProfile* GsfElectronFakeAnalyzer::h_ele_fbremVsEta_mode
private

Definition at line 334 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_foundHits
private

Definition at line 165 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_foundHits_barrel
private

Definition at line 166 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_foundHits_endcaps
private

Definition at line 167 of file GsfElectronFakeAnalyzer.h.

TH2F* GsfElectronFakeAnalyzer::h_ele_foundHitsVsEta
private

Definition at line 168 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_foundHitsVsPhi
private

Definition at line 169 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_foundHitsVsPt
private

Definition at line 170 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_hcalDepth1TowerSumEt_dr03
private

Definition at line 355 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_hcalDepth1TowerSumEt_dr04
private

Definition at line 359 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_hcalDepth2TowerSumEt_dr03
private

Definition at line 356 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_hcalDepth2TowerSumEt_dr04
private

Definition at line 360 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_HoE
private

Definition at line 322 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_HoE_all
private

Definition at line 102 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_HoE_all_barrel
private

Definition at line 103 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_HoE_all_endcaps
private

Definition at line 104 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_HoE_barrel
private

Definition at line 323 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_HoE_eg
private

Definition at line 325 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_HoE_eg_barrel
private

Definition at line 326 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_HoE_eg_endcaps
private

Definition at line 327 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_HoE_endcaps
private

Definition at line 324 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_HoE_fiducial
private

Definition at line 328 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_HoEVsE
private

Definition at line 331 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_HoEVsEta
private

Definition at line 329 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_HoEVsPhi
private

Definition at line 330 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_lostHits
private

Definition at line 171 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_lostHits_barrel
private

Definition at line 172 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_lostHits_endcaps
private

Definition at line 173 of file GsfElectronFakeAnalyzer.h.

TH2F* GsfElectronFakeAnalyzer::h_ele_lostHitsVsEta
private

Definition at line 174 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_lostHitsVsPhi
private

Definition at line 175 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_lostHitsVsPt
private

Definition at line 176 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_matchingObjectAbsEta_matched
private

Definition at line 70 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_matchingObjectEta_matched
private

Definition at line 69 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_matchingObjectPhi_matched
private

Definition at line 72 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_matchingObjectPt_matched
private

Definition at line 71 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_matchingObjectZ_matched
private

Definition at line 73 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_mee_all
private

Definition at line 107 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_mee_os
private

Definition at line 108 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_mva
private

Definition at line 350 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_outerP
private

Definition at line 207 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_outerP_mode
private

Definition at line 208 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_outerPt
private

Definition at line 210 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_outerPt_mode
private

Definition at line 211 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_outerPtVsEta_mode
private

Definition at line 212 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_outerPtVsPhi_mode
private

Definition at line 213 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_outerPtVsPt_mode
private

Definition at line 214 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_outerPVsEta_mode
private

Definition at line 209 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_PhiMnPhimatchingObject
private

Definition at line 194 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_PhiMnPhimatchingObject2
private

Definition at line 195 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_PhiMnPhimatchingObjectVsEta
private

Definition at line 196 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_PhiMnPhimatchingObjectVsPhi
private

Definition at line 197 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_PhiMnPhimatchingObjectVsPt
private

Definition at line 198 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_PinMnPout
private

Definition at line 199 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_PinMnPout_mode
private

Definition at line 200 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_PinMnPoutVsChi2_mode
private

Definition at line 205 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_PinMnPoutVsE_mode
private

Definition at line 204 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_PinMnPoutVsEta_mode
private

Definition at line 201 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_PinMnPoutVsPhi_mode
private

Definition at line 202 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_PinMnPoutVsPt_mode
private

Definition at line 203 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_PinVsPoutGolden_mean
private

Definition at line 339 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_PinVsPoutGolden_mode
private

Definition at line 337 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_PinVsPoutShowering_mean
private

Definition at line 340 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_PinVsPoutShowering_mode
private

Definition at line 338 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_PoPmatchingObject
private

Definition at line 184 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_PoPmatchingObject_barrel
private

Definition at line 188 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_PoPmatchingObject_endcaps
private

Definition at line 189 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_PoPmatchingObjectVsEta
private

Definition at line 185 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_PoPmatchingObjectVsPhi
private

Definition at line 186 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_PoPmatchingObjectVsPt
private

Definition at line 187 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_provenance
private

Definition at line 351 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_PtinVsPtoutGolden_mean
private

Definition at line 343 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_PtinVsPtoutGolden_mode
private

Definition at line 341 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_PtinVsPtoutShowering_mean
private

Definition at line 344 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_PtinVsPtoutShowering_mode
private

Definition at line 342 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_seed_dphi2_
private

Definition at line 307 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_seed_dphi2VsEta_
private

Definition at line 308 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_seed_dphi2VsPt_
private

Definition at line 309 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_seed_drz2_
private

Definition at line 310 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_seed_drz2VsEta_
private

Definition at line 311 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_seed_drz2VsPt_
private

Definition at line 312 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_seed_subdet2_
private

Definition at line 313 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_TIP_all
private

Definition at line 99 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_TIP_all_barrel
private

Definition at line 100 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_TIP_all_endcaps
private

Definition at line 101 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_tkSumPt_dr03
private

Definition at line 353 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_tkSumPt_dr04
private

Definition at line 357 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_vertexAbsEta
private

Definition at line 124 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_vertexEta
private

Definition at line 122 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_vertexEta_all
private

Definition at line 105 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_vertexEtaVsPhi
private

Definition at line 123 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_vertexP
private

Definition at line 117 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_vertexPhi
private

Definition at line 125 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_vertexPt
private

Definition at line 118 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_vertexPt_5100
private

Definition at line 121 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::h_ele_vertexPt_all
private

Definition at line 106 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_vertexPtVsEta
private

Definition at line 119 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_vertexPtVsPhi
private

Definition at line 120 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_vertexTIP
private

Definition at line 129 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_vertexTIPVsEta
private

Definition at line 130 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_vertexTIPVsPhi
private

Definition at line 131 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::h_ele_vertexTIPVsPt
private

Definition at line 132 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_vertexX
private

Definition at line 126 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_vertexY
private

Definition at line 127 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_ele_vertexZ
private

Definition at line 128 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_matchingObjectAbsEta
private

Definition at line 63 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_matchingObjectEta
private

Definition at line 62 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_matchingObjectNum
private

Definition at line 60 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_matchingObjectP
private

Definition at line 64 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_matchingObjectPhi
private

Definition at line 66 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_matchingObjectPt
private

Definition at line 65 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::h_matchingObjectZ
private

Definition at line 67 of file GsfElectronFakeAnalyzer.h.

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

TFile* GsfElectronFakeAnalyzer::histfile_
private
TH1F* GsfElectronFakeAnalyzer::histNum_
private

Definition at line 134 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::histSclE1x5_
private

Definition at line 151 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::histSclE1x5_barrel_
private

Definition at line 152 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::histSclE1x5_endcaps_
private

Definition at line 153 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::histSclE2x5max_
private

Definition at line 154 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::histSclE2x5max_barrel_
private

Definition at line 155 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::histSclE2x5max_endcaps_
private

Definition at line 156 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::histSclE5x5_
private

Definition at line 157 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::histSclE5x5_barrel_
private

Definition at line 158 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::histSclE5x5_endcaps_
private

Definition at line 159 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::histSclEn_
private

Definition at line 136 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::histSclEoEmatchingObject_barrel
private

Definition at line 137 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::histSclEoEmatchingObject_endcaps
private

Definition at line 138 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::histSclEoEmatchingObjectGolden_barrel
private

Definition at line 345 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and endJob().

TH1F* GsfElectronFakeAnalyzer::histSclEoEmatchingObjectGolden_endcaps
private

Definition at line 346 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and endJob().

TH1F* GsfElectronFakeAnalyzer::histSclEoEmatchingObjectShowering_barrel
private

Definition at line 347 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and endJob().

TH1F* GsfElectronFakeAnalyzer::histSclEoEmatchingObjectShowering_endcaps
private

Definition at line 348 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and endJob().

TH1F* GsfElectronFakeAnalyzer::histSclEt_
private

Definition at line 139 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::histSclEta_
private

Definition at line 143 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::histSclEtaVsPhi_
private

Definition at line 142 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::histSclEtVsEta_
private

Definition at line 140 of file GsfElectronFakeAnalyzer.h.

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

TH2F* GsfElectronFakeAnalyzer::histSclEtVsPhi_
private

Definition at line 141 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::histSclPhi_
private

Definition at line 144 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::histSclSigEtaEta_
private

Definition at line 145 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::histSclSigEtaEta_barrel_
private

Definition at line 146 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::histSclSigEtaEta_endcaps_
private

Definition at line 147 of file GsfElectronFakeAnalyzer.h.

TH1F* GsfElectronFakeAnalyzer::histSclSigIEtaIEta_
private

Definition at line 148 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::histSclSigIEtaIEta_barrel_
private

Definition at line 149 of file GsfElectronFakeAnalyzer.h.

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

TH1F* GsfElectronFakeAnalyzer::histSclSigIEtaIEta_endcaps_
private

Definition at line 150 of file GsfElectronFakeAnalyzer.h.

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

double GsfElectronFakeAnalyzer::hoemax
private

Definition at line 395 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

double GsfElectronFakeAnalyzer::hoemin
private

Definition at line 394 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

double GsfElectronFakeAnalyzer::lhitsmax
private

Definition at line 391 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

edm::InputTag GsfElectronFakeAnalyzer::matchingObjectCollection_
private

Definition at line 364 of file GsfElectronFakeAnalyzer.h.

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

double GsfElectronFakeAnalyzer::maxAbsEta_
private

Definition at line 370 of file GsfElectronFakeAnalyzer.h.

Referenced by analyze(), and GsfElectronFakeAnalyzer().

double GsfElectronFakeAnalyzer::maxPt_
private

Definition at line 369 of file GsfElectronFakeAnalyzer.h.

Referenced by analyze(), and GsfElectronFakeAnalyzer().

float GsfElectronFakeAnalyzer::mcEnergy[10]
private

Definition at line 56 of file GsfElectronFakeAnalyzer.h.

float GsfElectronFakeAnalyzer::mcEta[10]
private

Definition at line 56 of file GsfElectronFakeAnalyzer.h.

float GsfElectronFakeAnalyzer::mcPhi[10]
private

Definition at line 56 of file GsfElectronFakeAnalyzer.h.

float GsfElectronFakeAnalyzer::mcPt[10]
private

Definition at line 56 of file GsfElectronFakeAnalyzer.h.

float GsfElectronFakeAnalyzer::mcQ[10]
private

Definition at line 56 of file GsfElectronFakeAnalyzer.h.

double GsfElectronFakeAnalyzer::meemax
private

Definition at line 393 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

double GsfElectronFakeAnalyzer::meemin
private

Definition at line 392 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

int GsfElectronFakeAnalyzer::nbindeta
private

Definition at line 410 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

int GsfElectronFakeAnalyzer::nbindetamatch
private

Definition at line 412 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

int GsfElectronFakeAnalyzer::nbindetamatch2D
private

Definition at line 414 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

int GsfElectronFakeAnalyzer::nbindphi
private

Definition at line 411 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

int GsfElectronFakeAnalyzer::nbindphimatch
private

Definition at line 413 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

int GsfElectronFakeAnalyzer::nbindphimatch2D
private

Definition at line 415 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

int GsfElectronFakeAnalyzer::nbineop
private

Definition at line 405 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

int GsfElectronFakeAnalyzer::nbineop2D
private

Definition at line 406 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

int GsfElectronFakeAnalyzer::nbineta
private

Definition at line 396 of file GsfElectronFakeAnalyzer.h.

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

int GsfElectronFakeAnalyzer::nbineta2D
private

Definition at line 403 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

int GsfElectronFakeAnalyzer::nbinfhits
private

Definition at line 407 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

int GsfElectronFakeAnalyzer::nbinhoe
private

Definition at line 417 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

int GsfElectronFakeAnalyzer::nbinlhits
private

Definition at line 408 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

int GsfElectronFakeAnalyzer::nbinmee
private

Definition at line 416 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

int GsfElectronFakeAnalyzer::nbinp
private

Definition at line 397 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

int GsfElectronFakeAnalyzer::nbinp2D
private

Definition at line 401 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

int GsfElectronFakeAnalyzer::nbinphi
private

Definition at line 400 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

int GsfElectronFakeAnalyzer::nbinphi2D
private

Definition at line 404 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

int GsfElectronFakeAnalyzer::nbinpt
private

Definition at line 398 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

int GsfElectronFakeAnalyzer::nbinpt2D
private

Definition at line 402 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

int GsfElectronFakeAnalyzer::nbinpteff
private

Definition at line 399 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

int GsfElectronFakeAnalyzer::nbinxyz
private

Definition at line 409 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

std::string GsfElectronFakeAnalyzer::outputFile_
private

Definition at line 362 of file GsfElectronFakeAnalyzer.h.

Referenced by GsfElectronFakeAnalyzer().

edm::ESHandle<TrackerGeometry> GsfElectronFakeAnalyzer::pDD
private

Definition at line 52 of file GsfElectronFakeAnalyzer.h.

double GsfElectronFakeAnalyzer::phimax
private

Definition at line 377 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

double GsfElectronFakeAnalyzer::phimin
private

Definition at line 376 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

double GsfElectronFakeAnalyzer::pmax
private

Definition at line 379 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

double GsfElectronFakeAnalyzer::ptmax
private

Definition at line 378 of file GsfElectronFakeAnalyzer.h.

Referenced by beginJob(), and GsfElectronFakeAnalyzer().

bool GsfElectronFakeAnalyzer::readAOD_
private

Definition at line 367 of file GsfElectronFakeAnalyzer.h.

Referenced by analyze(), and GsfElectronFakeAnalyzer().

float GsfElectronFakeAnalyzer::seedEta[10]
private

Definition at line 58 of file GsfElectronFakeAnalyzer.h.

float GsfElectronFakeAnalyzer::seedMomentum[10]
private

Definition at line 58 of file GsfElectronFakeAnalyzer.h.

float GsfElectronFakeAnalyzer::seedPhi[10]
private

Definition at line 58 of file GsfElectronFakeAnalyzer.h.

float GsfElectronFakeAnalyzer::seedPt[10]
private

Definition at line 58 of file GsfElectronFakeAnalyzer.h.

float GsfElectronFakeAnalyzer::seedQ[10]
private

Definition at line 58 of file GsfElectronFakeAnalyzer.h.

float GsfElectronFakeAnalyzer::superclusterEnergy[10]
private

Definition at line 57 of file GsfElectronFakeAnalyzer.h.

float GsfElectronFakeAnalyzer::superclusterEt[10]
private

Definition at line 57 of file GsfElectronFakeAnalyzer.h.

float GsfElectronFakeAnalyzer::superclusterEta[10]
private

Definition at line 57 of file GsfElectronFakeAnalyzer.h.

float GsfElectronFakeAnalyzer::superclusterPhi[10]
private

Definition at line 57 of file GsfElectronFakeAnalyzer.h.

edm::ESHandle<MagneticField> GsfElectronFakeAnalyzer::theMagField
private

Definition at line 53 of file GsfElectronFakeAnalyzer.h.

TrajectoryStateTransform GsfElectronFakeAnalyzer::transformer_
private

Definition at line 51 of file GsfElectronFakeAnalyzer.h.

TTree* GsfElectronFakeAnalyzer::tree_
private

Definition at line 55 of file GsfElectronFakeAnalyzer.h.

std::string GsfElectronFakeAnalyzer::type_
private