BCGraphFitter.h
46 BCGraphFitter(const TGraphErrors& graph, const TF1& func, const std::string& name = "graph_fitter_model");
virtual double CalculatePValue(const std::vector< double > &pars, bool ndf=true)
Calculate p value from chi^2 distribution, with assumption of Gaussian distribution for all data poin...
Definition: BCGraphFitter.cxx:177
virtual double LogLikelihood(const std::vector< double > ¶meters)
The log of the conditional probability.
Definition: BCGraphFitter.cxx:64
void DrawFit(const std::string &options="", bool flaglegend=false)
Draw the fit in the current pad.
Definition: BCGraphFitter.cxx:119
BCGraphFitter(const TGraphErrors &graph, const TF1 &func, const std::string &name="graph_fitter_model")
Constructor.
Definition: BCGraphFitter.cxx:23
virtual double CalculateChi2(const std::vector< double > &pars)
Calculate chi^2, the sum of [(y-f(x))/sigma_y]^2 for all data points.
Definition: BCGraphFitter.cxx:160