* *
* Authors (alphabetical): *
* Andreas Hoecker <Andreas.Hocker@cern.ch> - CERN, Switzerland *
* Xavier Prudent <prudent@lapp.in2p3.fr> - LAPP, France *
* Helge Voss <Helge.Voss@cern.ch> - MPI-KP Heidelberg, Germany *
* Kai Voss <Kai.Voss@cern.ch> - 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) *
* *
**********************************************************************************/
#ifndef ROOT_TMVA_MethodHMatrix
#define ROOT_TMVA_MethodHMatrix
#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
namespace TMVA {
class MethodHMatrix : public MethodBase {
public:
MethodHMatrix( TString jobName,
vector<TString>* theVariables,
TTree* theTree = 0,
TString theOption = "",
TDirectory* theTargetDir = 0 );
MethodHMatrix( vector<TString> *theVariables,
TString theWeightFile,
TDirectory* theTargetDir = NULL );
virtual ~MethodHMatrix( void );
virtual void Train( void );
virtual void WriteWeightsToFile( void );
virtual void ReadWeightsFromFile( void );
virtual Double_t GetMvaValue( Event *e );
virtual void WriteHistosToFile( void );
protected:
private:
Double_t GetChi2( Event *e, Type ) const;
TMatrixD* fInvHMatrixS;
TMatrixD* fInvHMatrixB;
TVectorD* fVecMeanS;
TVectorD* fVecMeanB;
Bool_t fNormaliseInputVars;
void InitHMatrix( void );
ClassDef(MethodHMatrix,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.