Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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)
 
virtual ~PDFIntegral ()
 
IGenFunctionClone () const
 Clone a function.
 
Double_t DoEval (Double_t x) const
 implementation of the evaluation function. Must be implemented by derived classes
 
- Public Member Functions inherited from ROOT::Math::IBaseFunctionOneDim
 IBaseFunctionOneDim ()
 
virtual ~IBaseFunctionOneDim ()
 virtual destructor
 
double operator() (const double *x) const
 Evaluate the function at a point x[].
 
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.
 

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:
[legend]

Constructor & Destructor Documentation

◆ ~PDFIntegral()

virtual ROOT::Math::PDFIntegral::~PDFIntegral ( )
inlinevirtual

Definition at line 84 of file GoFTest.cxx.

◆ PDFIntegral()

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

Definition at line 86 of file GoFTest.cxx.

Member Function Documentation

◆ Clone()

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

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
inlinevirtual

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
mutableprivate

Definition at line 80 of file GoFTest.cxx.

◆ fNorm

Double_t ROOT::Math::PDFIntegral::fNorm
private

Definition at line 79 of file GoFTest.cxx.

◆ fPDF

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

Definition at line 81 of file GoFTest.cxx.

◆ fXmax

Double_t ROOT::Math::PDFIntegral::fXmax
private

Definition at line 78 of file GoFTest.cxx.

◆ fXmin

Double_t ROOT::Math::PDFIntegral::fXmin
private

Definition at line 77 of file GoFTest.cxx.

  • math/mathcore/src/GoFTest.cxx