TVirtualFitter


class description - source file - inheritance tree

class TVirtualFitter : public TObject


    public:
virtual void ~TVirtualFitter() static TClass* Class() virtual void Clear(Option_t* option) virtual Int_t ExecuteCommand(const char* command, Double_t* args, Int_t nargs) static TVirtualFitter* Fitter(TObject* obj, Int_t maxpar = 25) virtual void FixParameter(Int_t ipar) virtual Int_t GetErrors(Int_t ipar, Double_t& eplus, Double_t& eminus, Double_t& eparab, Double_t& globcc) static Int_t GetMaxIterations() virtual TObject* GetObjectFit() const virtual Int_t GetParameter(Int_t ipar, char* name, Double_t& value, Double_t& verr, Double_t& vlow, Double_t& vhigh) static Double_t GetPrecision() virtual Int_t GetStats(Double_t& amin, Double_t& edm, Double_t& errdef, Int_t& nvpar, Int_t& nparx) virtual Double_t GetSumLog(Int_t i) virtual TClass* IsA() const virtual void PrintResults(Int_t level, Double_t amin) const virtual void ReleaseParameter(Int_t ipar) virtual void SetFCN(void* fcn) virtual void SetFCN(void (*)(Int_t&, Double_t*, Double_t&f, Double_t*, Int_t) fcn) static void SetFitter(TVirtualFitter* fitter, Int_t maxpar = 25) static void SetMaxIterations(Int_t niter = 5000) virtual void SetObjectFit(TObject* obj) virtual Int_t SetParameter(Int_t ipar, const char* parname, Double_t value, Double_t verr, Double_t vlow, Double_t vhigh) static void SetPrecision(Double_t prec = 1e-6) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
static TVirtualFitter* fgFitter Current fitter (default TFitter) static Int_t fgMaxpar Maximum number of fit parameters for current fitter static Int_t fgMaxiter Maximum number of iterations static Double_t fgPrecision maximum precision


See also

TFitter

Class Description


~TVirtualFitter()
 Cleanup virtual fitter.

TVirtualFitter* Fitter(TObject *obj, Int_t maxpar)
 Static function returning a pointer to the current fitter.
 If the fitter does not exist, the default TFitter is created.

void SetFitter(TVirtualFitter *fitter, Int_t maxpar)
 Static function to set an alternative fitter

Int_t GetMaxIterations()
 Return the maximum number of iterations

Double_t GetPrecision()
 Return the fit relative precision

void SetMaxIterations(Int_t niter)
 Set the maximum number of iterations

void SetPrecision(Double_t prec)
 Set the fit relative precision



Inline Functions


               void Clear(Option_t* option)
              Int_t ExecuteCommand(const char* command, Double_t* args, Int_t nargs)
               void FixParameter(Int_t ipar)
              Int_t GetErrors(Int_t ipar, Double_t& eplus, Double_t& eminus, Double_t& eparab, Double_t& globcc)
           TObject* GetObjectFit() const
              Int_t GetParameter(Int_t ipar, char* name, Double_t& value, Double_t& verr, Double_t& vlow, Double_t& vhigh)
              Int_t GetStats(Double_t& amin, Double_t& edm, Double_t& errdef, Int_t& nvpar, Int_t& nparx)
           Double_t GetSumLog(Int_t i)
               void PrintResults(Int_t level, Double_t amin) const
               void ReleaseParameter(Int_t ipar)
               void SetFCN(void* fcn)
               void SetFCN(void (*)(Int_t&, Double_t*, Double_t&f, Double_t*, Int_t) fcn)
               void SetObjectFit(TObject* obj)
              Int_t SetParameter(Int_t ipar, const char* parname, Double_t value, Double_t verr, Double_t vlow, Double_t vhigh)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)


Author: Rene Brun 31/08/99
Last update: root/base:$Name: $:$Id: TVirtualFitter.cxx,v 1.2 2002/07/16 13:59:19 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.