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 
GsfEleEBEECut(const edm::ParameterSet &c)
Definition: GsfEleEBEECut.cc:8
const EBEECutValuesT< double > cutValue_
double value(const reco::CandidatePtr &cand) const final
#define DEFINE_EDM_PLUGIN(factory, type, name)
CandidateType candidateType() const final
StringObjectFunction< reco::GsfElectron > cutFormula_
result_type operator()(const reco::GsfElectronPtr &cand) const final