Logo ROOT  
Reference Guide
ROOT::Math::PDFIntegral Class Reference

Definition at line 76 of file GoFTest.cxx.

Public Member Functions

 PDFIntegral (const IGenFunction &pdf, Double_t xmin=0, Double_t xmax=-1)
 ~PDFIntegral () override
IGenFunctionClone () const override
 Clone a function. More...
Double_t DoEval (Double_t x) const override
 implementation of the evaluation function. Must be implemented by derived classes More...
- Public Member Functions inherited from ROOT::Math::IBaseFunctionOneDim
 IBaseFunctionOneDim ()
virtual ~IBaseFunctionOneDim ()
 virtual destructor More...
virtual IBaseFunctionOneDimClone () const =0
 Clone a function. More...
double operator() (const double *x) const
 Evaluate the function at a point x[]. More...
double operator() (double x) const
 Evaluate the function at a point x Use the a pure virtual private method DoEval which must be implemented by sub-classes. More...

Private Attributes

IntegratorOneDim fIntegral
Double_t fNorm
const IGenFunctionfPDF
Double_t fXmax
Double_t fXmin

Additional Inherited Members

- Public Types inherited from ROOT::Math::IBaseFunctionOneDim
typedef IBaseFunctionOneDim BaseFunc
Inheritance diagram for ROOT::Math::PDFIntegral:

Constructor & Destructor Documentation

◆ ~PDFIntegral()

ROOT::Math::PDFIntegral::~PDFIntegral ( )

Definition at line 84 of file GoFTest.cxx.

◆ PDFIntegral()

ROOT::Math::PDFIntegral::PDFIntegral ( const IGenFunction pdf,
Double_t  xmin = 0,
Double_t  xmax = -1 

Definition at line 86 of file GoFTest.cxx.

Member Function Documentation

◆ Clone()

IGenFunction * ROOT::Math::PDFIntegral::Clone ( ) const

Clone a function.

Each derived class will implement their version of the provate DoClone method

Implements ROOT::Math::IBaseFunctionOneDim.

Definition at line 118 of file GoFTest.cxx.

◆ DoEval()

Double_t ROOT::Math::PDFIntegral::DoEval ( Double_t  x) const

implementation of the evaluation function. Must be implemented by derived classes

Implements ROOT::Math::IBaseFunctionOneDim.

Definition at line 109 of file GoFTest.cxx.

Member Data Documentation

◆ fIntegral

IntegratorOneDim ROOT::Math::PDFIntegral::fIntegral

Definition at line 80 of file GoFTest.cxx.

◆ fNorm

Double_t ROOT::Math::PDFIntegral::fNorm

Definition at line 79 of file GoFTest.cxx.

◆ fPDF

const IGenFunction* ROOT::Math::PDFIntegral::fPDF

Definition at line 81 of file GoFTest.cxx.

◆ fXmax

Double_t ROOT::Math::PDFIntegral::fXmax

Definition at line 78 of file GoFTest.cxx.

◆ fXmin

Double_t ROOT::Math::PDFIntegral::fXmin

Definition at line 77 of file GoFTest.cxx.

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