8 barrelC0_(c.getParameter<double>(
"barrelC0")),
9 barrelCE_(c.getParameter<double>(
"barrelCE")),
10 barrelCr_(c.getParameter<double>(
"barrelCr")),
11 endcapC0_(c.getParameter<double>(
"endcapC0")),
12 endcapCE_(c.getParameter<double>(
"endcapCE")),
13 endcapCr_(c.getParameter<double>(
"endcapCr")),
46 const float energy = cand->superCluster()->energy();
50 return cand->hadronicOverEm() < c0 + cE / energy + cR * rho /
energy;
55 return ele->hadronicOverEm();
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
const edm::EventSetup & c
result_type operator()(const reco::GsfElectronPtr &) const final
std::unordered_map< std::string, edm::InputTag > contentTags_
double value(const reco::CandidatePtr &cand) const final
const float barrelCutOff_
GsfEleHadronicOverEMEnergyScaledCut(const edm::ParameterSet &c)
Abs< T >::type abs(const T &t)
edm::Ptr< Candidate > CandidatePtr
persistent reference to an object in a collection of Candidate objects
CandidateType candidateType() const final
std::unordered_map< std::string, edm::EDGetToken > contentTokens_
void setConsumes(edm::ConsumesCollector &) final
T getParameter(std::string const &) const
bool getByLabel(InputTag const &, Handle< T > &) const
edm::Handle< double > rhoHandle_
#define DEFINE_EDM_PLUGIN(factory, type, name)
void getEventContent(const edm::EventBase &) final