Logo ROOT   6.18/05
Reference Guide
List of all members | Public Types | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
TMVA::PDF Class Reference

PDF wrapper for histograms; uses user-defined spline interpolation.

Definition at line 63 of file PDF.h.

Public Types

enum  EInterpolateMethod {
  kSpline0 , kSpline1 , kSpline2 , kSpline3 ,
  kSpline5 , kKDE
}
 
- Public Types inherited from TObject
enum  {
  kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 ,
  kBitMask = 0x00ffffff
}
 
enum  { kSingleKey = BIT(0) , kOverwrite = BIT(1) , kWriteDelete = BIT(2) }
 
enum  EDeprecatedStatusBits { kObjInCanvas = BIT(3) }
 
enum  EStatusBits {
  kCanDelete = BIT(0) , kMustCleanup = BIT(3) , kIsReferenced = BIT(4) , kHasUUID = BIT(5) ,
  kCannotPick = BIT(6) , kNoContextMenu = BIT(8) , kInvalidObject = BIT(13)
}
 

Public Member Functions

 PDF (const TString &name, Bool_t norm=kTRUE)
 default constructor needed for ROOT I/O More...
 
 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)
 constructor of spline based PDF: More...
 
 PDF (const TString &name, const TH1 *theHist, KDEKernel::EKernelType ktype, KDEKernel::EKernelIter kiter, KDEKernel::EKernelBorder kborder, Float_t FineFactor, Bool_t norm=kTRUE)
 constructor of kernel based PDF: More...
 
 PDF (const TString &name, const TString &options, const TString &suffix="", PDF *defaultPDF=0, Bool_t norm=kTRUE)
 
virtual ~PDF ()
 
void AddXMLTo (void *parent)
 XML file writing. More...
 
void BuildPDF (const TH1 *theHist)
 
void DeclareOptions ()
 define the options (their key words) that can be set in the option string More...
 
TGraphGetGraph () const
 
Int_t GetHistNBins (Int_t evtNum=0)
 
Double_t GetIntegral (Double_t xmin, Double_t xmax)
 computes PDF integral within given ranges More...
 
TMVA::PDF::EInterpolateMethod GetInterpolMethod ()
 
const char * GetName () const
 Returns name of object. More...
 
Int_t GetNBins () const
 
TH1GetNSmoothHist () const
 
TH1GetOriginalHist () const
 
TH1GetPDFHist () const
 
UInt_t GetReadingVersion () const
 
TH1GetSmoothedHist () const
 
TSplineGetSpline () const
 
Double_t GetVal (Double_t x) const
 returns value PDF(x) More...
 
Double_t GetValInverse (Double_t y, Bool_t isMonotonouslyIncreasingFunction=kFALSE) const
 returns value \( PDF^{-1}(y) \) More...
 
Double_t GetXmax () const
 
Double_t GetXmin () const
 
void ProcessOptions ()
 
void ReadXML (void *pdfnode)
 XML file reading. More...
 
void SetReadingVersion (UInt_t rv)
 
void ValidatePDF (TH1 *original=0) const
 comparison of original histogram with reference PDF More...
 
- Public Member Functions inherited from TMVA::Configurable
 Configurable (const TString &theOption="")
 constructor More...
 
virtual ~Configurable ()
 default destructor More...
 
void AddOptionsXMLTo (void *parent) const
 write options to XML file More...
 
template<class T >
void AddPreDefVal (const T &)
 
template<class T >
void AddPreDefVal (const TString &optname, const T &)
 
void CheckForUnusedOptions () const
 checks for unused options in option string More...
 
template<class T >
TMVA::OptionBaseDeclareOptionRef (T &ref, const TString &name, const TString &desc)
 
template<class T >
OptionBaseDeclareOptionRef (T &ref, const TString &name, const TString &desc="")
 
template<class T >
TMVA::OptionBaseDeclareOptionRef (T *&ref, Int_t size, const TString &name, const TString &desc)
 
template<class T >
OptionBaseDeclareOptionRef (T *&ref, Int_t size, const TString &name, const TString &desc="")
 
const char * GetConfigDescription () const
 
const char * GetConfigName () const
 
const TStringGetOptions () const
 
MsgLoggerLog () const
 
virtual void ParseOptions ()
 options parser More...
 
void PrintOptions () const
 prints out the options set in the options string and the defaults More...
 
void ReadOptionsFromStream (std::istream &istr)
 read option back from the weight file More...
 
void ReadOptionsFromXML (void *node)
 
