49 #ifndef ROOT_ThreadLocalStorage
52 #ifndef ROOT_TMVA_KDEKernel
55 #ifndef ROOT_TMVA_Configurable
68 std::ostream&
operator<< ( std::ostream& os,
const PDF& tree );
69 std::istream&
operator>> ( std::istream& istr, PDF& tree);
73 friend std::ostream&
operator<< ( std::ostream& os,
const PDF& tree );
74 friend std::istream&
operator>> ( std::istream& istr,
PDF& tree);
Bool_t UseHistogram() const
TString fBorderMethodString
void ReadXML(void *pdfnode)
XML file reading.
static const Double_t fgEpsilon
void BuildPDF(const TH1 *theHist)
Base class for spline implementation containing the Draw/Paint methods //.
Double_t GetIntegral() const
computes normalisation
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
static const Int_t fgNbin_PdfHist
PDF(const TString &name, Bool_t norm=kTRUE)
virtual Int_t GetNbinsX() 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
TH1 * GetSmoothedHist() const
static const Bool_t fgManualIntegration
void ValidatePDF(TH1 *original=0) const
comparison of original histogram with reference PDF
void BuildSplinePDF()
build the PDF from the original histograms
Int_t GetHistNBins(Int_t evtNum=0)
MsgLogger & Log() const
message logger
TH1 * GetOriginalHist() const
void SetReadingVersion(UInt_t rv)
UInt_t GetReadingVersion() const
Double_t GetValInverse(Double_t y, Bool_t isMonotonouslyIncreasingFunction=kFALSE) const
returns value PDF^{-1}(y)
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 CheckHist() const
sanity check: compare PDF with original histogram
void BuildKDEPDF()
creates high-binned reference histogram to be used instead of the PDF for speed reasons ...
static PDF *& GetThisPdfThreadLocal()
Double_t GetVal(Double_t x) const
returns value PDF(x)
void AddXMLTo(void *parent)
XML file writing.
Double_t GetPdfHistBinWidth() const
TH1 * fPDFHist
the used spline type
Abstract ClassifierFactory template that handles arbitrary types.
friend std::istream & operator>>(std::istream &istr, PDF &tree)
TSpline * GetSpline() const
A Graph is a graphics object made of two arrays X and Y with npoints each.
static Double_t IGetVal(Double_t *, Double_t *)
static external auxiliary function (integrand)
const char * GetName() const
Returns name of object.
TGraph * GetGraph() const
KDEKernel::EKernelIter fKDEiter
TMVA::PDF::EInterpolateMethod GetInterpolMethod()
TString fInterpolateString
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.