ROOT  6.06/09
Reference Guide
Functions
HFit Namespace Reference

Functions

int GetDimension (const TH1 *h1)
 
int GetDimension (const TGraph *)
 
int GetDimension (const TMultiGraph *)
 
int GetDimension (const TGraph2D *)
 
int GetDimension (const THnBase *s1)
 
int CheckFitFunction (const TF1 *f1, int hdim)
 
void GetFunctionRange (const TF1 &f1, ROOT::Fit::DataRange &range)
 
void FitOptionsMake (const char *option, Foption_t &fitOption)
 
void CheckGraphFitOptions (Foption_t &fitOption)
 
void GetDrawingRange (TH1 *h1, ROOT::Fit::DataRange &range)
 
void GetDrawingRange (TGraph *gr, ROOT::Fit::DataRange &range)
 
void GetDrawingRange (TMultiGraph *mg, ROOT::Fit::DataRange &range)
 
void GetDrawingRange (TGraph2D *gr, ROOT::Fit::DataRange &range)
 
void GetDrawingRange (THnBase *s, ROOT::Fit::DataRange &range)
 
template<class FitObject >
TFitResultPtr Fit (FitObject *h1, TF1 *f1, Foption_t &option, const ROOT::Math::MinimizerOptions &moption, const char *goption, ROOT::Fit::DataRange &range)
 
template<class FitObject >
void StoreAndDrawFitFunction (FitObject *h1, TF1 *f1, const ROOT::Fit::DataRange &range, bool, bool, const char *goption)
 
template<class FitObject >
double ComputeChi2 (const FitObject &h1, TF1 &f1, bool useRange)
 

Function Documentation

int HFit::CheckFitFunction ( const TF1 f1,
int  hdim 
)

Definition at line 85 of file HFitImpl.cxx.

Referenced by Fit().

void HFit::CheckGraphFitOptions ( Foption_t fitOption)

Definition at line 769 of file HFitImpl.cxx.

Referenced by ROOT::Fit::FitObject().

template<class FitObject >
double HFit::ComputeChi2 ( const FitObject &  h1,
TF1 f1,
bool  useRange 
)

Definition at line 998 of file HFitImpl.cxx.

Referenced by ROOT::Fit::Chisquare().

template<class FitObject >
TFitResultPtr HFit::Fit ( FitObject *  h1,
TF1 f1,
Foption_t option,
const ROOT::Math::MinimizerOptions moption,
const char *  goption,
ROOT::Fit::DataRange range 
)

Definition at line 132 of file HFitImpl.cxx.

Referenced by ROOT::Fit::FitObject().

void HFit::FitOptionsMake ( const char *  option,
Foption_t fitOption 
)
int HFit::GetDimension ( const TH1 h1)
int HFit::GetDimension ( const TGraph )

Definition at line 50 of file HFitImpl.cxx.

int HFit::GetDimension ( const TMultiGraph )

Definition at line 51 of file HFitImpl.cxx.

int HFit::GetDimension ( const TGraph2D )

Definition at line 52 of file HFitImpl.cxx.

int HFit::GetDimension ( const THnBase s1)

Definition at line 53 of file HFitImpl.cxx.

Referenced by GetDrawingRange(), and StoreAndDrawFitFunction().

void HFit::GetDrawingRange ( TH1 h1,
ROOT::Fit::DataRange range 
)

Definition at line 450 of file HFitImpl.cxx.

Referenced by Fit(), and GetDrawingRange().

void HFit::GetDrawingRange ( TGraph gr,
ROOT::Fit::DataRange range 
)

Definition at line 495 of file HFitImpl.cxx.

void HFit::GetDrawingRange ( TMultiGraph mg,
ROOT::Fit::DataRange range 
)

Definition at line 502 of file HFitImpl.cxx.

void HFit::GetDrawingRange ( TGraph2D gr,
ROOT::Fit::DataRange range 
)

Definition at line 524 of file HFitImpl.cxx.

void HFit::GetDrawingRange ( THnBase s,
ROOT::Fit::DataRange range 
)

Definition at line 543 of file HFitImpl.cxx.

void HFit::GetFunctionRange ( const TF1 f1,
ROOT::Fit::DataRange range 
)

Definition at line 119 of file HFitImpl.cxx.

Referenced by ComputeChi2(), and Fit().

template<class FitObject >
void HFit::StoreAndDrawFitFunction ( FitObject *  h1,
TF1 f1,
const ROOT::Fit::DataRange range,
bool  delOldFunction,
bool  drawFunction,
const char *  goption 
)

Definition at line 558 of file HFitImpl.cxx.

Referenced by Fit().