28 barrelC0_(c.getParameter<double>(
"barrelC0")),
29 endcapC0_(c.getParameter<double>(
"endcapC0")),
30 barrelCpt_(c.getParameter<double>(
"barrelCpt")),
31 endcapCpt_(c.getParameter<double>(
"endcapCpt")),
53 const float isoCut = C0 + Cpt / cand->
pt();
66 const float nhad = pfIso.sumNeutralHadronEt;
67 const float pho = pfIso.sumPhotonEt;
70 const float iso = chad +
std::max(0.0
f, nhad + pho - rho * eA);
71 return iso / cand->pt();
const PflowIsolationVariables & pfIsolationVariables() const
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
const float barrelCutOff_
std::unordered_map< std::string, edm::InputTag > contentTags_
EffectiveAreas effectiveAreas_
double pt() const final
transverse momentum
const float getEffectiveArea(float eta) const
GsfEleRelPFIsoScaledCut(const edm::ParameterSet &c)
result_type operator()(const reco::GsfElectronPtr &) const final
Abs< T >::type abs(const T &t)
edm::Handle< double > rhoHandle_
std::unordered_map< std::string, edm::EDGetToken > contentTokens_
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 ;