60 std::ostream& operator<< ( std::ostream& os,
const PDF&
tree );
140 return (
fPDFHist) ? (
h->GetXaxis()->GetXmax() -
h->GetXaxis()->GetXmin())/
h->GetNbinsX() : 1;
#define ClassDef(name, id)
A TGraph is an object made of two arrays X and Y with npoints each.
TH1 is the base class of all histogram classes in ROOT.
TAxis * GetXaxis()
Get the behaviour adopted by the object about the statoverflows. See EStatOverflows for more informat...
virtual Int_t GetNbinsX() const
ostringstream derivative to redirect and format output
PDF wrapper for histograms; uses user-defined spline interpolation.
void SetReadingVersion(UInt_t rv)
static const Bool_t fgManualIntegration
KDEKernel::EKernelType fKDEtype
void FillHistToGraph()
Simple conversion.
void BuildPDF(const TH1 *theHist)
KDEKernel::EKernelBorder fKDEborder
static Double_t IGetVal(Double_t *, Double_t *)
static external auxiliary function (integrand)
TString fBorderMethodString
TH1 * fPDFHist
the used spline type
Bool_t UseHistogram() const
TMVA::PDF::EInterpolateMethod fInterpolMethod
friend std::istream & operator>>(std::istream &istr, PDF &tree)
Double_t GetValInverse(Double_t y, Bool_t isMonotonouslyIncreasingFunction=kFALSE) const
returns value
Double_t GetPdfHistBinWidth() const
void CheckHist() const
sanity check: compare PDF with original histogram
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
void ReadXML(void *pdfnode)
XML file reading.
friend std::ostream & operator<<(std::ostream &os, const PDF &tree)
TString fInterpolateString
void DeclareOptions()
define the options (their key words) that can be set in the option string
TF1 * fIGetVal
needed to create PDF from histogram
void AddXMLTo(void *parent)
XML file writing.
void BuildSplinePDF()
build the PDF from the original histograms
UInt_t GetReadingVersion() const
void FillSplineToHist()
creates high-binned reference histogram to be used instead of the PDF for speed reasons
void BuildKDEPDF()
creates high-binned reference histogram to be used instead of the PDF for speed reasons
MsgLogger & Log() const
message logger
Int_t GetHistNBins(Int_t evtNum=0)
static const Double_t fgEpsilon
TH1 * GetOriginalHist() const
static PDF *& GetThisPdfThreadLocal()
void ValidatePDF(TH1 *original=0) const
comparison of original histogram with reference PDF
Double_t GetVal(Double_t x) const
returns value PDF(x)
Double_t GetIntegral() const
computes normalisation
TSpline * GetSpline() const
MsgLogger * fLogger
the suffix for options
TH1 * GetNSmoothHist() const
TH1 * GetSmoothedHist() const
static const Int_t fgNbin_PdfHist
TMVA::PDF::EInterpolateMethod GetInterpolMethod()
KDEKernel::EKernelIter fKDEiter
TGraph * GetGraph() const
const char * GetName() const
Returns name of object.
static PDF * ThisPDF(void)
Base class for spline implementation containing the Draw/Paint methods.
create variable transformations
std::istream & operator>>(std::istream &istr, BinaryTree &tree)