50 const float getEffectiveArea(
float eta)
const;
51 void printEffectiveAreas()
const;
73 printf(
" eta_min eta_max effective area\n");
76 printf(
" %8.4f %8.4f %8.5f\n", absEtaMin_[iEta], absEtaMax_[iEta], effectiveAreaValues_[iEta]);
84 effArea = effectiveAreaValues_[iEta];
93 : theRhoToken(iC.consumes<double>(cfg.getParameter<
edm::
InputTag>(
"rho"))) {
100 missHits = eleIDWP.getParameter<std::vector<int> >(
"missingHitsCut");
101 sigmaIEtaIEtaCut = eleIDWP.getParameter<std::vector<double> >(
"full5x5_sigmaIEtaIEtaCut");
102 dEtaInSeedCut = eleIDWP.getParameter<std::vector<double> >(
"dEtaInSeedCut");
103 dPhiInCut = eleIDWP.getParameter<std::vector<double> >(
"dPhiInCut");
104 hOverECut = eleIDWP.getParameter<std::vector<double> >(
"hOverECut");
105 relCombIso = eleIDWP.getParameter<std::vector<double> >(
"relCombIsolationWithEACut");
106 EInvMinusPInv = eleIDWP.getParameter<std::vector<double> >(
"EInverseMinusPInverseCut");
114 float pt_e = el.
pt();
115 unsigned int ind = 0;
148 const float ecal_energy_inverse = 1.0 / el.
ecalEnergy();
const PflowIsolationVariables & pfIsolationVariables() const
T getParameter(std::string const &) const
GsfTrackRef gsfTrack() const override
reference to a GsfTrack
float eSuperClusterOverP() const
vector< double > EInvMinusPInv
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::Handle< double > _rhoHandle
std::vector< double > absEtaMax_
vector< double > dEtaInSeedCut
std::vector< double > effectiveAreaValues_
double pt() const final
transverse momentum
bool operator()(const reco::GsfElectron &) const
float full5x5_sigmaIetaIeta() const
#define DEFINE_FWK_MODULE(type)
float hadronicOverEm() const
edm::EDGetTokenT< double > theRhoToken
float sumPhotonEt
sum pt of PF photons // old float photonIso ;
float deltaPhiSuperClusterTrackAtVtx() const
Abs< T >::type abs(const T &t)
#define EVENTSETUP_STD_INIT(SELECTOR)
float sumNeutralHadronEt
sum pt of neutral hadrons // old float neutralHadronIso ;
T const * get() const
Returns C++ pointer to the item.
float deltaEtaSeedClusterTrackAtVtx() const
vector< double > relCombIso
SingleObjectSelector< edm::View< reco::GsfElectron >, ZElectronsSelector > ZElectronsSelectorAndSkim
T const * product() const
void newEvent(const edm::Event &, const edm::EventSetup &)
void printEffectiveAreas() const
edm::ParameterSet eleIDWP
static int position[264][3]
SuperClusterRef superCluster() const override
reference to a SuperCluster
vector< double > dPhiInCut
float sumChargedHadronPt
sum-pt of charged Hadron // old float chargedHadronIso ;
std::vector< double > absEtaMin_
edm::EDGetTokenT< reco::GsfElectronCollection > theGsfEToken
const float getEffectiveArea(float eta) const
vector< double > hOverECut
ZElectronsSelector(const edm::ParameterSet &, edm::ConsumesCollector &iC)
vector< double > sigmaIEtaIEtaCut