PandaRoot
PndLVQClassify.h
Go to the documentation of this file.
1 /* ***************************************
2  * LVQ Classifier *
3  * Author: M.Babai@rug.nl *
4  * Edited: E.A.Dijck@student.rug.nl *
5  * LICENSE: *
6  * Version: *
7  * License: *
8  * ***************************************
9  */
10 //#pragma once
11 #ifndef PND_LVQ_CLASSIFY_H
12 #define PND_LVQ_CLASSIFY_H
13 
14 // Standard C++ libraries
15 #include <limits>
16 
17 // Local includes
18 #include "PndMvaClassifier.h"
19 
22  public:
29  explicit PndLVQClassify(std::string const &inputFile, std::vector<std::string> const &classNames, std::vector<std::string> const &varNames);
33  virtual ~PndLVQClassify();
34 
41  void GetMvaValues(std::vector<float> eventData, std::map<std::string, float> &result);
47  std::string *Classify(std::vector<float> EvtData);
48 
49  private:
51  PndLVQClassify(PndLVQClassify const &other);
52  PndLVQClassify &operator=(PndLVQClassify const &other);
53 };
54 // end of interface definition
55 #endif
void GetMvaValues(std::vector< float > eventData, std::map< std::string, float > &result)
PndLVQClassify(std::string const &inputFile, std::vector< std::string > const &classNames, std::vector< std::string > const &varNames)
virtual ~PndLVQClassify()
Interface definition of the LVQ classifier.
std::string * Classify(std::vector< float > EvtData)