I have a straight line fit(see attached plot red line).This is the Average value of my efficiency,
I want to take the error of this fit.
There is only one parameter.
``
TF1 *fAve_simulation = new TF1(“fAve_simulation”,"[0]",-0.03,0.07);
fAve_simulation->SetParameter(0,0.25);
Efficiency_simulation->Fit(“fAve_simulation”,"","",-0.03,0.07);
fAve_simulation->SetLineColor(2);
fAve_simulation->Draw(“sames”);
``
If there are two parameters what could be the error of that fit?
Thanks
Dilini