* *
* File and Version Information: *
* $Id: Reader.h,v 1.3 2006/05/31 14:01:33 rdm Exp $
**********************************************************************************/
#ifndef ROOT_TMVA_Reader
#define ROOT_TMVA_Reader
#ifndef ROOT_TMVA_Types
#include "TMVA/Types.h"
#endif
#ifndef ROOT_TMVA_MethodBase
#include "TMVA/MethodBase.h"
#endif
#ifndef ROOT_TMVA_TMatrixD
#include "TMatrixD.h"
#endif
#ifndef ROOT_TMVA_TVectorD
#include "TVectorD.h"
#endif
#include <vector>
#include <string>
#include <math.h>
#include "Riostream.h"
using namespace std;
namespace TMVA {
class Reader : public TObject {
public:
Reader ( vector<string>& varNames, Bool_t verbose = 0 );
Reader ( const string varNames, Bool_t verbose = 0 );
Reader ( vector<TString>& varNames, Bool_t verbose = 0 );
Reader ( const TString varNames, Bool_t verbose = 0 );
virtual ~Reader( void );
Bool_t BookMVA ( Types::MVA method, TString filename );
Double_t EvaluateMVA( vector<Double_t>&, Types::MVA method, Double_t aux = 0 );
Bool_t Verbose( void ) const { return fVerbose; }
void SetVerbose( Bool_t v ) { fVerbose = v; }
private:
void Init( void );
vector<TString>* fInputVars;
vector<MethodBase*> fMethods;
void DecodeVarNames( const string varNames );
void DecodeVarNames( const TString varNames );
Bool_t fVerbose;
ClassDef(Reader,0)
};
}
#endif
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.