Logo ROOT  
Reference Guide
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)
 ~PDFIntegral () override
IGenFunctionClone () const override
 Clone a function.
Double_t DoEval (Double_t x) const override
 implementation of the evaluation function. Must be implemented by derived classes
- Public Member Functions inherited from ROOT::Math::IBaseFunctionOneDim
virtual ~IBaseFunctionOneDim ()=default
virtual bool HasGradient () const
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.

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 private 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.

  • math/mathcore/src/GoFTest.cxx