void SetConfigDescription (const char *d)
 
void SetConfigName (const char *n)
 
void SetMsgType (EMsgType t)
 
void SetOptions (const TString &s)
 
void WriteOptionsToStream (std::ostream &o, const TString &prefix) const
 write options to output stream (e.g. in writing the MVA weight files More...
 
- Public Member Functions inherited from TNamed
 TNamed ()
 
 TNamed (const char *name, const char *title)
 
 TNamed (const TNamed &named)
 TNamed copy ctor. More...
 
 TNamed (const TString &name, const TString &title)
 
virtual ~TNamed ()
 TNamed destructor. More...
 
virtual void Clear (Option_t *option="")
 Set name and title to empty strings (""). More...
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility. More...
 
virtual Int_t Compare (const TObject *obj) const
 Compare two TNamed objects. More...
 
virtual void Copy (TObject &named) const
 Copy this to obj. More...
 
virtual void FillBuffer (char *&buffer)
 Encode TNamed into output buffer. More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
virtual const char * GetTitle () const
 Returns title of object. More...
 
virtual ULong_t Hash () const
 Return hash value for this object. More...
 
virtual Bool_t IsSortable () const
 
virtual void ls (Option_t *option="") const
 List TNamed name and title. More...
 
TNamedoperator= (const TNamed &rhs)
 TNamed assignment operator. More...
 
virtual void Print (Option_t *option="") const
 Print TNamed name and title. More...
 
virtual void SetName (const char *name)
 Set the name of the TNamed. More...
 
virtual void SetNameTitle (const char *name, const char *title)
 Set all the TNamed parameters (name and title). More...
 
virtual void SetTitle (const char *title="")
 Set the title of the TNamed. More...
 
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject. More...
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor. More...
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
virtual ~TObject ()
 TObject destructor. More...
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract. More...
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad. More...
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action. More...
 
ULong_t CheckedHash ()
 Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object. More...
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs. More...
 
virtual void Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility. More...
 
virtual Int_t Compare (const TObject *obj) const
 Compare abstract method. More...
 
virtual void Copy (TObject &object) const
 Copy this to obj. More...
 
virtual void Delete (Option_t *option="")
 Delete this object. More...
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object. More...
 
virtual void Draw (Option_t *option="")
 Default Draw method for all objects. More...
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs. More...
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current selected pad for instance with: gROOT->SetSelectedPad(gPad). More...
 
virtual void Dump () const
 Dump contents of object on stdout. More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. More...
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 Execute method on this object with the given parameter string, e.g. More...
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray. More...
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py). More...
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. More...
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes. More...
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes. More...
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object. More...
 
virtual const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual Option_tGetOption () const
 
virtual const char * GetTitle () const
 Returns title of object. More...
 
virtual UInt_t GetUniqueID () const
 Return the unique object id. More...
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out. More...
 
virtual ULong_t Hash () const
 Return hash value for this object. More...
 
Bool_t HasInconsistentHash () const
 Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e. More...
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. More...
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname". More...
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl. More...
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas. More...
 
void InvertBit (UInt_t f)
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory). More...
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
virtual void ls (Option_t *option="") const
 The ls function lists the contents of a class on stdout. More...
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More...
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. More...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. More...
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. More...
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator. More...
 
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself. More...
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list. More...
 
virtual void Print (Option_t *option="") const
 This method must be overridden when a class wants to print itself. More...
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory. More...
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list. More...
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename. More...
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out". More...
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f. More...
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object. More...
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id. More...
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More...
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory. More...
 

Private Member Functions

void BuildKDEPDF ()
 creates high-binned reference histogram to be used instead of the PDF for speed reasons More...
 
void BuildSplinePDF ()
 build the PDF from the original histograms More...
 
void CheckHist () const
 sanity check: compare PDF with original histogram More...
 
void FillHistToGraph ()
 Simple conversion. More...
 
void FillSplineToHist ()
 creates high-binned reference histogram to be used instead of the PDF for speed reasons More...
 
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 More...
 
Double_t GetIntegral () const
 computes normalisation More...
 
Double_t GetPdfHistBinWidth () const
 
MsgLoggerLog () const
 message logger More...
 
void SmoothHistogram ()
 
Bool_t UseHistogram () const
 

Static Private Member Functions

static PDF *& GetThisPdfThreadLocal ()
 
static Double_t IGetVal (Double_t *, Double_t *)
 static external auxiliary function (integrand) More...
 
static PDFThisPDF (void)
 

