6 const std::vector<edm::ParameterSet>&
ranges =
c.getParameterSetVector(
"allowedEtaRanges");
8 const double minEta =
range.getParameter<
double>(
"minEta");
9 const double maxEta =
range.getParameter<
double>(
"maxEta");
10 const double minPt =
range.getParameter<
double>(
"minPt");
22 std::vector<std::pair<double, double> >
_ranges;
31 for (
unsigned i = 0;
i <
_ranges.size(); ++
i) {
33 if (the_eta >=
range.first && the_eta < range.second && cand->
pt() >
_minPt[
i]) {
MinPtCutInEtaRanges(const edm::ParameterSet &c)
std::vector< double > _minPt
std::vector< std::pair< double, double > > _ranges
Abs< T >::type abs(const T &t)
reco::CandidatePtr argument_type
result_type asCandidate(const argument_type &) const final
#define DEFINE_EDM_PLUGIN(factory, type, name)
double value(const reco::CandidatePtr &cand) const final