8 for (
const auto&
range : ranges) {
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) {
VParameterSet const & getParameterSetVector(std::string const &name) const
const edm::EventSetup & c
PhoSCEtaMultiRangeCut(const edm::ParameterSet &c)
result_type operator()(const reco::PhotonPtr &) const final
double value(const reco::CandidatePtr &cand) const final
const uint16_t range(const Frame &aFrame)
Abs< T >::type abs(const T &t)
std::vector< std::pair< double, double > > _ranges
edm::Ptr< Candidate > CandidatePtr
persistent reference to an object in a collection of Candidate objects
#define DEFINE_EDM_PLUGIN(factory, type, name)
CandidateType candidateType() const final