FairRoot/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 {
23  public:
30  explicit PndLVQClassify(std::string const& inputFile,
31  std::vector<std::string> const& classNames,
32  std::vector<std::string> const& varNames);
36  virtual ~PndLVQClassify();
37 
44  void GetMvaValues(std::vector<float> eventData,
45  std::map<std::string, float>& result);
51  std::string* Classify(std::vector<float> EvtData);
52 
53  private:
55  PndLVQClassify(PndLVQClassify const& other);
57 };
58 //end of interface definition
59 #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)
PndLVQClassify & operator=(PndLVQClassify const &other)