7 const std::vector<edm::ParameterSet>&
ranges =
c.getParameterSetVector(
"allowedEtaRanges");
9 const double min =
range.getParameter<
double>(
"minEta");
10 const double max =
range.getParameter<
double>(
"maxEta");
23 std::vector<std::pair<double, double> >
_ranges;
30 const double the_eta = (
_absEta ?
std::abs(scref->eta()) : scref->eta());
33 if (the_eta >=
range.first && the_eta <
range.second) {
PhoSCEtaMultiRangeCut(const edm::ParameterSet &c)
result_type operator()(const reco::PhotonPtr &) const final
double value(const reco::CandidatePtr &cand) const final
Abs< T >::type abs(const T &t)
std::vector< std::pair< double, double > > _ranges
#define DEFINE_EDM_PLUGIN(factory, type, name)
CandidateType candidateType() const final