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
double pt() const final
transverse momentum
float eSuperClusterOverP() const
vector< double > EInvMinusPInv
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::Handle< double > _rhoHandle
#define DEFINE_FWK_MODULE(type)
std::vector< double > absEtaMax_
#define EVENTSETUP_STD_INIT(SELECTOR)
vector< double > dEtaInSeedCut
std::vector< double > effectiveAreaValues_
bool operator()(const reco::GsfElectron &) const
float full5x5_sigmaIetaIeta() const
GsfTrackRef gsfTrack() const override
reference to a GsfTrack
float hadronicOverEm() const
edm::EDGetTokenT< double > theRhoToken
float sumPhotonEt
sum pt of PF photons // old float photonIso ;
float deltaPhiSuperClusterTrackAtVtx() const
printf("params %d %f %f %f\n", minT, eps, errmax, chi2max)
Abs< T >::type abs(const T &t)
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 &)
T getParameter(std::string const &) const
void printEffectiveAreas() const
edm::ParameterSet eleIDWP
static int position[264][3]
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
SuperClusterRef superCluster() const override
reference to a SuperCluster
vector< double > hOverECut
ZElectronsSelector(const edm::ParameterSet &, edm::ConsumesCollector &iC)
vector< double > sigmaIEtaIEtaCut