Private Attributes

TString fBorderMethodString
 
Bool_t fCheckHist
 
Float_t fFineFactor
 
TGraphfGraph
 
TH1fHist
 
Int_t fHistAvgEvtPerBin
 
Int_t fHistDefinedNBins
 
TH1fHistOriginal
 
TF1fIGetVal
 needed to create PDF from histogram More...
 
TString fInterpolateString
 
TMVA::PDF::EInterpolateMethod fInterpolMethod
 
KDEKernel::EKernelBorder fKDEborder
 
KDEKernel::EKernelIter fKDEiter
 
TString fKDEiterString
 
KDEKernel::EKernelType fKDEtype
 
TString fKDEtypeString
 
MsgLoggerfLogger
 the suffix for options More...
 
Int_t fMaxNsmooth
 
Int_t fMinNsmooth
 
Bool_t fNormalize
 
Int_t fNsmooth
 
TH1fNSmoothHist
 
TH1fPDFHist
 the used spline type More...
 
TString fPDFName
 
UInt_t fReadingVersion
 
TSplinefSpline
 
TString fSuffix
 
Bool_t fUseHistogram
 

Static Private Attributes

static const Double_t fgEpsilon = 1.0e-12
 
static const Bool_t fgManualIntegration = kTRUE
 
static const Int_t fgNbin_PdfHist = 10000
 

Friends

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

Additional Inherited Members

- Static Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
 Return destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat flag. More...
 
static void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable. More...
 
- Protected Member Functions inherited from TMVA::Configurable
void EnableLooseOptions (Bool_t b=kTRUE)
 
const TStringGetReferenceFile () const
 
Bool_t LooseOptionCheckingEnabled () const
 
void ResetSetFlag ()
 resets the IsSet flag for all declare options to be called before options are read from stream More...
 
void WriteOptionsReferenceToFile ()
 write complete options to output stream More...
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected). More...
 
void MakeZombie ()
 
- Protected Attributes inherited from TMVA::Configurable
MsgLoggerfLogger
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 

#include <TMVA/PDF.h>

Inheritance diagram for TMVA::PDF:
[legend]

Member Enumeration Documentation

◆ EInterpolateMethod

Enumerator
kSpline0 
kSpline1 
kSpline2 
kSpline3 
kSpline5 
kKDE 

Definition at line 70 of file PDF.h.

Constructor & Destructor Documentation

◆ PDF() [1/4]

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

default constructor needed for ROOT I/O

Definition at line 68 of file PDF.cxx.

◆ PDF() [2/4]

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

constructor of spline based PDF:

Definition at line 106 of file PDF.cxx.

◆ PDF() [3/4]

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

constructor of kernel based PDF:

Definition at line 149 of file PDF.cxx.

◆ PDF() [4/4]

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

Definition at line 192 of file PDF.cxx.

◆ ~PDF()

TMVA::PDF::~PDF ( )
virtual

Definition at line 245 of file PDF.cxx.

Member Function Documentation

◆ AddXMLTo()

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

XML file writing.

Definition at line 922 of file PDF.cxx.

◆ BuildKDEPDF()

void TMVA::PDF::BuildKDEPDF ( )
private

creates high-binned reference histogram to be used instead of the PDF for speed reasons

Definition at line 386 of file PDF.cxx.

◆ BuildPDF()

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

Definition at line 259 of file PDF.cxx.

◆ BuildSplinePDF()

void TMVA::PDF::BuildSplinePDF ( )
private

build the PDF from the original histograms

Definition at line 320 of file PDF.cxx.

◆ CheckHist()

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

sanity check: compare PDF with original histogram

Definition at line 556 of file PDF.cxx.

◆ DeclareOptions()

void TMVA::PDF::DeclareOptions ( )

define the options (their key words) that can be set in the option string

know options:

PDFInterpol[ivar] <string> Spline0, Spline1, Spline2 <default>, Spline3, Spline5, KDE used to interpolate reference histograms if no variable index is given, it is valid for ALL the variables

  • NSmooth <int> how often the input histos are smoothed
  • MinNSmooth <int> min number of smoothing iterations, for bins with most data
  • MaxNSmooth <int> max number of smoothing iterations, for bins with least data
  • NAvEvtPerBin <int> minimum average number of events per PDF bin
  • TransformOutput <bool> transform (often strongly peaked) likelihood output through sigmoid inversion
  • fKDEtype <KernelType> type of the Kernel to use (1 is Gaussian)
  • fKDEiter <KerneIter> number of iterations (1 --> "static KDE", 2 --> "adaptive KDE")
  • fBorderMethod <KernelBorder> the method to take care about "border" effects (1=no treatment , 2=kernel renormalization, 3=sample mirroring)

