32 "GsfEleDeltaBetaIsoCut");
36 _isoCutEBLowPt(c.getParameter<double>(
"isoCutEBLowPt")),
37 _isoCutEBHighPt(c.getParameter<double>(
"isoCutEBHighPt")),
38 _isoCutEELowPt(c.getParameter<double>(
"isoCutEELowPt")),
39 _isoCutEEHighPt(c.getParameter<double>(
"isoCutEEHighPt")),
40 _deltaBetaConstant(c.getParameter<double>(
"deltaBetaConstant")),
41 _ptCutOff(c.getParameter<double>(
"ptCutOff")),
42 _barrelCutOff(c.getParameter<double>(
"barrelCutOff")),
43 _relativeIso(c.getParameter<bool>(
"isRelativeIso")) {
76 CutApplicatorBase::result_type
86 cand->pfIsolationVariables();
91 float puchad_val = 0.0;
97 chad_val = (*_chad_iso)[cand];
98 nhad_val = (*_nhad_iso)[cand];
99 pho_val = (*_ph_iso)[cand];
100 puchad_val = (*_PUchad_iso)[cand];
114 chad_val = (*_chad_iso)[cand];
115 nhad_val = (*_nhad_iso)[cand];
116 pho_val = (*_ph_iso)[cand];
117 puchad_val = (*_PUchad_iso)[cand];
132 ele->pfIsolationVariables();
133 float chad_val = 0.0;
134 float nhad_val = 0.0;
136 float puchad_val = 0.0;
142 chad_val = (*_chad_iso)[cand];
143 nhad_val = (*_nhad_iso)[cand];
144 pho_val = (*_ph_iso)[cand];
145 puchad_val = (*_PUchad_iso)[cand];
159 chad_val = (*_chad_iso)[cand];
160 nhad_val = (*_nhad_iso)[cand];
161 pho_val = (*_ph_iso)[cand];
162 puchad_val = (*_PUchad_iso)[cand];
edm::Handle< edm::ValueMap< float > > _nhad_iso
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
void getEventContent(const edm::EventBase &) overridefinal
void setConsumes(edm::ConsumesCollector &) overridefinal
edm::Handle< edm::ValueMap< float > > _chad_iso
edm::Handle< edm::ValueMap< float > > _ph_iso
result_type operator()(const reco::GsfElectronPtr &) const overridefinal
std::unordered_map< std::string, edm::EDGetToken > contentTokens_
float sumPUPt
sum pt of charged Particles not from PV (for Pu corrections)
const float _isoCutEBHighPt
const float _deltaBetaConstant
double value(const reco::CandidatePtr &cand) const overridefinal
const float _isoCutEBLowPt
CandidateType candidateType() const overridefinal
std::unordered_map< std::string, edm::InputTag > contentTags_
bool contains(ProductID id) const
const float _isoCutEELowPt
float sumPhotonEt
sum pt of PF photons // old float photonIso ;
Abs< T >::type abs(const T &t)
const float _isoCutEEHighPt
float sumNeutralHadronEt
sum pt of neutral hadrons // old float neutralHadronIso ;
const float _barrelCutOff
edm::Handle< edm::ValueMap< float > > _PUchad_iso
const_iterator begin() const
ProductID id() const
Accessor for product ID.
bool getByLabel(InputTag const &, Handle< T > &) const
#define DEFINE_EDM_PLUGIN(factory, type, name)
GsfEleDeltaBetaIsoCut(const edm::ParameterSet &c)
float sumChargedHadronPt
sum-pt of charged Hadron // old float chargedHadronIso ;