40 "GsfEleEffAreaPFIsoCut");
44 _isoCutEBLowPt(c.getParameter<double>(
"isoCutEBLowPt")),
45 _isoCutEBHighPt(c.getParameter<double>(
"isoCutEBHighPt")),
46 _isoCutEELowPt(c.getParameter<double>(
"isoCutEELowPt")),
47 _isoCutEEHighPt(c.getParameter<double>(
"isoCutEEHighPt")),
48 _ptCutOff(c.getParameter<double>(
"ptCutOff")),
49 _barrelCutOff(c.getParameter<double>(
"barrelCutOff")),
50 _isRelativeIso(c.getParameter<bool>(
"isRelativeIso")),
70 CutApplicatorBase::result_type
75 double absEta =
std::abs(cand->superCluster()->eta());
84 cand->pfIsolationVariables();
90 const float iso = chad +
std::max(0.0
f, nhad + pho - rho*eA);
100 double absEta =
std::abs(ele->superCluster()->eta());
104 ele->pfIsolationVariables();
105 const float chad = pfIso.sumChargedHadronPt;
106 const float nhad = pfIso.sumNeutralHadronEt;
107 const float pho = pfIso.sumPhotonEt;
110 float iso = chad +
std::max(0.0
f, nhad + pho - rho*eA);
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
const float _isoCutEBHighPt
std::unordered_map< std::string, edm::EDGetToken > contentTokens_
const float getEffectiveArea(float eta) const
std::unordered_map< std::string, edm::InputTag > contentTags_
void getEventContent(const edm::EventBase &) overridefinal
float sumPhotonEt
sum pt of PF photons // old float photonIso ;
Abs< T >::type abs(const T &t)
result_type operator()(const reco::GsfElectronPtr &) const overridefinal
float sumNeutralHadronEt
sum pt of neutral hadrons // old float neutralHadronIso ;
CandidateType candidateType() const overridefinal
const float _isoCutEEHighPt
void setConsumes(edm::ConsumesCollector &) overridefinal
EffectiveAreas _effectiveAreas
const float _isoCutEBLowPt
double value(const reco::CandidatePtr &cand) const overridefinal
bool getByLabel(InputTag const &, Handle< T > &) const
const float _isoCutEELowPt
#define DEFINE_EDM_PLUGIN(factory, type, name)
GsfEleEffAreaPFIsoCut(const edm::ParameterSet &c)
const float _barrelCutOff
edm::Handle< double > _rhoHandle
float sumChargedHadronPt
sum-pt of charged Hadron // old float chargedHadronIso ;