31 barrelC0_(c.getParameter<double>(
"barrelC0")),
32 endcapC0_(c.getParameter<double>(
"endcapC0")),
33 barrelCpt_(c.getParameter<double>(
"barrelCpt")),
34 endcapCpt_(c.getParameter<double>(
"endcapCpt")),
57 const float isoCut = C0+Cpt/cand->
pt();
59 return value(cand) < isoCut;
71 const float nhad = pfIso.sumNeutralHadronEt;
72 const float pho = pfIso.sumPhotonEt;
75 const float iso = chad +
std::max(0.0
f, nhad + pho - rho*eA);
76 return iso/cand->pt();
const PflowIsolationVariables & pfIsolationVariables() const
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
const float barrelCutOff_
EffectiveAreas effectiveAreas_
std::unordered_map< std::string, edm::EDGetToken > contentTokens_
double pt() const final
transverse momentum
const float getEffectiveArea(float eta) const
std::unordered_map< std::string, edm::InputTag > contentTags_
GsfEleRelPFIsoScaledCut(const edm::ParameterSet &c)
result_type operator()(const reco::GsfElectronPtr &) const final
Abs< T >::type abs(const T &t)
edm::Handle< double > rhoHandle_
void setConsumes(edm::ConsumesCollector &) final
CandidateType candidateType() const final
double value(const reco::CandidatePtr &cand) const final
bool getByLabel(InputTag const &, Handle< T > &) const
void getEventContent(const edm::EventBase &) final
SuperClusterRef superCluster() const override
reference to a SuperCluster
#define DEFINE_EDM_PLUGIN(factory, type, name)
float sumChargedHadronPt
sum-pt of charged Hadron // old float chargedHadronIso ;