Logo ROOT   master
Reference Guide
FitUtil.h File Reference
Include dependency graph for FitUtil.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  ROOT::Fit::FitUtil::Evaluate< T >
 
class  ROOT::Fit::FitUtil::IntegralEvaluator< ParamFunc >
 
class  ROOT::Fit::FitUtil::LikelihoodAux< T >
 
class  ROOT::Fit::FitUtil::LikelihoodAux< double >
 

Namespaces

 ROOT
 Returns the available number of logical cores.
 
 ROOT::Fit
 Namespace for the fitting classes.
 
 ROOT::Fit::FitUtil
 namespace defining utility free functions using in Fit for evaluating the various fit method functions (chi2, likelihood, etc..) given the data and the model function
 

Macros

#define USE_PARAMCACHE
 

Typedefs

typedef ROOT::Math::IParamMultiGradFunction ROOT::Fit::FitUtil::IGradModelFunction
 
template<class T >
using ROOT::Fit::FitUtil::IGradModelFunctionTempl = ROOT::Math::IParamMultiGradFunctionTempl< T >
 
typedef ROOT::Math::IParamMultiFunction ROOT::Fit::FitUtil::IModelFunction
 
template<class T >
using ROOT::Fit::FitUtil::IModelFunctionTempl = ROOT::Math::IParamMultiFunctionTempl< T >
 

Functions

double ROOT::Fit::FitUtil::EvaluateChi2 (const IModelFunction &func, const BinData &data, const double *x, unsigned int &nPoints, ROOT::Fit::ExecutionPolicy executionPolicy, unsigned nChunks=0)
 Chi2 Functions. More...
 
double ROOT::Fit::FitUtil::EvaluateChi2Effective (const IModelFunction &func, const BinData &data, const double *x, unsigned int &nPoints)
 evaluate the effective Chi2 given a model function and the data at the point x. More...
 
void ROOT::Fit::FitUtil::EvaluateChi2Gradient (const IModelFunction &func, const BinData &data, const double *x, double *grad, unsigned int &nPoints, ROOT::Fit::ExecutionPolicy executionPolicy=ROOT::Fit::ExecutionPolicy::kSerial, unsigned nChunks=0)
 evaluate the Chi2 gradient given a model function and the data at the point x. More...
 
double ROOT::Fit::FitUtil::EvaluateChi2Residual (const IModelFunction &func, const BinData &data, const double *x, unsigned int ipoint, double *g=0)
 evaluate the residual contribution to the Chi2 given a model function and the BinPoint data and if the pointer g is not null evaluate also the gradient of the residual. More...
 
double ROOT::Fit::FitUtil::EvaluateLogL (const IModelFunction &func, const UnBinData &data, const double *p, int iWeight, bool extended, unsigned int &nPoints, ROOT::Fit::ExecutionPolicy executionPolicy, unsigned nChunks=0)
 evaluate the LogL given a model function and the data at the point x. More...
 
void ROOT::Fit::FitUtil::EvaluateLogLGradient (const IModelFunction &func, const UnBinData &data, const double *x, double *grad, unsigned int &nPoints, ROOT::Fit::ExecutionPolicy executionPolicy=ROOT::Fit::ExecutionPolicy::kSerial, unsigned nChunks=0)
 evaluate the LogL gradient given a model function and the data at the point x. More...
 
double ROOT::Fit::FitUtil::EvaluatePdf (const IModelFunction &func, const UnBinData &data, const double *x, unsigned int ipoint, double *g=0)
 evaluate the pdf contribution to the LogL given a model function and the BinPoint data. More...
 
double ROOT::Fit::FitUtil::EvaluatePoissonBinPdf (const IModelFunction &func, const BinData &data, const double *x, unsigned int ipoint, double *g=0)
 evaluate the pdf contribution to the Poisson LogL given a model function and the BinPoint data. More...
 
double ROOT::Fit::FitUtil::EvaluatePoissonLogL (const IModelFunction &func, const BinData &data, const double *x, int iWeight, bool extended, unsigned int &nPoints, ROOT::Fit::ExecutionPolicy executionPolicy, unsigned nChunks=0)
 evaluate the Poisson LogL given a model function and the data at the point x. More...
 
void ROOT::Fit::FitUtil::EvaluatePoissonLogLGradient (const IModelFunction &func, const BinData &data, const double *x, double *grad, unsigned int &nPoints, ROOT::Fit::ExecutionPolicy executionPolicy=ROOT::Fit::ExecutionPolicy::kSerial, unsigned nChunks=0)
 evaluate the Poisson LogL given a model function and the data at the point x. More...
 
unsigned ROOT::Fit::FitUtil::setAutomaticChunking (unsigned nEvents)
 

Macro Definition Documentation

◆ USE_PARAMCACHE

#define USE_PARAMCACHE

Definition at line 34 of file FitUtil.h.