TMVA::PDF Class Reference

#include <PDF.h>

Inheritance diagram for TMVA::PDF:

TMVA::Configurable TMVA::Configurable TObject TObject TObject TObject List of all members.

Public Types

enum  EInterpolateMethod
enum  EInterpolateMethod

Public Member Functions

 PDF (const TString &name, Bool_t norm=kTRUE)
 PDF (const TString &name, const TH1 *theHist, EInterpolateMethod method=kSpline2, Int_t minnsmooth=0, Int_t maxnsmooth=0, Bool_t checkHist=kFALSE, Bool_t norm=kTRUE)
 PDF (const TString &name, const TH1 *theHist, KDEKernel::EKernelType ktype, KDEKernel::EKernelIter kiter, KDEKernel::EKernelBorder kborder, Float_t FineFactor, Bool_t norm=kTRUE)
 PDF (const TString &name, const TString &options, const TString &suffix="", PDF *defaultPDF=0, Bool_t norm=kTRUE)
virtual ~PDF ()
void BuildPDF (const TH1 *theHist)
Double_t GetVal (Double_t x) const
void AddXMLTo (void *parent)
void ReadXML (void *pdfnode)
TH1 * GetPDFHist () const
TH1 * GetOriginalHist () const
TH1 * GetSmoothedHist () const
TH1 * GetNSmoothHist () const
Double_t GetIntegral (Double_t xmin, Double_t xmax)
TSpline * GetSpline () const
Int_t GetNBins () const
Double_t GetXmin () const
Double_t GetXmax () const
void ValidatePDF (TH1 *original=0) const
Int_t GetHistNBins (Int_t evtNum=0)
TMVA::PDF::EInterpolateMethod GetInterpolMethod ()
const char * GetName () const
void SetReadingVersion (UInt_t rv)
UInt_t GetReadingVersion () const
void ProcessOptions ()
void DeclareOptions ()
 PDF (const TString &name, Bool_t norm=kTRUE)
 PDF (const TString &name, const TH1 *theHist, EInterpolateMethod method=kSpline2, Int_t minnsmooth=0, Int_t maxnsmooth=0, Bool_t checkHist=kFALSE, Bool_t norm=kTRUE)
 PDF (const TString &name, const TH1 *theHist, KDEKernel::EKernelType ktype, KDEKernel::EKernelIter kiter, KDEKernel::EKernelBorder kborder, Float_t FineFactor, Bool_t norm=kTRUE)
 PDF (const TString &name, const TString &options, const TString &suffix="", PDF *defaultPDF=0, Bool_t norm=kTRUE)
virtual ~PDF ()
void BuildPDF (const TH1 *theHist)
Double_t GetVal (Double_t x) const
void AddXMLTo (void *parent)
void ReadXML (void *pdfnode)
TH1 * GetPDFHist () const
TH1 * GetOriginalHist () const
TH1 * GetSmoothedHist () const
TH1 * GetNSmoothHist () const
Double_t GetIntegral (Double_t xmin, Double_t xmax)
TSpline * GetSpline () const
Int_t GetNBins () const
Double_t GetXmin () const
Double_t GetXmax () const
void ValidatePDF (TH1 *original=0) const
Int_t GetHistNBins (Int_t evtNum=0)
TMVA::PDF::EInterpolateMethod GetInterpolMethod ()
const char * GetName () const
void SetReadingVersion (UInt_t rv)
UInt_t GetReadingVersion () const
void ProcessOptions ()
void DeclareOptions ()

Private Member Functions

void CheckHist () const
void FillSplineToHist ()
void BuildKDEPDF ()
void SmoothHistogram ()
void FillHistToGraph ()
Double_t GetIntegral () const
Double_t GetPdfHistBinWidth () const
Bool_t UseHistogram () const
void BuildSplinePDF ()
MsgLogger & Log () const
 message logger
void CheckHist () const
void FillSplineToHist ()
void BuildKDEPDF ()
void SmoothHistogram ()
void FillHistToGraph ()
Double_t GetIntegral () const
Double_t GetPdfHistBinWidth () const
Bool_t UseHistogram () const
void BuildSplinePDF ()
MsgLogger & Log () const
 message logger

Static Private Member Functions

static PDF * ThisPDF (void)
static Double_t IGetVal (Double_t *, Double_t *)
static PDF * ThisPDF (void)
static Double_t IGetVal (Double_t *, Double_t *)

Private Attributes

Bool_t fUseHistogram
TString fPDFName
Int_t fNsmooth
Int_t fMinNsmooth
Int_t fMaxNsmooth
TH1 * fNSmoothHist
TMVA::PDF::EInterpolateMethod fInterpolMethod
TSpline * fSpline
TH1 * fPDFHist
 the used spline type
