ROOT logo
ROOT » HIST » HIST » TFitResult

class TFitResult: public TNamed, public ROOT::Fit::FitResult

Function Members (Methods)

public:
TFitResult(int status = 0)
TFitResult(const ROOT::Fit::FitResult& f)
TFitResult(const TFitResult&)
virtual~TFitResult()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
doubleROOT::Fit::FitResult::Chi2() const
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
doubleROOT::Fit::FitResult::Correlation(unsigned int i, unsigned int j) const
doubleROOT::Fit::FitResult::CovMatrix(unsigned int i, unsigned int j) const
intROOT::Fit::FitResult::CovMatrixStatus() const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
doubleROOT::Fit::FitResult::Edm() const
doubleError(unsigned int i) const
const vector<double>&ROOT::Fit::FitResult::Errors() const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
ROOT::Fit::FitResultROOT::Fit::FitResult::FitResult()
ROOT::Fit::FitResultROOT::Fit::FitResult::FitResult(const ROOT::Fit::FitConfig& fconfig)
ROOT::Fit::FitResultROOT::Fit::FitResult::FitResult(const ROOT::Fit::FitResult&)
ROOT::Fit::FitResultROOT::Fit::FitResult::FitResult(ROOT::Math::Minimizer& min, const ROOT::Fit::FitConfig& fconfig, const ROOT::Fit::FitResult::IModelFunction* f, bool isValid, unsigned int sizeOfData = 0, bool binFit = true, const ROOT::Math::IMultiGenFunction* chi2func = 0, unsigned int ncalls = 0)
const ROOT::Fit::FitResult::IModelFunction*ROOT::Fit::FitResult::FittedFunction() const
voidROOT::Fit::FitResult::GetConfidenceIntervals(const ROOT::Fit::BinData& data, double* ci, double cl = 0.95, bool norm = true) const
voidROOT::Fit::FitResult::GetConfidenceIntervals(unsigned int n, unsigned int stride1, unsigned int stride2, const double* x, double* ci, double cl = 0.95, bool norm = true) const
TMatrixDSymGetCorrelationMatrix() const
voidROOT::Fit::FitResult::GetCorrelationMatrix<TMatrixDSym>(TMatrixTSym<double>& mat) const
TMatrixDSymGetCovarianceMatrix() const
voidROOT::Fit::FitResult::GetCovarianceMatrix<TMatrixDSym>(TMatrixTSym<double>& mat) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
const double*ROOT::Fit::FitResult::GetErrors() const
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
stringROOT::Fit::FitResult::GetParameterName(unsigned int ipar) const
const double*ROOT::Fit::FitResult::GetParams() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
doubleROOT::Fit::FitResult::GlobalCC(unsigned int i) const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
boolROOT::Fit::FitResult::HasMinosError(unsigned int i) const
intROOT::Fit::FitResult::Index(const string& name) const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
boolROOT::Fit::FitResult::IsEmpty() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
boolROOT::Fit::FitResult::IsParameterBound(unsigned int ipar) const
boolROOT::Fit::FitResult::IsParameterFixed(unsigned int ipar) const
virtual Bool_tTNamed::IsSortable() const
boolROOT::Fit::FitResult::IsValid() const
Bool_tTObject::IsZombie() const
doubleROOT::Fit::FitResult::LowerError(unsigned int i) const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
doubleROOT::Fit::FitResult::MinFcnValue() const
const string&ROOT::Fit::FitResult::MinimizerType() const
unsigned intROOT::Fit::FitResult::NCalls() const
unsigned intROOT::Fit::FitResult::Ndf() const
unsigned intROOT::Fit::FitResult::NFreeParameters() const
boolROOT::Fit::FitResult::NormalizedErrors() const
voidROOT::Fit::FitResult::NormalizeErrors()
virtual Bool_tTObject::Notify()
unsigned intROOT::Fit::FitResult::NPar() const
unsigned intROOT::Fit::FitResult::NTotalParameters() const
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TFitResult&operator=(const TFitResult&)
virtual voidTObject::Paint(Option_t* option = "")
doubleROOT::Fit::FitResult::Parameter(unsigned int i) const
boolROOT::Fit::FitResult::ParameterBounds(unsigned int ipar, double& lower, double& upper) const
const vector<double>&ROOT::Fit::FitResult::Parameters() const
doubleROOT::Fit::FitResult::ParError(unsigned int i) const
stringROOT::Fit::FitResult::ParName(unsigned int i) const
virtual voidTObject::Pop()
virtual voidPrint(Option_t* option = "") const
voidROOT::Fit::FitResult::PrintCovMatrix(ostream& os) const
doubleROOT::Fit::FitResult::Prob() const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidROOT::Fit::FitResult::SetMinosError(unsigned int i, double elow, double eup)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() const
intROOT::Fit::FitResult::Status() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
boolROOT::Fit::FitResult::Update(const ROOT::Math::Minimizer& min, bool isValid, unsigned int ncalls = 0)
doubleROOT::Fit::FitResult::UpperError(unsigned int i) const
virtual voidTObject::UseCurrentStyle()
doubleROOT::Fit::FitResult::Value(unsigned int i) const
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
ROOT::Fit::FitResult::IModelFunction*ROOT::Fit::FitResult::ModelFunction()
voidROOT::Fit::FitResult::SetModelFunction(ROOT::Fit::FitResult::IModelFunction* func)

