JSFVirtualFit


class description - source file - inheritance tree

class JSFVirtualFit : public TObject


    public:
JSFVirtualFit() JSFVirtualFit(const JSFVirtualFit&) virtual ~JSFVirtualFit() static TClass* Class() virtual void Derivative(Double_t& chisq, TMatrixD& grad, TMatrixD& second) virtual Bool_t Fit() Double_t GetChisq() Double_t GetChiTest() Double_t GetConfidenceLevel() Double_t GetError(Int_t i, Int_t j) TMatrixD& GetErrorMatrix() Int_t GetMaxTry() Int_t GetNDF() Int_t GetNpar() Int_t GetNtry() TMatrixD& GetParameter() Double_t GetParameter(Int_t i) Bool_t GetStatus() virtual void Initialize() virtual TClass* IsA() const void SetChiTest(Double_t tst) void SetMaxTry(Int_t ntry) void SetNDF(Int_t ndf) void SetNpar(Int_t np) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Double_t fChitst Maximum chi-square change to terminate fit. Int_t fMaxtry Maximum # of fit loop. Int_t fNpar Number of fitted parameter Int_t fNDF Number of freedom of the fit TMatrixD fDD Error Matrix of fit TMatrixD fA Fitted parameter array. Double_t fChisq Results of the fit. Bool_t fStatus kTRUE, when fit is converged. Double_t fConfidenceLevel Confidence level of the fit. Int_t fNtry Number of try before converge.


See also

JSFGeoCFit

Class Description

 JSFVirtualFit

 (Description)
  Virtual Fit class for Neutonian minimization.

 (Author)
   Akiya Miyamoto  21-Feburary-2000


$Id: JSFVirtualFit.cxx,v 1.2 2001/01/04 07:28:03 miyamoto Exp $



JSFVirtualFit()

~JSFVirtualFit()

void Initialize()
 Initialize Fitting.   User should set value to
   fNpar
   fNDF
 then set size of fA and fDD array by
   fA.ResizeTo(fNpar,1);
   fDD.ResizeTo(fNpar,fNpar);

Bool_t Fit()
 Fitting class.

void Derivative(Double_t &chis, JSFDMatrix &grad, JSFDMatrix &second) #else void JSFVirtualFit::Derivative(Double_t &chis, TMatrixD &grad, TMatrixD &second) #endif



Inline Functions


               Bool_t GetStatus()
                Int_t GetNtry()
             Double_t GetConfidenceLevel()
             Double_t GetChisq()
             Double_t GetChiTest()
                Int_t GetMaxTry()
                Int_t GetNpar()
                Int_t GetNDF()
                 void SetChiTest(Double_t tst)
                 void SetMaxTry(Int_t ntry)
                 void SetNpar(Int_t np)
                 void SetNDF(Int_t ndf)
            TMatrixD& GetParameter()
            TMatrixD& GetErrorMatrix()
             Double_t GetError(Int_t i, Int_t j)
             Double_t GetParameter(Int_t i)
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)
        JSFVirtualFit JSFVirtualFit(const JSFVirtualFit&)


Last update: Tue Jan 20 15:55:10 2004


ROOT page - Home 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.