Re: parameters from the FitSlicesY function

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Mar 30 2000 - 09:25:05 MEST


Hello Xavier,
Your statements like:
  par0[i] = gr1_0->GetBinContent(i);
should work. Can you draw the gr1_xx histograms ?
Could you send me a macro + the histogram file ?

About X3D. The following options are supported
 W Wireframe mode (default)
 E Hidden Line removal mode
 R plain surface mode
 S Stereo mode (works only on 8 bits color planes)

 type M for a list of all possible options

Rene Brun


Xavier Morelle wrote:
> 
> 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