Data Members

protected:
map<unsigned int,unsigned int>ROOT::Fit::FitResult::fBoundParamslist of limited parameters
doubleROOT::Fit::FitResult::fChi2fit chi2 value (different than fval in case of chi2 fits)
vector<double>ROOT::Fit::FitResult::fCovMatrixcovariance matrix (size is npar*(npar+1)/2) where npar is total parameters
intROOT::Fit::FitResult::fCovStatuscovariance matrix status code
doubleROOT::Fit::FitResult::fEdmexpected distance from mimimum
vector<double>ROOT::Fit::FitResult::fErrorserrors
ROOT::Fit::FitResult::IModelFunction*ROOT::Fit::FitResult::fFitFunc! model function resulting from the fit. It is given by Fitter but it is managed by FitResult
map<unsigned int,bool>ROOT::Fit::FitResult::fFixedParamslist of fixed parameters
vector<double>ROOT::Fit::FitResult::fGlobalCCglobal Correlation coefficient
stringROOT::Fit::FitResult::fMinimTypestring indicating type of minimizer
map<unsigned int,std::pair<double,double> >ROOT::Fit::FitResult::fMinosErrorsmap contains the two Minos errors
unsigned intROOT::Fit::FitResult::fNCallsnumber of function calls
unsigned intROOT::Fit::FitResult::fNFreenumber of fit free parameters (total parameters are in size of parameter vector)
TStringTNamed::fNameobject identifier
unsigned intROOT::Fit::FitResult::fNdfnumber of degree of freedom
boolROOT::Fit::FitResult::fNormalizedflag for indicating is errors are normalized
vector<std::string>ROOT::Fit::FitResult::fParNamesparameter names (only with FCN only fits, when fFitFunc=0)
vector<std::pair<double,double> >ROOT::Fit::FitResult::fParamBoundsparameter bounds
vector<double>ROOT::Fit::FitResult::fParamsparameter values. Size is total number of parameters
intROOT::Fit::FitResult::fStatusminimizer status code
TStringTNamed::fTitleobject title
doubleROOT::Fit::FitResult::fValminimum function value
boolROOT::Fit::FitResult::fValidflag for indicating valid fit

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TFitResult(const ROOT::Fit::FitResult& f)
 constructor from an IFitResult
 copy the contained TF1 pointer function if it is
void Print(Option_t* option = "") const
 print result of the fit, by default chi2, parameter values and errors
 if option "V" is given print also error matrix and correlation
TMatrixDSym GetCovarianceMatrix() const
 Return the covariance matrix from fit
 The matrix is a symmetric matrix with a size N equal to
 the total number of parameters considered in the fit including the fixed ones
 The matrix row and columns corresponding to the fixed parameters will contain only zero's
TMatrixDSym GetCorrelationMatrix() const
 Return the correlation matrix from fit.
 The matrix is a symmetric matrix with a size N equal to
 the total number of parameters considered in the fit including the fixed ones
 The matrix row and columns corresponding to the fixed parameters will contain only zero's
TFitResult(int status = 0)
 Default constructor for I/O
TFitResult(const ROOT::Fit::FitResult& f)
 constructor from an IFitResult
virtual ~TFitResult()
{}
double Error(unsigned int i) const
 need to re-implement to solve conflict with TObject::Error