Definition at line 823 of file PDF.cxx.

◆ FillHistToGraph()

void TMVA::PDF::FillHistToGraph ( )
private

Simple conversion.

Definition at line 517 of file PDF.cxx.

◆ FillSplineToHist()

void TMVA::PDF::FillSplineToHist ( )
private

creates high-binned reference histogram to be used instead of the PDF for speed reasons

Definition at line 526 of file PDF.cxx.

◆ FindBinInverse()

void TMVA::PDF::FindBinInverse ( const TH1 histogram,
Int_t lowerBin,
Int_t higherBin,
Double_t lowerBinValue,
Double_t higherBinValue,
Double_t  y,
Bool_t  isMonotonouslyIncreasingFunction = kFALSE 
) const
private

find bin from value on ordinate

Definition at line 764 of file PDF.cxx.

◆ GetGraph()

TGraph * TMVA::PDF::GetGraph ( ) const
inline

Definition at line 93 of file PDF.h.

◆ GetHistNBins()

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

Definition at line 303 of file PDF.cxx.

◆ GetIntegral() [1/2]

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

computes normalisation

Definition at line 638 of file PDF.cxx.

◆ GetIntegral() [2/2]

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

computes PDF integral within given ranges

Definition at line 657 of file PDF.cxx.

◆ GetInterpolMethod()

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

Definition at line 113 of file PDF.h.

◆ GetName()

const char * TMVA::PDF::GetName ( ) const
inlinevirtual

Returns name of object.

This default method returns the class name. Classes that give objects a name should override this method.

Reimplemented from TNamed.

Definition at line 116 of file PDF.h.

◆ GetNBins()

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

Definition at line 103 of file PDF.h.

◆ GetNSmoothHist()

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

Definition at line 96 of file PDF.h.

◆ GetOriginalHist()

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

Definition at line 94 of file PDF.h.

◆ GetPDFHist()

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

Definition at line 92 of file PDF.h.

◆ GetPdfHistBinWidth()

Double_t TMVA::PDF::GetPdfHistBinWidth ( ) const
inlineprivate

Definition at line 138 of file PDF.h.

◆ GetReadingVersion()

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

Definition at line 120 of file PDF.h.

◆ GetSmoothedHist()

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

Definition at line 95 of file PDF.h.

◆ GetSpline()

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

Definition at line 102 of file PDF.h.

◆ GetThisPdfThreadLocal()

static PDF *& TMVA::PDF::GetThisPdfThreadLocal ( )
inlinestaticprivate

Definition at line 205 of file PDF.h.

◆ GetVal()

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

returns value PDF(x)

Definition at line 704 of file PDF.cxx.

◆ GetValInverse()

Double_t TMVA::PDF::GetValInverse ( Double_t  y,
Bool_t  isMonotonouslyIncreasingFunction = kFALSE 
) const

returns value \( PDF^{-1}(y) \)

Definition at line 737 of file PDF.cxx.

◆ GetXmax()

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

Definition at line 105 of file PDF.h.

◆ GetXmin()

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

Definition at line 104 of file PDF.h.

◆ IGetVal()

Double_t TMVA::PDF::IGetVal ( Double_t x,
Double_t  
)
staticprivate

static external auxiliary function (integrand)

Definition at line 649 of file PDF.cxx.

◆ Log()

MsgLogger & TMVA::PDF::Log ( ) const
inlineprivate

message logger

Definition at line 200 of file PDF.h.

◆ ProcessOptions()

void TMVA::PDF::ProcessOptions ( )

Definition at line 873 of file PDF.cxx.

◆ ReadXML()

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

XML file reading.

Definition at line 964 of file PDF.cxx.

◆ SetReadingVersion()

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

Definition at line 119 of file PDF.h.

◆ SmoothHistogram()

void TMVA::PDF::SmoothHistogram ( )
private

Definition at line 454 of file PDF.cxx.

◆ ThisPDF()

TMVA::PDF * TMVA::PDF::ThisPDF ( void  )
staticprivate

Definition at line 1139 of file PDF.cxx.

◆ UseHistogram()

Bool_t TMVA::PDF::UseHistogram ( ) const
inlineprivate

Definition at line 144 of file PDF.h.

◆ ValidatePDF()

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

comparison of original histogram with reference PDF

