7 for (
const auto&
range : ranges) {
8 const double min =
range.getParameter<
double>(
"minEta");
9 const double max =
range.getParameter<
double>(
"maxEta");
26 const double the_eta = (_absEta ?
std::abs(cand->eta()) : cand->eta());
28 for (
const auto&
range : _ranges) {
29 if (the_eta >=
range.first && the_eta <
range.second) {
VParameterSet const & getParameterSetVector(std::string const &name) const
const edm::EventSetup & c
const uint16_t range(const Frame &aFrame)
Abs< T >::type abs(const T &t)
EtaMultiRangeCut(const edm::ParameterSet &c)
std::vector< std::pair< double, double > > _ranges
reco::CandidatePtr argument_type
double value(const reco::CandidatePtr &cand) const final
#define DEFINE_EDM_PLUGIN(factory, type, name)
result_type asCandidate(const argument_type &) const final