1 #ifndef RecoEgamma_EgammaTools_AnyMVAEstimatorRun2Base_H
2 #define RecoEgamma_EgammaTools_AnyMVAEstimatorRun2Base_H
15 :
tag_(conf.getParameter<std::
string>(
"mvaTag")),
17 debug_(conf.getUntrackedParameter<bool>(
"debug",
false)) {}
28 std::vector<float>
const& auxVariables,
29 int& iCategory)
const = 0;
32 return mvaValue(candidate, auxVariables, iCategory);
AnyMVAEstimatorRun2Base(const edm::ParameterSet &conf)
float mvaValue(const reco::Candidate *candidate, std::vector< float > const &auxVariables) const
const std::string & getName() const
const std::string & getTag() const
AnyMVAEstimatorRun2Base(const ::std::string &mvaName, const ::std::string &mvaTag, int nCategories, bool debug)
virtual ~AnyMVAEstimatorRun2Base()
virtual int findCategory(const reco::Candidate *candidate) const =0
edmplugin::PluginFactory< AnyMVAEstimatorRun2Base *(const edm::ParameterSet &)> AnyMVAEstimatorRun2Factory
int getNCategories() const
virtual float mvaValue(const reco::Candidate *candidate, std::vector< float > const &auxVariables, int &iCategory) const =0