28 const float energy =
cand->superCluster()->energy();
32 return cand->hadronicOverEm() *
energy < cutValue;
double value(const reco::CandidatePtr &cand) const final
GsfEleHadronicOverEMLinearCut(const edm::ParameterSet ¶ms)
result_type operator()(const reco::GsfElectronPtr &) const final
CandidateType candidateType() const final
EBEECutValues slopeStart_
#define DEFINE_EDM_PLUGIN(factory, type, name)
float hadronicOverEm() const
SuperClusterRef superCluster() const override
reference to a SuperCluster