// @(#)root/tmva $Id: TMVA_MethodVariable.h,v 1.1 2006/05/08 12:46:31 brun Exp $ // Author: Andreas Hoecker, Helge Voss, Kai Voss /********************************************************************************** * Project: TMVA - a Root-integrated toolkit for multivariate data analysis * * Package: TMVA * * Class : TMVA_MethodVariable * * * * Description: * * Wrapper class for a single variable "MVA"; this is required for * * the evaluation of the single variable discrimination performance * * * * Authors (alphabetical): * * Andreas Hoecker - CERN, Switzerland * * Xavier Prudent - LAPP, France * * Helge Voss - MPI-KP Heidelberg, Germany * * Kai Voss - U. of Victoria, Canada * * * * Copyright (c) 2005: * * CERN, Switzerland, * * U. of Victoria, Canada, * * MPI-KP Heidelberg, Germany, * * LAPP, Annecy, France * * * * Redistribution and use in source and binary forms, with or without * * modification, are permitted according to the terms listed in LICENSE * * (http://mva.sourceforge.net/license.txt) * * * * File and Version Information: * * $Id: TMVA_MethodVariable.h,v 1.1 2006/05/08 12:46:31 brun Exp $ **********************************************************************************/ #ifndef ROOT_TMVA_MethodVariable #define ROOT_TMVA_MethodVariable ////////////////////////////////////////////////////////////////////////// // // // TMVA_MethodVariable // // // // Wrapper class for a single variable "MVA"; this is required for // // the evaluation of the single variable discrimination performance // // // ////////////////////////////////////////////////////////////////////////// #ifndef ROOT_TMVA_MethodBase #include "TMVA_MethodBase.h" #endif class TMVA_MethodVariable : public TMVA_MethodBase { public: TMVA_MethodVariable( TString jobName, vector* theVariables, TTree* theTree = 0, TString theOption = "Variable", TDirectory* theTargetDir = 0 ); virtual ~TMVA_MethodVariable( void ); // training method virtual void Train( void ); // write weights to file virtual void WriteWeightsToFile( void ); // read weights from file virtual void ReadWeightsFromFile( void ); // calculate the MVA value virtual Double_t GetMvaValue(TMVA_Event *e); // write method specific histos to target file virtual void WriteHistosToFile( void ) ; protected: private: ClassDef(TMVA_MethodVariable,0) //Wrapper class for a single variable "MVA" }; #endif