Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Math::PDFIntegral Class Reference

Definition at line 77 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:
[legend]

Constructor & Destructor Documentation

◆ ~PDFIntegral()

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

Definition at line 85 of file GoFTest.cxx.

◆ PDFIntegral()

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

Definition at line 87 of file GoFTest.cxx.

Member Function Documentation

◆ Clone()

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

Clone a function.

Each derived class will implement their version of the private DoClone method.

Implements ROOT::Math::IBaseFunctionOneDim.

Definition at line 119 of file GoFTest.cxx.

◆ DoEval()

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

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

Implements ROOT::Math::IBaseFunctionOneDim.

Definition at line 110 of file GoFTest.cxx.

Member Data Documentation

◆ fIntegral

IntegratorOneDim ROOT::Math::PDFIntegral::fIntegral
mutableprivate

Definition at line 81 of file GoFTest.cxx.

◆ fNorm

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

Definition at line 80 of file GoFTest.cxx.

◆ fPDF

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

Definition at line 82 of file GoFTest.cxx.

◆ fXmax

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

Definition at line 79 of file GoFTest.cxx.

◆ fXmin

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

Definition at line 78 of file GoFTest.cxx.

  • math/mathcore/src/GoFTest.cxx