Logo ROOT   master
Reference Guide
ROOT::Fit::FitUtil::IntegralEvaluator< ParamFunc > Class Template Reference

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

Definition at line 127 of file FitUtil.h.

Public Member Functions

 IntegralEvaluator (const ParamFunc &func, const double *p, bool useIntegral=true, ROOT::Math::IntegrationOneDim::Type igType=ROOT::Math::IntegrationOneDim::kDEFAULT)
 
 ~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, ROOT::Math::IntegrationOneDim::Type igType=ROOT::Math::IntegrationOneDim::kDEFAULT)
 
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 doublefParams
 

#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,
ROOT::Math::IntegrationOneDim::Type  igType = ROOT::Math::IntegrationOneDim::kDEFAULT 
)
inline

Definition at line 130 of file FitUtil.h.

◆ ~IntegralEvaluator()

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

Definition at line 175 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 223 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 189 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 195 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 197 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 203 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,
ROOT::Math::IntegrationOneDim::Type  igType = ROOT::Math::IntegrationOneDim::kDEFAULT 
)
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 169 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 252 of file FitUtil.h.

◆ fFunc

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

Definition at line 256 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 259 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 260 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 257 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 258 of file FitUtil.h.

◆ fParams

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

Definition at line 253 of file FitUtil.h.


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