32 "PhoFull5x5SigmaIEtaIEtaValueMapCut");
36 _cutValueEB(c.getParameter<double>(
"cutValueEB")),
37 _cutValueEE(c.getParameter<double>(
"cutValueEE")),
38 _barrelCutOff(c.getParameter<double>(
"barrelCutOff")) {
45 auto full5x5SigmaIEtaIEta =
54 CutApplicatorBase::result_type
59 const float cutValue =
62 float sihihval = -1.0;
64 sihihval = (*_full5x5SigmaIEtaIEtaMap)[cand];
71 sihihval = (*_full5x5SigmaIEtaIEtaMap)[cand];
78 return full5x5SigmaIEtaIEta < cutValue;
84 float sihihval = -1.0;
86 sihihval = (*_full5x5SigmaIEtaIEtaMap)[cand];
93 sihihval = (*_full5x5SigmaIEtaIEtaMap)[cand];
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
std::unordered_map< std::string, edm::EDGetToken > contentTokens_
double value(const reco::CandidatePtr &cand) const overridefinal
result_type operator()(const reco::PhotonPtr &) const overridefinal
void getEventContent(const edm::EventBase &) overridefinal
std::unordered_map< std::string, edm::InputTag > contentTags_
static char full5x5SigmaIEtaIEta_[]
const float _barrelCutOff
bool contains(ProductID id) const
PhoFull5x5SigmaIEtaIEtaValueMapCut(const edm::ParameterSet &c)
Abs< T >::type abs(const T &t)
CandidateType candidateType() const overridefinal
const_iterator begin() const
ProductID id() const
Accessor for product ID.
edm::Handle< edm::ValueMap< float > > _full5x5SigmaIEtaIEtaMap
bool getByLabel(InputTag const &, Handle< T > &) const
#define DEFINE_EDM_PLUGIN(factory, type, name)
void setConsumes(edm::ConsumesCollector &) overridefinal