Definition at line 581 of file PDF.cxx.

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const PDF tree 
)
friend

◆ operator>>

std::istream & operator>> ( std::istream &  istr,
PDF tree 
)
friend

Member Data Documentation

◆ fBorderMethodString

TString TMVA::PDF::fBorderMethodString
private

Definition at line 185 of file PDF.h.

◆ fCheckHist

Bool_t TMVA::PDF::fCheckHist
private

Definition at line 195 of file PDF.h.

◆ fFineFactor

Float_t TMVA::PDF::fFineFactor
private

Definition at line 191 of file PDF.h.

◆ fgEpsilon

const Double_t TMVA::PDF::fgEpsilon = 1.0e-12
staticprivate

Definition at line 163 of file PDF.h.

◆ fgManualIntegration

const Bool_t TMVA::PDF::fgManualIntegration = kTRUE
staticprivate

Definition at line 162 of file PDF.h.

◆ fgNbin_PdfHist

const Int_t TMVA::PDF::fgNbin_PdfHist = 10000
staticprivate

Definition at line 161 of file PDF.h.

◆ fGraph

TGraph* TMVA::PDF::fGraph
private

Definition at line 177 of file PDF.h.

◆ fHist

TH1* TMVA::PDF::fHist
private

Definition at line 175 of file PDF.h.

◆ fHistAvgEvtPerBin

Int_t TMVA::PDF::fHistAvgEvtPerBin
private

Definition at line 180 of file PDF.h.

◆ fHistDefinedNBins

Int_t TMVA::PDF::fHistDefinedNBins
private

Definition at line 181 of file PDF.h.

◆ fHistOriginal

TH1* TMVA::PDF::fHistOriginal
private

Definition at line 176 of file PDF.h.

◆ fIGetVal

TF1* TMVA::PDF::fIGetVal
private

needed to create PDF from histogram

Definition at line 178 of file PDF.h.

◆ fInterpolateString

TString TMVA::PDF::fInterpolateString
private

Definition at line 186 of file PDF.h.

◆ fInterpolMethod

TMVA::PDF::EInterpolateMethod TMVA::PDF::fInterpolMethod
private

Definition at line 172 of file PDF.h.

◆ fKDEborder

KDEKernel::EKernelBorder TMVA::PDF::fKDEborder
private

Definition at line 190 of file PDF.h.

◆ fKDEiter

KDEKernel::EKernelIter TMVA::PDF::fKDEiter
private

Definition at line 189 of file PDF.h.

◆ fKDEiterString

TString TMVA::PDF::fKDEiterString
private

Definition at line 184 of file PDF.h.

◆ fKDEtype

KDEKernel::EKernelType TMVA::PDF::fKDEtype
private

Definition at line 188 of file PDF.h.

◆ fKDEtypeString

TString TMVA::PDF::fKDEtypeString
private

Definition at line 183 of file PDF.h.

◆ fLogger

MsgLogger* TMVA::PDF::fLogger
mutableprivate

the suffix for options

Definition at line 199 of file PDF.h.

◆ fMaxNsmooth

Int_t TMVA::PDF::fMaxNsmooth
private

Definition at line 169 of file PDF.h.

◆ fMinNsmooth

Int_t TMVA::PDF::fMinNsmooth
private

Definition at line 168 of file PDF.h.

◆ fNormalize

Bool_t TMVA::PDF::fNormalize
private

Definition at line 196 of file PDF.h.

◆ fNsmooth

Int_t TMVA::PDF::fNsmooth
private

Definition at line 167 of file PDF.h.

◆ fNSmoothHist

TH1* TMVA::PDF::fNSmoothHist
private

Definition at line 170 of file PDF.h.

◆ fPDFHist

TH1* TMVA::PDF::fPDFHist
private

the used spline type

Definition at line 174 of file PDF.h.

◆ fPDFName

TString TMVA::PDF::fPDFName
private

Definition at line 166 of file PDF.h.

◆ fReadingVersion

UInt_t TMVA::PDF::fReadingVersion
private

Definition at line 193 of file PDF.h.

◆ fSpline

TSpline* TMVA::PDF::fSpline
private

Definition at line 173 of file PDF.h.

◆ fSuffix

TString TMVA::PDF::fSuffix
private

Definition at line 198 of file PDF.h.

◆ fUseHistogram

Bool_t TMVA::PDF::fUseHistogram
private

Definition at line 155 of file PDF.h.

Libraries for TMVA::PDF:
[legend]

The documentation for this class was generated from the following files: