Logo ROOT   6.21/01
Reference Guide
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 797 of file HFitImpl.cxx.

◆ ComputeChi2()

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

Definition at line 1029 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 460 of file HFitImpl.cxx.

◆ GetDrawingRange() [2/5]

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

Definition at line 505 of file HFitImpl.cxx.

◆ GetDrawingRange() [3/5]

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

Definition at line 512 of file HFitImpl.cxx.

◆ GetDrawingRange() [4/5]

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

Definition at line 534 of file HFitImpl.cxx.

◆ GetDrawingRange() [5/5]

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

Definition at line 553 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 568 of file HFitImpl.cxx.