parameters from the FitSlicesY function

From: Xavier Morelle (xavier.Morelle@psi.ch)
Date: Thu Mar 30 2000 - 03:20:14 MEST


Hi rooters,

I have defined a function   
TF1 *f1 = new TF1("f1","landau(0)*gaus(3)",300,1700,6);
and I use it in the FitSlicesY function:
gr1->FitSlicesY(f1,0,126,0); 

Is it possible to get histograms for all the 6 parameters with the
value of the parameter for each fitted slice ?

I tried something like:
par0[i] = gr1_0->GetBinContent(i);
   .
   .
   .
par5[i] = gr1_5->GetBinContent(i);

but it doesn't work. I have the usual constant, mean, sigma and
chi2 in the first 4 histograms, but nothing about the 6 parameters.
Is there a way to find it?

an other question:
Is there a possibility to have plain surface with the X3D viewer like
we can have with OpenGL ?

Thank's a lot for your help.

Xavier



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:22 MET