HFit Namespace Reference


Functions

int GetDimension (const TH1 *h1)
int GetDimension (const TGraph *)
int GetDimension (const TMultiGraph *)
int GetDimension (const TGraph2D *)
int GetDimension (const THnSparse *s1)
int CheckFitFunction (const TF1 *f1, int hdim)
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 (THnSparse *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, const TF1 *f1, const ROOT::Fit::DataRange &range, bool, bool, const char *goption)
int CheckFitFunction (const TF1 *f1, int dim)
template<class FitObject>
TFitResultPtr Fit (FitObject *h1, TF1 *f1, Foption_t &fitOption, const ROOT::Math::MinimizerOptions &minOption, const char *goption, ROOT::Fit::DataRange &range)
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 (THnSparse *s1, ROOT::Fit::DataRange &range)
template<class FitObject>
void StoreAndDrawFitFunction (FitObject *h1, const TF1 *f1, const ROOT::Fit::DataRange &range, bool delOldFunction, bool drawFunction, const char *goption)
void CheckGraphFitOptions (Foption_t &foption)


Function Documentation

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

Definition at line 74 of file HFitImpl.cxx.

References Error, TNamed::GetName(), TFormula::GetNdim(), TFormula::GetNpar(), and TObject::IsZombie().

Referenced by Fit().

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

Definition at line 74 of file HFitImpl.cxx.

References Error, TNamed::GetName(), TFormula::GetNdim(), TFormula::GetNpar(), and TObject::IsZombie().

Referenced by Fit().

void HFit::CheckGraphFitOptions ( Foption_t foption  ) 

Definition at line 623 of file HFitImpl.cxx.

References Info, Foption_t::Integral, and Foption_t::Like.

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

void HFit::CheckGraphFitOptions ( Foption_t fitOption  ) 

Definition at line 623 of file HFitImpl.cxx.

References Info, Foption_t::Integral, and Foption_t::Like.

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

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

Definition at line 108 of file HFitImpl.cxx.

References Foption_t::Bound, CheckFitFunction(), ROOT::Fit::FitResult::Chi2(), ROOT::Fit::FitResult::Errors(), Foption_t::Errors, ROOT::Fit::DataOptions::fCoordErrors, ROOT::Fit::DataOptions::fErrors1, ROOT::Fit::FillData(), ROOT::Fit::DataOptions::fIntegral, ROOT::Fit::DataOptions::fUseEmpty, ROOT::Fit::DataOptions::fUseRange, GetDimension(), GetDrawingRange(), TVirtualFitter::GetFitter(), TVirtualFitter::GetMethodCall(), TNamed::GetName(), TFormula::GetNdim(), TFormula::GetNpar(), TFormula::GetNumber(), TF1::GetRange(), Foption_t::Gradient, Foption_t::hRobust, i, Info, ROOT::Fit::Init2DGaus(), ROOT::Fit::InitExpo(), ROOT::Fit::InitGaus(), Foption_t::Integral, ROOT::Fit::FitResult::IsEmpty(), TFormula::IsLinear(), TBackCompFitter::kCanDeleteLast, kFALSE, ROOT::Fit::BinData::kNoError, kTRUE, Foption_t::Like, ROOT::Fit::FitConfig::MinimizerOptions(), Foption_t::Minuit, Foption_t::More, name, ROOT::Fit::FitResult::Ndf(), Foption_t::NoErrX, Foption_t::Nograph, Foption_t::Nostore, ROOT::Fit::FitResult::Parameters(), ROOT::Fit::FitConfig::ParSettings(), Foption_t::Plus, Foption_t::Quiet, Foption_t::Range, Foption_t::Robust, TObject::SetBit(), TBackCompFitter::SetFCN(), TVirtualFitter::SetFitOption(), TVirtualFitter::SetFitter(), TBackCompFitter::SetMethodCall(), ROOT::Fit::FitConfig::SetMinimizer(), ROOT::Fit::FitConfig::SetMinimizerOptions(), ROOT::Fit::FitConfig::SetMinosErrors(), TNamed::SetName(), ROOT::Fit::FitConfig::SetNormErrors(), TVirtualFitter::SetObjectFit(), ROOT::Fit::FitConfig::SetParabErrors(), ROOT::Math::MinimizerOptions::SetPrintLevel(), TNamed::SetTitle(), ROOT::Math::MinimizerOptions::SetTolerance(), TVirtualFitter::SetUserFunc(), ROOT::Fit::FitResult::Status(), StoreAndDrawFitFunction(), Foption_t::StoreResult, TObject::TestBit(), title, ROOT::Math::Util::ToString(), type, Foption_t::User, Foption_t::Verbose, Foption_t::W1, Warning(), x1, and x2.

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

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

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

