Logo ROOT   6.08/07
Reference Guide
Functions
HFit Namespace Reference

Functions

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

Function Documentation

◆ CheckFitFunction()

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

Definition at line 87 of file HFitImpl.cxx.

◆ CheckGraphFitOptions()

void HFit::CheckGraphFitOptions ( Foption_t fitOption)

Definition at line 774 of file HFitImpl.cxx.

◆ ComputeChi2()

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

Definition at line 1006 of file HFitImpl.cxx.

◆ Fit()

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 134 of file HFitImpl.cxx.

◆ FitOptionsMake()

void HFit::FitOptionsMake ( const char *  option,
Foption_t fitOption 
)

◆ GetDimension() [1/5]

int HFit::GetDimension ( const TH1 h1)

Definition at line 51 of file HFitImpl.cxx.

◆ GetDimension() [2/5]

int HFit::GetDimension ( const TGraph )

Definition at line 52 of file HFitImpl.cxx.

◆ GetDimension() [3/5]

int HFit::GetDimension ( const TMultiGraph )

Definition at line 53 of file HFitImpl.cxx.

◆ GetDimension() [4/5]

int HFit::GetDimension ( const TGraph2D )

Definition at line 54 of file HFitImpl.cxx.

◆ GetDimension() [5/5]

int HFit::GetDimension ( const THnBase s1)

Definition at line 55 of file HFitImpl.cxx.

◆ GetDrawingRange() [1/5]

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

Definition at line 455 of file HFitImpl.cxx.

◆ GetDrawingRange() [2/5]

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

Definition at line 500 of file HFitImpl.cxx.

◆ GetDrawingRange() [3/5]

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

Definition at line 507 of file HFitImpl.cxx.

◆ GetDrawingRange() [4/5]

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

Definition at line 529 of file HFitImpl.cxx.

◆ GetDrawingRange() [5/5]

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

Definition at line 548 of file HFitImpl.cxx.

◆ GetFunctionRange()

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

Definition at line 121 of file HFitImpl.cxx.

◆ StoreAndDrawFitFunction()

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 563 of file HFitImpl.cxx.