TH1 * fHist
TH1 * fHistOriginal
TGraph * fGraph
TF1 * fIGetVal
 needed to create PDF from histogram
Int_t fHistAvgEvtPerBin
Int_t fHistDefinedNBins
TString fKDEtypeString
TString fKDEiterString
TString fBorderMethodString
TString fInterpolateString
KDEKernel::EKernelType fKDEtype
KDEKernel::EKernelIter fKDEiter
KDEKernel::EKernelBorder fKDEborder
Float_t fFineFactor
UInt_t fReadingVersion
Bool_t fCheckHist
Bool_t fNormalize
TString fSuffix
MsgLogger * fLogger
 the suffix for options
TH1 * fNSmoothHist
TSpline * fSpline
TH1 * fPDFHist
 the used spline type
TH1 * fHist
TH1 * fHistOriginal
TGraph * fGraph
TF1 * fIGetVal
 needed to create PDF from histogram
MsgLogger * fLogger
 the suffix for options

Static Private Attributes

static const Int_t fgNbin_PdfHist
static const Bool_t fgManualIntegration
static const Double_t fgEpsilon
static PDF * fgThisPDF
static PDF * fgThisPDF

Friends

ostream & operator<< (ostream &os, const PDF &tree)
istream & operator>> (istream &istr, PDF &tree)
ostream & operator<< (ostream &os, const PDF &tree)
istream & operator>> (istream &istr, PDF &tree)

Detailed Description

Definition at line 66 of file PDF.h.


Member Enumeration Documentation

enum TMVA::PDF::EInterpolateMethod

Definition at line 73 of file PDF.h.

enum TMVA::PDF::EInterpolateMethod

Definition at line 73 of file PDF.h.


Constructor & Destructor Documentation

TMVA::PDF::PDF ( const TString &  name,
Bool_t  norm = kTRUE 
) [explicit]

TMVA::PDF::PDF ( const TString &  name,
const TH1 *  theHist,
EInterpolateMethod  method = kSpline2,
Int_t  minnsmooth = 0,
Int_t  maxnsmooth = 0,
Bool_t  checkHist = kFALSE,
Bool_t  norm = kTRUE 
) [explicit]

Definition at line 91 of file PDF.cxx.

References BuildPDF(), fLogger, and hist.

TMVA::PDF::PDF ( const TString &  name,
const TH1 *  theHist,
KDEKernel::EKernelType  ktype,
KDEKernel::EKernelIter  kiter,
KDEKernel::EKernelBorder  kborder,
Float_t  FineFactor,
Bool_t  norm = kTRUE 
) [explicit]

Definition at line 133 of file PDF.cxx.

References BuildPDF(), fLogger, and hist.

TMVA::PDF::PDF ( const TString &  name,
const TString &  options,
const TString &  suffix = "",
PDF *  defaultPDF = 0,
Bool_t  norm = kTRUE 
) [explicit]

Definition at line 176 of file PDF.cxx.

References fBorderMethodString, fCheckHist, fFineFactor, fHistAvgEvtPerBin, fHistDefinedNBins, fInterpolateString, fKDEiterString, fKDEtypeString, fLogger, fMaxNsmooth, fMinNsmooth, and fNsmooth.

TMVA::PDF::~PDF (  )  [virtual]

Definition at line 229 of file PDF.cxx.

References fGraph, fHist, fHistOriginal, fIGetVal, fLogger, fPDFHist, fSpline, and NULL.

TMVA::PDF::PDF ( const TString &  name,
Bool_t  norm = kTRUE 
) [explicit]

TMVA::PDF::PDF ( const TString &  name,
const TH1 *  theHist,
EInterpolateMethod  method = kSpline2,
Int_t  minnsmooth = 0,
Int_t  maxnsmooth = 0,
Bool_t  checkHist = kFALSE,
Bool_t  norm = kTRUE 
) [explicit]

TMVA::PDF::PDF ( const TString &  name,
const TH1 *  theHist,
KDEKernel::EKernelType  ktype,
KDEKernel::EKernelIter  kiter,
KDEKernel::EKernelBorder  kborder,
Float_t  FineFactor,
Bool_t  norm = kTRUE 
) [explicit]

TMVA::PDF::PDF ( const TString &  name,
const TString &  options,
const TString &  suffix = "",
PDF *  defaultPDF = 0,
Bool_t  norm = kTRUE 
) [explicit]

virtual TMVA::PDF::~PDF (  )  [virtual]


Member Function Documentation

