library: libTMVA #include "Tools.h" |
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>&)
simple statistics operations on tree entries
simple statistics operations on Events in a Vector collection class
creates histograms normalized to one
returns covariance matrix for all variables in tree
returns correlation matrix for all variables in tree
returns the square-root of a symmetric matrix: symMat = sqrtMat*sqrtMat
type-safe accessor to TTree elements
re-arrange a vector of arrays (vectors) in a way such that the first array is ordered, and the other arrays reshuffeld accordingly