Logo ROOT  
Reference Guide
ROOT::Math::CDFWrapper Struct Reference

Definition at line 39 of file GoFTest.cxx.

Public Member Functions

 CDFWrapper (const IGenFunction &cdf, Double_t xmin=0, Double_t xmax=-1)
 
virtual ~CDFWrapper ()
 
IGenFunctionClone () const
 Clone a function. More...
 
Double_t DoEval (Double_t x) const
 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...
 

Public Attributes

const IGenFunctionfCDF
 
Double_t fNorm
 
Double_t fXmax
 
Double_t fXmin
 

Additional Inherited Members

- Public Types inherited from ROOT::Math::IBaseFunctionOneDim
typedef IBaseFunctionOneDim BaseFunc
 
Inheritance diagram for ROOT::Math::CDFWrapper:
[legend]

Constructor & Destructor Documentation

◆ ~CDFWrapper()

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

Definition at line 47 of file GoFTest.cxx.

◆ CDFWrapper()

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

Definition at line 49 of file GoFTest.cxx.

Member Function Documentation

◆ Clone()

IGenFunction * ROOT::Math::CDFWrapper::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 70 of file GoFTest.cxx.

◆ DoEval()

Double_t ROOT::Math::CDFWrapper::DoEval ( Double_t  x) const
inlinevirtual

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

Implements ROOT::Math::IBaseFunctionOneDim.

Definition at line 64 of file GoFTest.cxx.

Member Data Documentation

◆ fCDF

const IGenFunction* ROOT::Math::CDFWrapper::fCDF

Definition at line 44 of file GoFTest.cxx.

◆ fNorm

Double_t ROOT::Math::CDFWrapper::fNorm

Definition at line 43 of file GoFTest.cxx.

◆ fXmax

Double_t ROOT::Math::CDFWrapper::fXmax

Definition at line 42 of file GoFTest.cxx.

◆ fXmin

Double_t ROOT::Math::CDFWrapper::fXmin

Definition at line 41 of file GoFTest.cxx.

Collaboration diagram for ROOT::Math::CDFWrapper:
[legend]

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