11 result_type
asCandidate(
const argument_type& cand)
const override final {
29 realname_(c.getParameter<std::
string>(
"realCutName"))
33 const std::string candTypePreamble(
"CandidateType candidateType() const override final { return ");
37 const std::string candTypeExpr = candTypePreamble + candType + close_function;
46 const std::string total_expr = ( candTypeExpr + newline +
57 "ExpressionEvaluatorCut");
T getParameter(std::string const &) const
const std::string & name() const overridefinal
virtual ~ExpressionEvaluatorCut()
result_type asCandidate(const argument_type &cand) const overridefinal
const std::string realname_
ExpressionEvaluatorCut(const edm::ParameterSet &c)
#define DEFINE_EDM_PLUGIN(factory, type, name)
double value(const reco::CandidatePtr &cand) const overridefinal
virtual double value(const reco::CandidatePtr &) const =0