Decode list of options into fitOption

Definition at line 577 of file HFitImpl.cxx.

References Foption_t::Bound, Foption_t::Chi2, TString::Contains(), Foption_t::Errors, Foption_t::Gradient, h, Foption_t::hRobust, if(), TString::Index(), Foption_t::Integral, len, TString::Length(), Foption_t::Like, Foption_t::Minuit, Foption_t::More, Foption_t::Nochisq, Foption_t::NoErrX, Foption_t::Nograph, Foption_t::Nostore, num, Foption_t::Plus, TMath::Power(), Foption_t::Quiet, Foption_t::Range, TString::Remove(), TString::ReplaceAll(), Foption_t::Robust, start, Foption_t::StoreResult, TString::ToUpper(), Foption_t::User, Foption_t::Verbose, and Foption_t::W1.

int HFit::GetDimension ( const THnSparse s1  ) 

Definition at line 50 of file HFitImpl.cxx.

References s1.

Referenced by G__G__Gui2_347_0_15(), G__G__Hist_100_0_100(), G__G__Hist_215_0_23(), G__G__RooStats_652_0_39(), G__G__Tree_194_0_7(), G__G__TreePlayer_391_0_10(), G__G__TreePlayer_398_0_10(), TFitter::GetConfidenceIntervals(), and TLinearFitter::GetConfidenceIntervals().

int HFit::GetDimension ( const TGraph2D  ) 

Definition at line 49 of file HFitImpl.cxx.

int HFit::GetDimension ( const TMultiGraph  ) 

Definition at line 48 of file HFitImpl.cxx.

int HFit::GetDimension ( const TGraph  ) 

Definition at line 47 of file HFitImpl.cxx.

int HFit::GetDimension ( const TH1 h1  ) 

Definition at line 46 of file HFitImpl.cxx.

References TH1::GetDimension(), and h1.

Referenced by Fit(), GetDrawingRange(), and StoreAndDrawFitFunction().

void HFit::GetDrawingRange ( THnSparse s1,
ROOT::Fit::DataRange range 
)

Definition at line 482 of file HFitImpl.cxx.

References axis, GetDimension(), i, and s1.

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

Definition at line 475 of file HFitImpl.cxx.

References GetDrawingRange(), TGraph::GetHistogram(), gr, and h1.

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

Definition at line 453 of file HFitImpl.cxx.

References g, GetDrawingRange(), TMultiGraph::GetHistogram(), TMultiGraph::GetListOfGraphs(), h1, RootCsg::infinity, x1, x2, xmax, and xmin.

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

Definition at line 446 of file HFitImpl.cxx.

References GetDrawingRange(), TGraph::GetHistogram(), gr, and h1.

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

Definition at line 401 of file HFitImpl.cxx.

References GetDimension(), TH1::GetXaxis(), TH1::GetYaxis(), TH1::GetZaxis(), h1, xmax, xmin, ymax, and ymin.

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

Definition at line 482 of file HFitImpl.cxx.

References axis, GetDimension(), i, and s1.

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

Definition at line 475 of file HFitImpl.cxx.

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

Definition at line 453 of file HFitImpl.cxx.

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

Definition at line 446 of file HFitImpl.cxx.

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

Definition at line 401 of file HFitImpl.cxx.

Referenced by Fit(), and GetDrawingRange().

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

Definition at line 497 of file HFitImpl.cxx.

References TList::Add(), xmlio::Class, TF1::Copy(), Error, GetDimension(), TNamed::GetName(), gPad, kCanDelete, kIterBackward, TF1::kNotDraw, TFormula::kNotGlobal, TF3::Save(), TF2::Save(), TF1::Save(), TObject::SetBit(), TF1::SetParent(), TF3::SetRange(), TF2::SetRange(), TF1::SetRange(), xmax, xmin, ymax, and ymin.

Referenced by Fit().

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

Definition at line 497 of file HFitImpl.cxx.

References TList::Add(), xmlio::Class, TF1::Copy(), Error, GetDimension(), TNamed::GetName(), gPad, kCanDelete, kIterBackward, TF1::kNotDraw, TFormula::kNotGlobal, TF3::Save(), TF2::Save(), TF1::Save(), TObject::SetBit(), TF1::SetParent(), TF3::SetRange(), TF2::SetRange(), TF1::SetRange(), xmax, xmin, ymax, and ymin.

Referenced by Fit().


Generated on Tue Jul 5 16:56:28 2011 for ROOT_528-00b_version by  doxygen 1.5.1