/* *************************************** * PDEFoam Classifier * * Author: M.Babai@rug.nl * * LICENSE: * * Version: 0.1 beta1. * * License: * * *************************************** */ #pragma once #ifndef PND_PDE_FOAMCLASSIFY_H #define PND_PDE_FOAMCLASSIFY_H // Local includes #include "PndGpidClassifier.h" //ROOT AND PANDA #include "TMVA/PDEFoam.h" #include "TMVA/Event.h" class PndPDEFoamClassify//: public PndGpidClassifier { public: PndPDEFoamClassify(const std::string& inputFile, const std::vector& classNames, const std::vector& varNames); virtual ~PndPDEFoamClassify(); void GetMvaValues(std::vector eventData, std::map& result); const std::string& Classify(std::vector EvtData)const; protected: void ReadInputFile(); private: //Functions PndPDEFoamClassify(const PndPDEFoamClassify& other); PndPDEFoamClassify& operator=(const PndPDEFoamClassify& other); // Variables. // Comment: /* * Mabe wee need to inherit from classifiers in order to avoid * double implementation. For the time being, lets use this. */ std::string m_inputFile; std::vector m_foams; std::vector m_vars; std::vector m_classes; }; #endif// end of interface definition