9 for (
const auto&
range : ranges) {
10 const double min =
range.getParameter<
double>(
"minEta");
11 const double max =
range.getParameter<
double>(
"maxEta");
24 std::vector<std::pair<double, double> >
_ranges;
31 const double the_eta = (
_absEta ?
std::abs(scref->eta()) : scref->eta());
34 if (the_eta >=
range.first && the_eta <
range.second) {
VParameterSet const & getParameterSetVector(std::string const &name) const
std::vector< std::pair< double, double > > _ranges
GsfEleSCEtaMultiRangeCut(const edm::ParameterSet &c)
CandidateType candidateType() const final
Abs< T >::type abs(const T &t)
double value(const reco::CandidatePtr &cand) const final
result_type operator()(const reco::GsfElectronPtr &) const final
SuperClusterRef superCluster() const override
reference to a SuperCluster
#define DEFINE_EDM_PLUGIN(factory, type, name)