39 _isoCutEBLowPt(
c.getParameter<double>(
"isoCutEBLowPt")),
40 _isoCutEBHighPt(
c.getParameter<double>(
"isoCutEBHighPt")),
41 _isoCutEELowPt(
c.getParameter<double>(
"isoCutEELowPt")),
42 _isoCutEEHighPt(
c.getParameter<double>(
"isoCutEEHighPt")),
43 _ptCutOff(
c.getParameter<double>(
"ptCutOff")),
44 _barrelCutOff(
c.getParameter<double>(
"barrelCutOff")),
45 _isRelativeIso(
c.getParameter<
bool>(
"isRelativeIso")),
46 _effectiveAreas((
c.getParameter<
edm::FileInPath>(
"effAreasConfigFile")).
fullPath()) {
88 const float nhad = pfIso.sumNeutralHadronEt;
89 const float pho = pfIso.sumPhotonEt;
void getEventContent(const edm::EventBase &) final
std::unordered_map< std::string, edm::InputTag > contentTags_
double pt() const final
transverse momentum
uint32_t cc[maxCellsPerHit]
const float _isoCutEBHighPt
const PflowIsolationVariables & pfIsolationVariables() const
float sumPhotonEt
sum pt of PF photons // old float photonIso ;
Abs< T >::type abs(const T &t)
static constexpr char rhoString_[]
float sumNeutralHadronEt
sum pt of neutral hadrons // old float neutralHadronIso ;
void setConsumes(edm::ConsumesCollector &) final
const float getEffectiveArea(float eta) const
const float _isoCutEEHighPt
EffectiveAreas _effectiveAreas
double value(const reco::CandidatePtr &cand) const final
std::unordered_map< std::string, edm::EDGetToken > contentTokens_
const float _isoCutEBLowPt
result_type operator()(const reco::GsfElectronPtr &) const final
const float _isoCutEELowPt
#define DEFINE_EDM_PLUGIN(factory, type, name)
GsfEleEffAreaPFIsoCut(const edm::ParameterSet &c)
edm::Handle< double > _rhoHandle
const float _barrelCutOff
CandidateType candidateType() const final
float sumChargedHadronPt
sum-pt of charged Hadron // old float chargedHadronIso ;
SuperClusterRef superCluster() const override
reference to a SuperCluster