library: libTMVA
#include "PDF.h"

TMVA::PDF


class description - header file - source file - inheritance tree (.pdf)

class TMVA::PDF : public TObject

Inheritance Chart:
TObject
<-
TMVA::PDF
    private:
void CheckHist() void FillSplineToHist() Double_t Integral() public:
PDF(const TH1* theHist, TMVA::PDF::SmoothMethod method = kSpline2, Int_t nsmooth = 0) PDF(const TMVA::PDF&) virtual ~PDF() static TClass* Class() Double_t GetIntegral(Double_t xmin, Double_t xmax) TH1* GetPDFHist() TSpline* GetSpline() const Double_t GetVal(Double_t x) Double_t GetXmax() const Double_t GetXmin() const virtual TClass* IsA() const TMVA::PDF& operator=(const TMVA::PDF&) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Int_t fNbinsPDFHist Int_t fNsmooth number of times the histogram is smoothed Double_t fXmin Double_t fXmax minimum and maximum of histogram TSpline* fSpline the used spline type TH1* fPDFHist the high-binned histogram corresponding to the PDF TH1* fHist copy of input histogram TGraph* fGraph needed to create PDF from histogram Double_t fIntegral normalisation public:
static const TMVA::PDF::SmoothMethod kSpline1 static const TMVA::PDF::SmoothMethod kSpline2 static const TMVA::PDF::SmoothMethod kSpline3 static const TMVA::PDF::SmoothMethod kSpline5

Class Description

PDF( const TH1 *hist, TMVA::PDF::SmoothMethod method, Int_t nsmooth )
 constructor:
 - default Spline method is: Spline2 (quadratic)
 - default smoothing is none
~PDF( void )
 destructor
void FillSplineToHist( void )
 creates high-binned reference histogram to be used in stead of the
 PDF for speed reasons
void CheckHist(void)
 sanity check: compare PDF with original histogram
Double_t Integral( void )
 computes normalisation
Double_t GetIntegral( Double_t xmin, Double_t xmax )
 computes PDF integral within given ranges
Double_t GetVal( const Double_t x )
 returns value PDF(x)
PDF( const TH1* theHist, PDF::SmoothMethod method = kSpline2, Int_t nsmooth = 0 )
TSpline* GetSpline( void )
 accessors

Last update: Tue Jul 11 11:56:38 2006
Copyright (c) 2005: *


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.