Logo ROOT   6.16/01
Reference Guide
Namespaces | Functions
HFitInterface.cxx File Reference
#include "HFitInterface.h"
#include "Fit/BinData.h"
#include "Fit/SparseData.h"
#include "Fit/FitResult.h"
#include "Math/IParamFunction.h"
#include <vector>
#include <cassert>
#include <cmath>
#include "TH1.h"
#include "THnBase.h"
#include "TF1.h"
#include "TGraph2D.h"
#include "TGraph.h"
#include "TGraphErrors.h"
#include "TMultiGraph.h"
#include "TList.h"
#include "TError.h"
Include dependency graph for HFitInterface.cxx:

Namespaces

namespace  ROOT
 Namespace for new ROOT classes and functions.
 
namespace  ROOT::Fit
 Namespace for the fitting classes.
 
namespace  ROOT::Fit::HFitInterface
 

Functions

bool ROOT::Fit::HFitInterface::AdjustError (const DataOptions &option, double &error, double value=1)
 
void ROOT::Fit::DoFillData (BinData &dv, const TGraph *gr, BinData::ErrorType type, TF1 *func)
 
void ROOT::Fit::HFitInterface::ExamineRange (const TAxis *axis, std::pair< double, double > range, int &hxfirst, int &hxlast)
 
void ROOT::Fit::FillData (BinData &dv, const TGraph *gr, TF1 *func=0)
 fill the data vector from a TGraph. More...
 
void ROOT::Fit::FillData (BinData &dv, const TGraph2D *gr, TF1 *func=0)
 fill the data vector from a TGraph2D. More...
 
void ROOT::Fit::FillData (BinData &dv, const TH1 *hist, TF1 *func=0)
 fill the data vector from a TH1. More...
 
void ROOT::Fit::FillData (BinData &dv, const THnBase *hist, TF1 *func=0)
 fill the data vector from a THnBase. More...
 
void ROOT::Fit::FillData (BinData &dv, const TMultiGraph *gr, TF1 *func=0)
 fill the data vector from a TMultiGraph. More...
 
void ROOT::Fit::FillData (SparseData &dv, const TH1 *hist, TF1 *func=0)
 fill the data vector from a TH1 with sparse data. More...
 
void ROOT::Fit::FillData (SparseData &dv, const THnBase *hist, TF1 *func=0)
 fill the data vector from a THnBase. More...
 
bool ROOT::Fit::GetConfidenceIntervals (const TH1 *h1, const ROOT::Fit::FitResult &r, TGraphErrors *gr, double cl=0.95)
 compute confidence intervals at level cl for a fitted histogram h1 in a TGraphErrors gr More...
 
BinData::ErrorType ROOT::Fit::GetDataType (const TGraph *gr, DataOptions &fitOpt)
 
BinData::ErrorType ROOT::Fit::GetDataType (const TGraph2D *gr, const DataOptions &fitOpt)
 
void ROOT::Fit::Init2DGaus (const ROOT::Fit::BinData &data, TF1 *f1)
 compute initial parameter for 2D gaussian function given the fit data Set the sigma limits for zero top 10* initial rms values Set the initial parameter values in the TF1 More...
 
void ROOT::Fit::InitExpo (const ROOT::Fit::BinData &data, TF1 *f1)
 compute initial parameter for an exponential function given the fit data Set the constant and slope assuming a simple exponential going through xmin and xmax of the data set More...
 
void ROOT::Fit::InitGaus (const ROOT::Fit::BinData &data, TF1 *f1)
 compute initial parameter for gaussian function given the fit data Set the sigma limits for zero top 10* initial rms values Set the initial parameter values in the TF1 More...
 
bool ROOT::Fit::HFitInterface::IsPointOutOfRange (const TF1 *func, const double *x)