void TMVA::PDF::BuildPDF ( const TH1 *  theHist  ) 

Definition at line 242 of file PDF.cxx.

References BuildKDEPDF(), BuildSplinePDF(), Endl, fgThisPDF, fHist, fHistOriginal, fInterpolMethod, fKDEiter, fKDEtype, fMaxNsmooth, fMinNsmooth, fUseHistogram, TNamed::GetName(), hist, TMVA::KDEKernel::kAdaptiveKDE, kFALSE, TMVA::kFATAL, TMVA::KDEKernel::kGauss, kKDE, TMVA::KDEKernel::kNonadaptiveKDE, Log(), NULL, TH1::SetDirectory(), and TH1::SetTitle().

Referenced by TMVA::MethodBase::CreateMVAPdfs(), and PDF().

Double_t TMVA::PDF::GetVal ( Double_t  x  )  const

Definition at line 679 of file PDF.cxx.

References fgEpsilon, TH1::FindBin(), fPDFHist, TH1::GetBinCenter(), TH1::GetBinContent(), TH1::GetNbinsX(), TMath::Max(), TMath::Min(), retval, and UseHistogram().

Referenced by TMVA::MethodBase::GetProba(), TMVA::OptimizeConfigParameters::GetROCIntegral(), TMVA::MethodBase::GetROCIntegral(), TMVA::Tools::GetSeparation(), IGetVal(), and ValidatePDF().

void TMVA::PDF::AddXMLTo ( void *  parent  ) 

Definition at line 823 of file PDF.cxx.

References TMVA::Tools::AddAttr(), TMVA::Tools::AddChild(), TMVA::Tools::AddRawLine(), fFineFactor, fInterpolMethod, fKDEborder, fKDEiter, fKDEtype, fMaxNsmooth, fMinNsmooth, fPDFName, TH1::GetBinContent(), TAxis::GetBinLowEdge(), TNamed::GetName(), TH1::GetNbinsX(), GetOriginalHist(), TH1::GetXaxis(), TAxis::GetXmax(), TAxis::GetXmin(), TMVA::gTools(), TMVA::Tools::HistoHasEquidistantBins(), i, and TMVA::Tools::StringFromDouble().

Referenced by TMVA::MethodBase::WriteStateToXML().

void TMVA::PDF::ReadXML ( void *  pdfnode  ) 

Definition at line 864 of file PDF.cxx.

References BuildKDEPDF(), BuildSplinePDF(), TNamed::Clone(), Endl, fFineFactor, fHist, fHistOriginal, fInterpolMethod, fKDEborder, fKDEiter, fKDEtype, fMaxNsmooth, fMinNsmooth, TMVA::Tools::GetChild(), TMVA::Tools::GetContent(), TMVA::Tools::GetNextChild(), TMVA::gTools(), i, TMVA::kFATAL, kKDE, Log(), nbins, TMVA::Tools::ReadAttr(), TString::ReplaceAll(), s, TH1::SetBinContent(), TH1::SetDirectory(), TH1::SetTitle(), val, xmax, and xmin.

Referenced by TMVA::VariableGaussTransform::ReadFromXML(), and TMVA::MethodBase::ReadStateFromXML().

TH1* TMVA::PDF::GetPDFHist (  )  const [inline]

Definition at line 94 of file PDF.h.

References fPDFHist.

Referenced by TMVA::MethodLikelihood::GetMvaValue(), GetPdfHistBinWidth(), and TMVA::MethodBase::WriteEvaluationHistosToFile().

TH1* TMVA::PDF::GetOriginalHist (  )  const [inline]

Definition at line 95 of file PDF.h.

References fHistOriginal.

Referenced by AddXMLTo(), TMVA::operator<<(), and TMVA::MethodBase::WriteEvaluationHistosToFile().

TH1* TMVA::PDF::GetSmoothedHist (  )  const [inline]

Definition at line 96 of file PDF.h.

References fHist.

Referenced by TMVA::MethodBase::WriteEvaluationHistosToFile().

TH1* TMVA::PDF::GetNSmoothHist (  )  const [inline]

Definition at line 97 of file PDF.h.

References fNSmoothHist.

Double_t TMVA::PDF::GetIntegral ( Double_t  xmin,
Double_t  xmax 
)

Definition at line 633 of file PDF.cxx.

References Endl, fgManualIntegration, fIGetVal, TH1::FindBin(), fPDFHist, TH1::GetBinContent(), TH1::GetBinLowEdge(), TH1::GetBinWidth(), TH1::GetNbinsX(), GetXmax(), GetXmin(), IGetVal(), TF1::Integral(), TMVA::kFATAL, TMVA::kWARNING, and Log().

