10 #ifndef ROOT_TBackCompFitter_H_ 11 #define ROOT_TBackCompFitter_H_ 46 TBackCompFitter(
const std::shared_ptr<ROOT::Fit::Fitter> & fitter,
const std::shared_ptr<ROOT::Fit::FitData> &
data );
53 kCanDeleteLast =
BIT(9)
58 virtual void Clear(
Option_t *option=
"");
60 virtual void FixParameter(
Int_t ipar);
65 virtual Double_t *GetCovarianceMatrix()
const;
68 virtual Int_t GetNumberTotalParameters()
const;
69 virtual Int_t GetNumberFreeParameters()
const;
74 virtual const char *GetParName(
Int_t ipar)
const;
81 virtual void ReleaseParameter(
Int_t ipar);
82 virtual void SetFitMethod(
const char *
name);
108 bool Scan(
unsigned int ipar,
TGraph *
gr,
double xmin = 0,
double xmax = 0);
116 bool Contour(
unsigned int ipar,
unsigned int jpar,
TGraph * gr ,
double confLevel = 0.683);
122 void ReCreateMinimizer();
127 bool ValidParameterIndex(
int ipar)
const;
128 void DoSetDimension();
148 #endif //ROOT_TBackCompFitter_H_
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) ...
Namespace for new ROOT classes and functions.
virtual void SetMethodCall(TMethodCall *m)
Base class for all the fit data types: Stores the coordinates and the DataOptions.
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.
static constexpr double eplus
const ROOT::Fit::FitData & GetFitData() const
Method or function calling interface.
const ROOT::Fit::FitResult & GetFitResult() const
Documentation for the abstract class IBaseFunctionMultiDim.
ROOT::Math::IMultiGenFunction * fObjFunc
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
ROOT::Math::IParamMultiFunction * fModelFunc
Class describing the configuration of the fit, options and parameter settings using the ROOT::Fit::Pa...
ROOT::Fit::FitConfig & GetFitConfig()