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