10 #ifndef ROOT_TBackCompFitter_H_ 11 #define ROOT_TBackCompFitter_H_ 13 #ifndef ROOT_TVirtualFitter 20 #ifndef ROOT_Fit_Fitter 24 #ifndef ROOT_Fit_DataVector 28 #ifndef ROOT_Math_IFunctionfwd 62 TBackCompFitter(
const std::shared_ptr<ROOT::Fit::Fitter> & fitter,
const std::shared_ptr<ROOT::Fit::FitData> &
data );
69 kCanDeleteLast =
BIT(9)
74 virtual void Clear(
Option_t *option=
"");
76 virtual void FixParameter(
Int_t ipar);
81 virtual Double_t *GetCovarianceMatrix()
const;
84 virtual Int_t GetNumberTotalParameters()
const;
85 virtual Int_t GetNumberFreeParameters()
const;
90 virtual const char *GetParName(
Int_t ipar)
const;
97 virtual void ReleaseParameter(
Int_t ipar);
98 virtual void SetFitMethod(
const char *
name);
103 virtual void SetFCN(
void * )
127 bool Scan(
unsigned int ipar,
TGraph *
gr,
double xmin = 0,
double xmax = 0);
135 bool Contour(
unsigned int ipar,
unsigned int jpar,
TGraph * gr ,
double confLevel = 0.683);
141 void ReCreateMinimizer();
146 bool ValidParameterIndex(
int ipar)
const;
147 void DoSetDimension();
167 #endif //ROOT_TBackCompFitter_H_
#define R__DEPRECATED(MAJOR, MINOR, REASON)
double Chisquare(const TH1 &h1, TF1 &f1, bool useRange, bool usePL=false)
compute the chi2 value for an histogram given a function (see TH1::Chisquare for the documentation) ...
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
Base class for all the fit data types.
ROOT::Math::Minimizer * fMinimizer
pointer to fitter object
Backward compatible implementation of TVirtualFitter.
bool GetConfidenceIntervals(const TH1 *h1, const ROOT::Fit::FitResult &r, TGraphErrors *gr, double cl=0.95)
compute confidence intervals at level cl for a fitted histogram h1 in a TGraphErrors gr ...
#define ClassDef(name, id)
Extends the ROOT::Fit::Result class with a TNamed inheritance providing easy possibility for I/O...
Abstract Minimizer class, defining the interface for the various minimizer (like Minuit2, Minuit, GSL, etc..) Plug-in's exist in ROOT to be able to instantiate the derived classes like ROOT::Math::GSLMinimizer or ROOT::Math::Minuit2Minimizer via the plug-in manager.
const ROOT::Fit::FitData & GetFitData() const
Method or function calling interface.
const ROOT::Fit::FitResult & GetFitResult() const
ROOT::Math::IMultiGenFunction * fObjFunc
IParamFunction interface (abstract class) describing multi-dimensional parameteric functions It is a ...
RooCmdArg Minimizer(const char *type, const char *alg=0)
class containg the result of the fit and all the related information (fitted parameter values...
std::shared_ptr< ROOT::Fit::FitData > fFitData
TFitResultPtr Fit(FitObject *h1, TF1 *f1, Foption_t &option, const ROOT::Math::MinimizerOptions &moption, const char *goption, ROOT::Fit::DataRange &range)
Namespace for new Math classes and functions.
Abstract Base Class for Fitting.
Mother of all ROOT objects.
std::vector< double > fCovar
A Graph is a graphics object made of two arrays X and Y with npoints each.
std::shared_ptr< ROOT::Fit::Fitter > fFitter
data of the fit
Documentation for the abstract class IBaseFunctionMultiDim.
ROOT::Math::IParamMultiFunction * fModelFunc
Class describing the configuration of the fit, options and parameter settings using the ROOT::Fit::Pa...
ROOT::Fit::FitConfig & GetFitConfig()