another newbe problem :
To get the parameters of a fitfunction applied
to a TGraph i did the following,
TF1 *f1 = new TF1(“fitit”,“gaus”,-8,8);
graph->Fit(“fitit”,“R”);
TF1 *fitted = graph->GetFunction(“fitit”);
Double_t para1 = fitted->GetParameter(0);
which doesn’t work, actually it crashes root:
*** Break *** segmentation violation
Generating stack trace…TBla TBla TBla
Please give me some advice how to do that right.