#include <PndMvaClassifier.h>
Main interface definition.
Definition at line 29 of file PndMvaClassifier.h.
PndMvaClassifier::PndMvaClassifier |
( |
std::string const & |
InPut, |
|
|
std::vector< std::string > const & |
ClassNames, |
|
|
std::vector< std::string > const & |
VarNames |
|
) |
| |
|
explicit |
Constructor.
- Parameters
-
InPut | Input file name containing weights. Names of available (signal) classes. Names of the used variables(features). |
virtual PndMvaClassifier::~PndMvaClassifier |
( |
| ) |
|
|
virtual |
virtual std::string* PndMvaClassifier::Classify |
( |
std::vector< float > |
EvtData | ) |
|
|
pure virtual |
std::vector< PndMvaClass > const & PndMvaClassifier::GetClasses |
( |
| ) |
const |
|
inline |
Get the list of available classes (labels).
Definition at line 90 of file PndMvaClassifier.h.
References PndMvaDataSet::GetClasses(), and m_dataSets.
PndMvaDataSet m_dataSets
Data set. Holds event Weights.
std::vector< PndMvaClass > const & GetClasses() const
Get the list of available classes (labels).
virtual void PndMvaClassifier::GetMvaValues |
( |
std::vector< float > |
EvtData, |
|
|
std::map< std::string, float > & |
result |
|
) |
| |
|
pure virtual |
std::vector< PndMvaVariable > const & PndMvaClassifier::GetVariables |
( |
| ) |
const |
|
inline |
Get the list of available variables.
Definition at line 96 of file PndMvaClassifier.h.
References PndMvaDataSet::GetVars(), and m_dataSets.
PndMvaDataSet m_dataSets
Data set. Holds event Weights.
std::vector< PndMvaVariable > const & GetVars() const
Get the list of available variables.
virtual void PndMvaClassifier::Initialize |
( |
| ) |
|
|
virtual |
virtual void PndMvaClassifier::NormalizeEvent |
( |
std::vector< float > & |
EvtVector | ) |
const |
|
protectedvirtual |
Normalize the given event vector.
void PndMvaClassifier::SetAppType |
( |
AppType |
t | ) |
|
|
inlineprotected |
The documentation for this class was generated from the following file: