26 const std::string candTypePreamble(
"CandidateType candidateType() const override final { return ");
30 const std::string candTypeExpr = candTypePreamble + candType + close_function;
39 const std::string total_expr = (candTypeExpr + newline + oprExpr + newline + valExpr);
const edm::EventSetup & c
double value(const reco::CandidatePtr &cand) const final
result_type asCandidate(const argument_type &cand) const final
~ExpressionEvaluatorCut() override
T getParameter(std::string const &) const
const std::string realname_
const std::string & name() const final
ExpressionEvaluatorCut(const edm::ParameterSet &c)
#define DEFINE_EDM_PLUGIN(factory, type, name)
virtual double value(const reco::CandidatePtr &) const =0