Logo ROOT   6.08/07
Reference Guide
Namespaces | Typedefs | Functions
FitUtil.h File Reference
#include "Math/IParamFunctionfwd.h"
#include "Fit/DataVectorfwd.h"
Include dependency graph for FitUtil.h:
This graph shows which files directly or indirectly include this file:

Namespaces

 ROOT
 This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecutor::MapReduce.
 
 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
 

Typedefs

typedef ROOT::Math::IParamMultiGradFunction ROOT::Fit::FitUtil::IGradModelFunction
 
typedef ROOT::Math::IParamMultiFunction ROOT::Fit::FitUtil::IModelFunction
 

Functions

double ROOT::Fit::FitUtil::EvaluateChi2 (const IModelFunction &func, const BinData &data, const double *x, unsigned int &nPoints)
 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)
 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)
 Parallel evaluate the Chi2 given a model function and the data at the point x. More...
 
double ROOT::Fit::FitUtil::EvaluateLogL (const IModelFunction &func, const UnBinData &data, const double *x, int iWeight, bool extended, unsigned int &nPoints)
 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)
 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)
 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)
 evaluate the Poisson LogL given a model function and the data at the point x. More...