Referenced by TMVA::MethodBase::GetRarity(), TMVA::OptimizeConfigParameters::GetROCIntegral(), and TMVA::MethodBase::GetROCIntegral().

TSpline* TMVA::PDF::GetSpline (  )  const [inline]

Definition at line 103 of file PDF.h.

References fSpline.

Int_t TMVA::PDF::GetNBins (  )  const [inline]

Definition at line 104 of file PDF.h.

References fHist, and TH1::GetNbinsX().

Double_t TMVA::PDF::GetXmin (  )  const [inline]

Definition at line 105 of file PDF.h.

References fHist, TH1::GetXaxis(), and TAxis::GetXmin().

Referenced by BuildKDEPDF(), CheckHist(), FillSplineToHist(), GetIntegral(), TMVA::MethodBase::GetRarity(), TMVA::MethodBase::GetROCIntegral(), TMVA::OptimizeConfigParameters::GetROCIntegral(), and TMVA::Tools::GetSeparation().

Double_t TMVA::PDF::GetXmax (  )  const [inline]

Definition at line 106 of file PDF.h.

References fHist, TH1::GetXaxis(), and TAxis::GetXmax().

Referenced by BuildKDEPDF(), CheckHist(), FillSplineToHist(), GetIntegral(), TMVA::MethodBase::GetROCIntegral(), TMVA::OptimizeConfigParameters::GetROCIntegral(), and TMVA::Tools::GetSeparation().

void TMVA::PDF::ValidatePDF ( TH1 *  original = 0  )  const

Definition at line 558 of file PDF.cxx.

References TMath::Abs(), d, Endl, fHistOriginal, TH1::FindBin(), Form(), fPDFHist, TH1::GetBinCenter(), TH1::GetBinContent(), TH1::GetBinError(), TH1::GetBinWidth(), TH1::GetNbinsX(), TArray::GetSize(), TH1::GetSumOfWeights(), TH1::GetSumw2(), TNamed::GetTitle(), GetVal(), TMVA::kWARNING, Log(), nbins, TMath::Prob(), TH1::Sumw2(), x, and y.

Referenced by TMVA::MethodBase::CreateMVAPdfs().

Int_t TMVA::PDF::GetHistNBins ( Int_t  evtNum = 0  ) 

Definition at line 286 of file PDF.cxx.

References Endl, fHistAvgEvtPerBin, fHistDefinedNBins, fInterpolMethod, TMVA::kFATAL, kKDE, and Log().

Referenced by TMVA::MethodBase::CreateMVAPdfs().

TMVA::PDF::EInterpolateMethod TMVA::PDF::GetInterpolMethod (  )  [inline]

Definition at line 114 of file PDF.h.

References fInterpolMethod.

const char* TMVA::PDF::GetName (  )  const [inline, virtual]

Reimplemented from TMVA::Configurable.

Definition at line 117 of file PDF.h.

References fPDFName.

Referenced by DeclareOptions().

void TMVA::PDF::SetReadingVersion ( UInt_t  rv  )  [inline]

Definition at line 120 of file PDF.h.

References fReadingVersion.

Referenced by TMVA::MethodBase::ReadStateFromStream().

UInt_t TMVA::PDF::GetReadingVersion (  )  const [inline]

Definition at line 121 of file PDF.h.

References fReadingVersion.

Referenced by TMVA::operator>>().

void TMVA::PDF::ProcessOptions (  ) 

Definition at line 775 of file PDF.cxx.

References Endl, fBorderMethodString, fInterpolateString, fInterpolMethod, fKDEborder, fKDEiter, fKDEiterString, fKDEtype, fKDEtypeString, fMaxNsmooth, fMinNsmooth, fNsmooth, Form(), fSuffix, TMVA::KDEKernel::kAdaptiveKDE, TMVA::kFATAL, TMVA::KDEKernel::kGauss, kKDE, TMVA::KDEKernel::kKernelRenorm, TMVA::KDEKernel::kNonadaptiveKDE, TMVA::KDEKernel::kNoTreatment, TMVA::KDEKernel::kSampleMirror, kSpline0, kSpline1, kSpline2, kSpline3, kSpline5, and Log().

Referenced by TMVA::MethodBase::ProcessBaseOptions(), and TMVA::MethodLikelihood::ProcessOptions().

void TMVA::PDF::DeclareOptions (  ) 

Definition at line 712 of file PDF.cxx.

