30 "GsfEleDeltaBetaIsoCut");
34 _isoCutEBLowPt(c.getParameter<double>(
"isoCutEBLowPt")),
35 _isoCutEBHighPt(c.getParameter<double>(
"isoCutEBHighPt")),
36 _isoCutEELowPt(c.getParameter<double>(
"isoCutEELowPt")),
37 _isoCutEEHighPt(c.getParameter<double>(
"isoCutEEHighPt")),
38 _deltaBetaConstant(c.getParameter<double>(
"deltaBetaConstant")),
39 _ptCutOff(c.getParameter<double>(
"ptCutOff")),
40 _barrelCutOff(c.getParameter<double>(
"barrelCutOff")),
41 _relativeIso(c.getParameter<bool>(
"isRelativeIso")) {
74 CutApplicatorBase::result_type
83 const float chad = (*_chad_iso)[cand];
84 const float nhad = (*_nhad_iso)[cand];
85 const float pho = (*_ph_iso)[cand];
86 const float puchad = (*_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_
const float _isoCutEBHighPt
const float _deltaBetaConstant
const float _isoCutEBLowPt
CandidateType candidateType() const overridefinal
std::unordered_map< std::string, edm::InputTag > contentTags_
const float _isoCutEELowPt
Abs< T >::type abs(const T &t)
const float _isoCutEEHighPt
const float _barrelCutOff
edm::Handle< edm::ValueMap< float > > _PUchad_iso
bool getByLabel(InputTag const &, Handle< T > &) const
#define DEFINE_EDM_PLUGIN(factory, type, name)
GsfEleDeltaBetaIsoCut(const edm::ParameterSet &c)