Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
ROOT::Fit::FitUtil::IntegralEvaluator< ParamFunc > Class Template Reference

template<class ParamFunc = ROOT::Math::IParamMultiFunctionTempl<double>>
class ROOT::Fit::FitUtil::IntegralEvaluator< ParamFunc >

Definition at line 128 of file FitUtil.h.

Public Member Functions

 IntegralEvaluator (const ParamFunc &func, const double *p, bool useIntegral=true)
 
 ~IntegralEvaluator ()
 
double F1 (double x) const
 
double FN (const double *x) const
 
double Integral (const double *x1, const double *x2)
 
double operator() (const double *x1, const double *x2)
 
void SetFunction (const ParamFunc &func, const double *p=0)
 
void SetParameters (const double *p)
 

Private Member Functions

 IntegralEvaluator (const IntegralEvaluator &rhs)
 
template<class T >
double ExecFunc (T *f, const double *x, const double *p) const
 
IntegralEvaluatoroperator= (const IntegralEvaluator &rhs)
 

Private Attributes

unsigned int fDim
 
const ParamFunc * fFunc
 
ROOT::Math::IGenFunctionfFunc1Dim
 
ROOT::Math::IMultiGenFunctionfFuncNDim
 
ROOT::Math::IntegratorOneDimfIg1Dim
 
ROOT::Math::IntegratorMultiDimfIgNDim
 
const double * fParams
 

#include <Fit/FitUtil.h>

Constructor & Destructor Documentation

◆ IntegralEvaluator() [1/2]

template<class ParamFunc = ROOT::Math::IParamMultiFunctionTempl<double>>
ROOT::Fit::FitUtil::IntegralEvaluator< ParamFunc >::IntegralEvaluator ( const ParamFunc &  func,
const double *  p,
bool  useIntegral = true 
)
inline

Definition at line 131 of file FitUtil.h.

◆ ~IntegralEvaluator()

template<class ParamFunc = ROOT::Math::IParamMultiFunctionTempl<double>>
ROOT::Fit::FitUtil::IntegralEvaluator< ParamFunc >::~IntegralEvaluator ( )
inline

Definition at line 174 of file FitUtil.h.

◆ IntegralEvaluator() [2/2]

template<class ParamFunc = ROOT::Math::IParamMultiFunctionTempl<double>>
ROOT::Fit::FitUtil::IntegralEvaluator< ParamFunc >::IntegralEvaluator ( const IntegralEvaluator< ParamFunc > &  rhs)
private

Member Function Documentation

◆ ExecFunc()

template<class ParamFunc = ROOT::Math::IParamMultiFunctionTempl<double>>
template<class T >
double ROOT::Fit::FitUtil::IntegralEvaluator< ParamFunc >::ExecFunc ( T *  f,
const double *  x,
const double *  p 
) const
inlineprivate

Definition at line 222 of file FitUtil.h.

◆ F1()

template<class ParamFunc = ROOT::Math::IParamMultiFunctionTempl<double>>
double ROOT::Fit::FitUtil::IntegralEvaluator< ParamFunc >::F1 ( double  x) const
inline

Definition at line 188 of file FitUtil.h.

◆ FN()

template<class ParamFunc = ROOT::Math::IParamMultiFunctionTempl<double>>
double ROOT::Fit::FitUtil::IntegralEvaluator< ParamFunc >::FN ( const double *  x) const
inline

Definition at line 194 of file FitUtil.h.

◆ Integral()

template<class ParamFunc = ROOT::Math::IParamMultiFunctionTempl<double>>
double ROOT::Fit::FitUtil::IntegralEvaluator< ParamFunc >::Integral ( const double *  x1,
const double *  x2 
)
inline

Definition at line 196 of file FitUtil.h.

◆ operator()()

template<class ParamFunc = ROOT::Math::IParamMultiFunctionTempl<double>>
double ROOT::Fit::FitUtil::IntegralEvaluator< ParamFunc >::operator() ( const double *  x1,
const double *  x2 
)
inline

Definition at line 202 of file FitUtil.h.

◆ operator=()

template<class ParamFunc = ROOT::Math::IParamMultiFunctionTempl<double>>
IntegralEvaluator & ROOT::Fit::FitUtil::IntegralEvaluator< ParamFunc >::operator= ( const IntegralEvaluator< ParamFunc > &  rhs)
private

◆ SetFunction()

template<class ParamFunc = ROOT::Math::IParamMultiFunctionTempl<double>>
void ROOT::Fit::FitUtil::IntegralEvaluator< ParamFunc >::SetFunction ( const ParamFunc &  func,
const double *  p = 0 
)
inline

Definition at line 139 of file FitUtil.h.

◆ SetParameters()

template<class ParamFunc = ROOT::Math::IParamMultiFunctionTempl<double>>
void ROOT::Fit::FitUtil::IntegralEvaluator< ParamFunc >::SetParameters ( const double *  p)
inline

Definition at line 168 of file FitUtil.h.

Member Data Documentation

◆ fDim

template<class ParamFunc = ROOT::Math::IParamMultiFunctionTempl<double>>
unsigned int ROOT::Fit::FitUtil::IntegralEvaluator< ParamFunc >::fDim
private

Definition at line 251 of file FitUtil.h.

◆ fFunc

template<class ParamFunc = ROOT::Math::IParamMultiFunctionTempl<double>>
const ParamFunc* ROOT::Fit::FitUtil::IntegralEvaluator< ParamFunc >::fFunc
private

Definition at line 255 of file FitUtil.h.

◆ fFunc1Dim

template<class ParamFunc = ROOT::Math::IParamMultiFunctionTempl<double>>
ROOT::Math::IGenFunction* ROOT::Fit::FitUtil::IntegralEvaluator< ParamFunc >::fFunc1Dim
private

Definition at line 258 of file FitUtil.h.

◆ fFuncNDim

template<class ParamFunc = ROOT::Math::IParamMultiFunctionTempl<double>>
ROOT::Math::IMultiGenFunction* ROOT::Fit::FitUtil::IntegralEvaluator< ParamFunc >::fFuncNDim
private

Definition at line 259 of file FitUtil.h.

◆ fIg1Dim

template<class ParamFunc = ROOT::Math::IParamMultiFunctionTempl<double>>
ROOT::Math::IntegratorOneDim* ROOT::Fit::FitUtil::IntegralEvaluator< ParamFunc >::fIg1Dim
private

Definition at line 256 of file FitUtil.h.

◆ fIgNDim

template<class ParamFunc = ROOT::Math::IParamMultiFunctionTempl<double>>
ROOT::Math::IntegratorMultiDim* ROOT::Fit::FitUtil::IntegralEvaluator< ParamFunc >::fIgNDim
private

Definition at line 257 of file FitUtil.h.

◆ fParams

template<class ParamFunc = ROOT::Math::IParamMultiFunctionTempl<double>>
const double* ROOT::Fit::FitUtil::IntegralEvaluator< ParamFunc >::fParams
private

Definition at line 252 of file FitUtil.h.


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