References TMVA::Configurable::AddPreDefVal(), TString::Data(), TMVA::Configurable::DeclareOptionRef(), fBorderMethodString, fCheckHist, fFineFactor, fHistAvgEvtPerBin, fHistDefinedNBins, fInterpolateString, fKDEiterString, fKDEtypeString, fMaxNsmooth, fMinNsmooth, fNsmooth, Form(), fSuffix, GetName(), TMVA::Configurable::SetConfigDescription(), and TMVA::Configurable::SetConfigName().

Referenced by TMVA::MethodLikelihood::DeclareOptions(), and TMVA::MethodBase::ProcessBaseOptions().

void TMVA::PDF::CheckHist (  )  const [private]

Definition at line 534 of file PDF.cxx.

References Endl, fHist, TH1::GetBinContent(), TH1::GetMean(), TNamed::GetName(), TH1::GetNbinsX(), GetXmax(), GetXmin(), TMVA::kFATAL, TMVA::kWARNING, Log(), nbins, and NULL.

Referenced by BuildSplinePDF().

void TMVA::PDF::FillSplineToHist (  )  [private]

Definition at line 503 of file PDF.cxx.

References TNamed::Clone(), TSpline::Eval(), fgEpsilon, fgNbin_PdfHist, fHist, TH1::FindBin(), fPDFHist, fSpline, TH1::GetBinCenter(), TH1::GetBinContent(), TNamed::GetName(), TNamed::GetTitle(), GetXmax(), GetXmin(), TMath::Max(), TH1::SetBinContent(), TH1::SetDirectory(), TH1::SetName(), TH1::SetTitle(), UseHistogram(), x, and y.

Referenced by BuildSplinePDF().

void TMVA::PDF::BuildKDEPDF (  )  [private]

Definition at line 366 of file PDF.cxx.

References TH1::AddBinContent(), Endl, fFineFactor, fgNbin_PdfHist, fHist, fKDEborder, fKDEiter, fKDEtype, fNormalize, fPDFHist, TH1::GetBinCenter(), TH1::GetBinContent(), TMVA::KDEKernel::GetBinKernelIntegral(), TH1::GetBinLowEdge(), TH1::GetBinWidth(), TH1::GetEntries(), GetIntegral(), TNamed::GetName(), TH1::GetNbinsX(), TNamed::GetTitle(), GetXmax(), GetXmin(), i, j, TMVA::kFATAL, Log(), TH1::Scale(), TH1::SetDirectory(), TH1::SetEntries(), TMVA::KDEKernel::SetKernelType(), TH1::SetName(), and TH1::SetTitle().

Referenced by BuildPDF(), TMVA::operator>>(), and ReadXML().

void TMVA::PDF::SmoothHistogram (  )  [private]

Definition at line 435 of file PDF.cxx.

References Err, fHist, fMaxNsmooth, fMinNsmooth, fNSmoothHist, TH1::GetBinContent(), TH1::GetBinError(), TNamed::GetName(), TH1::GetNbinsX(), TNamed::GetTitle(), TMath::Max(), TMath::Min(), n, num, TH1::SetBinContent(), TH1::SetName(), TH1::SetTitle(), TH1::Smooth(), and TMath::Sqrt().

Referenced by BuildSplinePDF().

void TMVA::PDF::FillHistToGraph (  )  [private]

Definition at line 496 of file PDF.cxx.

References fGraph, and fHist.

Referenced by BuildSplinePDF().

Double_t TMVA::PDF::GetIntegral (  )  const [private]

Definition at line 615 of file PDF.cxx.

References fPDFHist, GetPdfHistBinWidth(), and TH1::GetSumOfWeights().

Referenced by BuildKDEPDF(), and BuildSplinePDF().

Double_t TMVA::PDF::GetPdfHistBinWidth (  )  const [inline, private]

Definition at line 139 of file PDF.h.

References fPDFHist, GetPDFHist(), and h.

Referenced by GetIntegral().

Bool_t TMVA::PDF::UseHistogram (  )  const [inline, private]

Definition at line 145 of file PDF.h.

References fUseHistogram.

Referenced by BuildSplinePDF(), FillSplineToHist(), and GetVal().

void TMVA::PDF::BuildSplinePDF (  )  [private]

Definition at line 301 of file PDF.cxx.

References CheckHist(), Endl, fCheckHist, fGraph, fHist, FillHistToGraph(), FillSplineToHist(), fInterpolMethod, fMaxNsmooth, fMinNsmooth, fNormalize, fNSmoothHist, fPDFHist, fSpline, fUseHistogram, GetIntegral(), TNamed::GetName(), TNamed::GetTitle(), TMVA::kFATAL, kSpline0, kSpline1, kSpline2, kSpline3, kSpline5, kTRUE, TMVA::kWARNING, Log(), TH1::Scale(), TH1::SetDirectory(), TNamed::SetName(), TNamed::SetTitle(), SmoothHistogram(), and UseHistogram().

