1 #ifndef __BCMODELGRAPHFITTER__H
2 #define __BCMODELGRAPHFITTER__H
62 BCGraphFitter(
const char * name, TGraphErrors * graph, TF1 * func);
118 double LogLikelihood(
const std::vector<double> & parameters);
125 double FitFunction(
const std::vector<double> & x,
const std::vector<double> & parameters);
137 int Fit(TGraphErrors * graph, TF1 * func);
141 void DrawFit(
const char * options =
"",
bool flaglegend =
false);
143 virtual double CDF(
const std::vector<double>& parameters,
int index,
bool lower=
false);