CMS 3D CMS Logo

GsfEleEBEECut.cc
Go to the documentation of this file.
5 
7 public:
9  : CutApplicatorBase(c), cutFormula_(c.getParameter<std::string>("cutString")), cutValue_(c, "cutValue") {}
10 
12 
13  double value(const reco::CandidatePtr& cand) const final {
15  return cutFormula_(*ele);
16  }
17 
19 
20 private:
23 };
24 
result_type operator()(const reco::GsfElectronPtr &cand) const final
GsfEleEBEECut(const edm::ParameterSet &c)
Definition: GsfEleEBEECut.cc:8
const EBEECutValuesT< double > cutValue_
CandidateType candidateType() const final
#define DEFINE_EDM_PLUGIN(factory, type, name)
StringObjectFunction< reco::GsfElectron > cutFormula_
double value(const reco::CandidatePtr &cand) const final