Referenced by BuildPDF(), TMVA::operator>>(), and ReadXML().

MsgLogger& TMVA::PDF::Log (  )  const [inline, private]

message logger

Reimplemented from TMVA::Configurable.

Definition at line 198 of file PDF.h.

References fLogger.

Referenced by BuildKDEPDF(), BuildPDF(), BuildSplinePDF(), CheckHist(), GetHistNBins(), GetIntegral(), ProcessOptions(), ReadXML(), and ValidatePDF().

TMVA::PDF * TMVA::PDF::ThisPDF ( void   )  [static, private]

Definition at line 1034 of file PDF.cxx.

References fgThisPDF.

Referenced by IGetVal().

Double_t TMVA::PDF::IGetVal ( Double_t *  ,
Double_t *   
) [static, private]

Definition at line 626 of file PDF.cxx.

References GetVal(), and ThisPDF().

Referenced by GetIntegral().

void TMVA::PDF::BuildPDF ( const TH1 *  theHist  ) 

Double_t TMVA::PDF::GetVal ( Double_t  x  )  const

void TMVA::PDF::AddXMLTo ( void *  parent  ) 

void TMVA::PDF::ReadXML ( void *  pdfnode  ) 

TH1* TMVA::PDF::GetPDFHist (  )  const [inline]

Definition at line 94 of file PDF.h.

References fPDFHist.

TH1* TMVA::PDF::GetOriginalHist (  )  const [inline]

Definition at line 95 of file PDF.h.

References fHistOriginal.

TH1* TMVA::PDF::GetSmoothedHist (  )  const [inline]

Definition at line 96 of file PDF.h.

References fHist.

TH1* TMVA::PDF::GetNSmoothHist (  )  const [inline]

Definition at line 97 of file PDF.h.

References fNSmoothHist.

Double_t TMVA::PDF::GetIntegral ( Double_t  xmin,
Double_t  xmax 
)

TSpline* TMVA::PDF::GetSpline (  )  const [inline]

Definition at line 103 of file PDF.h.

References fSpline.

Int_t TMVA::PDF::GetNBins (  )  const [inline]

Definition at line 104 of file PDF.h.

References fHist, and TH1::GetNbinsX().

Double_t TMVA::PDF::GetXmin (  )  const [inline]

Definition at line 105 of file PDF.h.

References fHist, TH1::GetXaxis(), and TAxis::GetXmin().

Double_t TMVA::PDF::GetXmax (  )  const [inline]

Definition at line 106 of file PDF.h.

References fHist, TH1::GetXaxis(), and TAxis::GetXmax().

void TMVA::PDF::ValidatePDF ( TH1 *  original = 0  )  const

Int_t TMVA::PDF::GetHistNBins ( Int_t  evtNum = 0  ) 

TMVA::PDF::EInterpolateMethod TMVA::PDF::GetInterpolMethod (  )  [inline]

Definition at line 114 of file PDF.h.

References fInterpolMethod.

const char* TMVA::PDF::GetName (  )  const [inline, virtual]

Reimplemented from TMVA::Configurable.

Definition at line 117 of file PDF.h.

References fPDFName.

void TMVA::PDF::SetReadingVersion ( UInt_t  rv  )  [inline]

Definition at line 120 of file PDF.h.

References fReadingVersion.

UInt_t TMVA::PDF::GetReadingVersion (  )  const [inline]

Definition at line 121 of file PDF.h.

References fReadingVersion.

void TMVA::PDF::ProcessOptions (  ) 

void TMVA::PDF::DeclareOptions (  ) 

void TMVA::PDF::CheckHist (  )  const [private]

void TMVA::PDF::FillSplineToHist (  )  [private]

void TMVA::PDF::BuildKDEPDF (  )  [private]

void TMVA::PDF::SmoothHistogram (  )  [private]

void TMVA::PDF::FillHistToGraph (  )  [private]

Double_t TMVA::PDF::GetIntegral (  )  const [private]

Double_t TMVA::PDF::GetPdfHistBinWidth (  )  const [inline, private]

Definition at line 139 of file PDF.h.

References fPDFHist, GetPDFHist(), and h.

Bool_t TMVA::PDF::UseHistogram (  )  const [inline, private]

Definition at line 145 of file PDF.h.

References fUseHistogram.

void TMVA::PDF::BuildSplinePDF (  )  [private]

MsgLogger& TMVA::PDF::Log (  )  const [inline, private]

