PandaRoot
PndLVQClassify.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 /* ***************************************
14  * LVQ Classifier *
15  * Author: M.Babai@rug.nl *
16  * Edited: E.A.Dijck@student.rug.nl *
17  * LICENSE: *
18  * Version: *
19  * License: *
20  * ***************************************
21  */
22 //#pragma once
23 #ifndef PND_LVQ_CLASSIFY_H
24 #define PND_LVQ_CLASSIFY_H
25 
26 // Standard C++ libraries
27 #include <limits>
28 
29 // Local includes
30 #include "PndMvaClassifier.h"
31 
34  public:
41  explicit PndLVQClassify(std::string const &inputFile, std::vector<std::string> const &classNames, std::vector<std::string> const &varNames);
45  virtual ~PndLVQClassify();
46 
53  void GetMvaValues(std::vector<float> eventData, std::map<std::string, float> &result);
59  std::string *Classify(std::vector<float> EvtData);
60 
61  private:
63  PndLVQClassify(PndLVQClassify const &other);
64  PndLVQClassify &operator=(PndLVQClassify const &other);
65 };
66 // end of interface definition
67 #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)