Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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, 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 131 of file FitUtil.h.

◆ ~IntegralEvaluator()

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

Definition at line 176 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 224 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 190 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 196 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 198 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 204 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 140 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 170 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 253 of file FitUtil.h.

◆ fFunc

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

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

◆ fParams

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

Definition at line 254 of file FitUtil.h.

  • math/mathcore/inc/Fit/FitUtil.h