message logger

Reimplemented from TMVA::Configurable.

Definition at line 198 of file PDF.h.

References fLogger.

static PDF* TMVA::PDF::ThisPDF ( void   )  [static, private]

static Double_t TMVA::PDF::IGetVal ( Double_t *  ,
Double_t *   
) [static, private]


Friends And Related Function Documentation

ostream& operator<< ( ostream &  os,
const PDF &  tree 
) [friend]

Definition at line 938 of file PDF.cxx.

istream& operator>> ( istream &  istr,
PDF &  tree 
) [friend]

Definition at line 975 of file PDF.cxx.

ostream& operator<< ( ostream &  os,
const PDF &  tree 
) [friend]

Definition at line 938 of file PDF.cxx.

istream& operator>> ( istream &  istr,
PDF &  tree 
) [friend]

Definition at line 975 of file PDF.cxx.


Member Data Documentation

Bool_t TMVA::PDF::fUseHistogram [private]

Definition at line 153 of file PDF.h.

Referenced by BuildPDF(), BuildSplinePDF(), and UseHistogram().

const Int_t TMVA::PDF::fgNbin_PdfHist [static, private]

Definition at line 159 of file PDF.h.

Referenced by BuildKDEPDF(), and FillSplineToHist().

const Bool_t TMVA::PDF::fgManualIntegration [static, private]

Definition at line 160 of file PDF.h.

Referenced by GetIntegral().

const Double_t TMVA::PDF::fgEpsilon [static, private]

Definition at line 161 of file PDF.h.

Referenced by FillSplineToHist(), and GetVal().

TString TMVA::PDF::fPDFName [private]

Definition at line 164 of file PDF.h.

Referenced by AddXMLTo(), and GetName().

Int_t TMVA::PDF::fNsmooth [private]

Definition at line 165 of file PDF.h.

Referenced by DeclareOptions(), PDF(), and ProcessOptions().

Int_t TMVA::PDF::fMinNsmooth [private]

Definition at line 166 of file PDF.h.

Referenced by AddXMLTo(), BuildPDF(), BuildSplinePDF(), DeclareOptions(), TMVA::operator<<(), TMVA::operator>>(), PDF(), ProcessOptions(), ReadXML(), and SmoothHistogram().

Int_t TMVA::PDF::fMaxNsmooth [private]

Definition at line 167 of file PDF.h.

Referenced by AddXMLTo(), BuildPDF(), BuildSplinePDF(), DeclareOptions(), TMVA::operator<<(), TMVA::operator>>(), PDF(), ProcessOptions(), ReadXML(), and SmoothHistogram().

TH1* TMVA::PDF::fNSmoothHist [private]

Definition at line 168 of file PDF.h.

Referenced by BuildSplinePDF(), GetNSmoothHist(), and SmoothHistogram().

TMVA::PDF::EInterpolateMethod TMVA::PDF::fInterpolMethod [private]

Definition at line 170 of file PDF.h.

Referenced by AddXMLTo(), BuildPDF(), BuildSplinePDF(), GetHistNBins(), GetInterpolMethod(), TMVA::operator<<(), TMVA::operator>>(), ProcessOptions(), and ReadXML().

TSpline* TMVA::PDF::fSpline [private]

Definition at line 171 of file PDF.h.

Referenced by BuildSplinePDF(), FillSplineToHist(), GetSpline(), and ~PDF().

TH1* TMVA::PDF::fPDFHist [private]

the used spline type

Definition at line 172 of file PDF.h.

Referenced by BuildKDEPDF(), BuildSplinePDF(), FillSplineToHist(), GetIntegral(), GetPDFHist(), GetPdfHistBinWidth(), GetVal(), ValidatePDF(), and ~PDF().

TH1* TMVA::PDF::fHist [private]

Definition at line 173 of file PDF.h.

Referenced by BuildKDEPDF(), BuildPDF(), BuildSplinePDF(), CheckHist(), FillHistToGraph(), FillSplineToHist(), GetNBins(), GetSmoothedHist(), GetXmax(), GetXmin(), TMVA::operator>>(), ReadXML(), SmoothHistogram(), and ~PDF().

TH1* TMVA::PDF::fHistOriginal [private]

Definition at line 174 of file PDF.h.

Referenced by BuildPDF(), GetOriginalHist(), TMVA::operator>>(), ReadXML(), ValidatePDF(), and ~PDF().

TGraph* TMVA::PDF::fGraph [private]

Definition at line 175 of file PDF.h.

Referenced by BuildSplinePDF(), FillHistToGraph(), and ~PDF().

