library: libTMVA
#include "Tools.h"

TMVA::Tools


namespace description - header file - source file

class TMVA::Tools


    public:
Bool_t CheckSplines(TH1*, TSpline*) void ComputeStat(TTree* theTree, TString theVarName, Double_t&, Double_t&, Double_t&, Double_t&, Double_t&, Double_t&, Bool_t norm = kFALSE) void ComputeStat(vector<TMVA::Event*,allocator<TMVA::Event*> >, Int_t ivar, Double_t&, Double_t&, Double_t&, Double_t&, Double_t&, Double_t&, Bool_t norm = kFALSE) void GetCorrelationMatrix(TTree* theTree, TMatrixDBase* theMatrix, vector<TString>* theVars, Int_t theType) void GetCovarianceMatrix(TTree* theTree, TMatrixDBase* theMatrix, vector<TString>* theVars, Int_t theType, Bool_t norm = kFALSE) Int_t GetIndexMaxElement(vector<Double_t>&) Int_t GetIndexMinElement(vector<Double_t>&) void GetSQRootMatrix(TMatrixDSym* symMat, TMatrixD* sqrtMat) Double_t GetValue(TTree* theTree, Int_t entry, TString varname) vector<Double_t> MVADiff(vector<Double_t>&, vector<Double_t>&) Double_t NormHist(TH1* theHist, Double_t norm = 1.0) Double_t NormVariable(Double_t x, Double_t xmin, Double_t xmax) TList* ParseFormatLine(TString theString) TH1* projNormTH1F(TTree* theTree, TString theVarName, TString name, Int_t nbins, Double_t xmin, Double_t xmax, TString cut) void Scale(vector<Double_t>&, Double_t) void Scale(vector<Float_t>&, Float_t) void UsefulSortAscending(vector<vector<Double_t> >&) void UsefulSortAscending(vector<Double_t>&) void UsefulSortDescending(vector<vector<Double_t> >&, vector<TString>* vs = 0) void UsefulSortDescending(vector<Double_t>&)

Class Description

void ComputeStat( TTree* theTree, TString theVarName, Double_t&, Double_t&, Double_t&, Double_t&, Double_t&, Double_t&, Bool_t norm = kFALSE )
 simple statistics operations on tree entries
void ComputeStat( std::vector<Event*>, Int_t ivar, Double_t&, Double_t&, Double_t&, Double_t&, Double_t&, Double_t&, Bool_t norm = kFALSE )
 simple statistics operations on Events in a Vector collection class
TH1* projNormTH1F( TTree* theTree, TString theVarName, TString name, Int_t nbins, Double_t xmin, Double_t xmax, TString cut )
 creates histograms normalized to one
Double_t NormHist( TH1* theHist, Double_t norm = 1.0 )
 normalize histogram by its integral
TList* ParseFormatLine( TString theString )
 parser for TString phrase with items separated by ':'
void GetCovarianceMatrix( TTree* theTree, TMatrixDBase *theMatrix, vector<TString>* theVars, Int_t theType, Bool_t norm = kFALSE )
 returns covariance matrix for all variables in tree
void GetCorrelationMatrix( TTree* theTree, TMatrixDBase *theMatrix, vector<TString>* theVars, Int_t theType )
 returns correlation matrix for all variables in tree
void GetSQRootMatrix( TMatrixDSym* symMat, TMatrixD* sqrtMat )
 returns the square-root of a symmetric matrix: symMat = sqrtMat*sqrtMat
Double_t GetValue( TTree *theTree, Int_t entry, TString varname )
 type-safe accessor to TTree elements
Bool_t CheckSplines( TH1*, TSpline* )
 check spline quality by comparison with initial histogram
Double_t NormVariable( Double_t x, Double_t xmin, Double_t xmax )
 normalization of variable output
vector<Double_t> MVADiff( vector<Double_t>&, vector<Double_t>& )
 vector rescaling
void UsefulSortDescending( vector< vector<Double_t> >&, vector<TString>* vs = 0 )
 re-arrange a vector of arrays (vectors) in a way such that the first array
 is ordered, and the other arrays reshuffeld accordingly
void UsefulSortDescending( vector<Double_t>& )

Last update: Tue Jul 11 11:56:40 2006


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.