49 #ifndef ROOT_ThreadLocalStorage 52 #ifndef ROOT_TMVA_KDEKernel 55 #ifndef ROOT_TMVA_Configurable 74 friend std::istream&
operator>> ( std::istream& istr,
PDF& tree);
Double_t GetValInverse(Double_t y, Bool_t isMonotonouslyIncreasingFunction=kFALSE) const
returns value PDF^{-1}(y)
TString fBorderMethodString
void ReadXML(void *pdfnode)
XML file reading.
Double_t GetIntegral() const
computes normalisation
static const Double_t fgEpsilon
MsgLogger & Log() const
message logger
TH1 * GetSmoothedHist() const
void BuildPDF(const TH1 *theHist)
Double_t GetPdfHistBinWidth() const
Base class for spline implementation containing the Draw/Paint methods //.
static const Int_t fgNbin_PdfHist
PDF(const TString &name, Bool_t norm=kTRUE)
default constructor needed for ROOT I/O
void CheckHist() const
sanity check: compare PDF with original histogram
UInt_t GetReadingVersion() const
friend std::ostream & operator<<(std::ostream &os, const PDF &tree)
TF1 * fIGetVal
needed to create PDF from histogram
TMVA::PDF::EInterpolateMethod fInterpolMethod
#define ClassDef(name, id)
static PDF * ThisPDF(void)
TH1 * GetNSmoothHist() const
TGraph * GetGraph() const
const char * GetName() const
Returns name of object.
static const Bool_t fgManualIntegration
void BuildSplinePDF()
build the PDF from the original histograms
Bool_t UseHistogram() const
Int_t GetHistNBins(Int_t evtNum=0)
void SetReadingVersion(UInt_t rv)
std::ostream & operator<<(std::ostream &os, const BinaryTree &tree)
print the tree recursinvely using the << operator
std::istream & operator>>(std::istream &istr, BinaryTree &tree)
read the tree from an std::istream
MsgLogger * fLogger
the suffix for options
void DeclareOptions()
define the options (their key words) that can be set in the option string know options: PDFInterpol[i...
void BuildKDEPDF()
creates high-binned reference histogram to be used instead of the PDF for speed reasons ...
static PDF *& GetThisPdfThreadLocal()
void AddXMLTo(void *parent)
XML file writing.
void FindBinInverse(const TH1 *histogram, Int_t &lowerBin, Int_t &higherBin, Double_t &lowerBinValue, Double_t &higherBinValue, Double_t y, Bool_t isMonotonouslyIncreasingFunction=kFALSE) const
find bin from value on ordinate
TH1 * fPDFHist
the used spline type
void ValidatePDF(TH1 *original=0) const
comparison of original histogram with reference PDF
Abstract ClassifierFactory template that handles arbitrary types.
friend std::istream & operator>>(std::istream &istr, PDF &tree)
A Graph is a graphics object made of two arrays X and Y with npoints each.
TH1 * GetOriginalHist() const
static Double_t IGetVal(Double_t *, Double_t *)
static external auxiliary function (integrand)
TSpline * GetSpline() const
KDEKernel::EKernelIter fKDEiter
TMVA::PDF::EInterpolateMethod GetInterpolMethod()
TString fInterpolateString
virtual Int_t GetNbinsX() const
void FillSplineToHist()
creates high-binned reference histogram to be used instead of the PDF for speed reasons ...
double norm(double *x, double *p)
KDEKernel::EKernelBorder fKDEborder
KDEKernel::EKernelType fKDEtype
void FillHistToGraph()
Simple conversion.
Double_t GetVal(Double_t x) const
returns value PDF(x)