TF1* TMVA::PDF::fIGetVal [private]

needed to create PDF from histogram

Definition at line 176 of file PDF.h.

Referenced by GetIntegral(), and ~PDF().

Int_t TMVA::PDF::fHistAvgEvtPerBin [private]

Definition at line 178 of file PDF.h.

Referenced by DeclareOptions(), GetHistNBins(), and PDF().

Int_t TMVA::PDF::fHistDefinedNBins [private]

Definition at line 179 of file PDF.h.

Referenced by DeclareOptions(), GetHistNBins(), and PDF().

TString TMVA::PDF::fKDEtypeString [private]

Definition at line 181 of file PDF.h.

Referenced by DeclareOptions(), PDF(), and ProcessOptions().

TString TMVA::PDF::fKDEiterString [private]

Definition at line 182 of file PDF.h.

Referenced by DeclareOptions(), PDF(), and ProcessOptions().

TString TMVA::PDF::fBorderMethodString [private]

Definition at line 183 of file PDF.h.

Referenced by DeclareOptions(), PDF(), and ProcessOptions().

TString TMVA::PDF::fInterpolateString [private]

Definition at line 184 of file PDF.h.

Referenced by DeclareOptions(), PDF(), and ProcessOptions().

KDEKernel::EKernelType TMVA::PDF::fKDEtype [private]

Definition at line 186 of file PDF.h.

Referenced by AddXMLTo(), BuildKDEPDF(), BuildPDF(), TMVA::operator<<(), TMVA::operator>>(), ProcessOptions(), and ReadXML().

KDEKernel::EKernelIter TMVA::PDF::fKDEiter [private]

Definition at line 187 of file PDF.h.

Referenced by AddXMLTo(), BuildKDEPDF(), BuildPDF(), TMVA::operator<<(), TMVA::operator>>(), ProcessOptions(), and ReadXML().

KDEKernel::EKernelBorder TMVA::PDF::fKDEborder [private]

Definition at line 188 of file PDF.h.

Referenced by AddXMLTo(), BuildKDEPDF(), TMVA::operator<<(), TMVA::operator>>(), ProcessOptions(), and ReadXML().

Float_t TMVA::PDF::fFineFactor [private]

Definition at line 189 of file PDF.h.

Referenced by AddXMLTo(), BuildKDEPDF(), DeclareOptions(), TMVA::operator<<(), TMVA::operator>>(), PDF(), and ReadXML().

UInt_t TMVA::PDF::fReadingVersion [private]

Definition at line 191 of file PDF.h.

Referenced by GetReadingVersion(), and SetReadingVersion().

Bool_t TMVA::PDF::fCheckHist [private]

Definition at line 193 of file PDF.h.

Referenced by BuildSplinePDF(), DeclareOptions(), and PDF().

Bool_t TMVA::PDF::fNormalize [private]

Definition at line 194 of file PDF.h.

Referenced by BuildKDEPDF(), and BuildSplinePDF().

TString TMVA::PDF::fSuffix [private]

Definition at line 196 of file PDF.h.

Referenced by DeclareOptions(), and ProcessOptions().

MsgLogger* TMVA::PDF::fLogger [mutable, private]

the suffix for options

Reimplemented from TMVA::Configurable.

Definition at line 197 of file PDF.h.

Referenced by Log(), PDF(), and ~PDF().

TMVA::PDF * TMVA::PDF::fgThisPDF [static, private]

Definition at line 201 of file PDF.h.

Referenced by BuildPDF(), and ThisPDF().

TH1* TMVA::PDF::fNSmoothHist [private]

Definition at line 168 of file PDF.h.

TSpline* TMVA::PDF::fSpline [private]

Definition at line 171 of file PDF.h.

TH1* TMVA::PDF::fPDFHist [private]

the used spline type

Definition at line 172 of file PDF.h.

TH1* TMVA::PDF::fHist [private]

Definition at line 173 of file PDF.h.

TH1* TMVA::PDF::fHistOriginal [private]

Definition at line 174 of file PDF.h.

TGraph* TMVA::PDF::fGraph [private]

Definition at line 175 of file PDF.h.

TF1* TMVA::PDF::fIGetVal [private]

needed to create PDF from histogram

Definition at line 176 of file PDF.h.

MsgLogger* TMVA::PDF::fLogger [mutable, private]

the suffix for options

Reimplemented from TMVA::Configurable.

Definition at line 197 of file PDF.h.

PDF* TMVA::PDF::fgThisPDF [static, private]

Definition at line 201 of file PDF.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 17:01:39 2011 for ROOT_528-00b_version by  doxygen 1.5.1