Re: [ROOT] to bug or not to bug?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Aug 15 2002 - 17:00:43 MEST


Davide,

The parameters from a fit are doubles, not floats or ints !
The option "Q" cannot change the type of the parameters.
You must have overwritten your code.

Rene Brun

On Thu, 15 Aug 2002, Davide Gerbaudo wrote:

> 
> 
> just a little question:
> 
> I fitted a plot with pol1.
> 
> When I get the parameters with passing the option "Q" the parameters are
> integers.
> 
> If I drop "Q" they are floats as they should be.
> 
> 
> So is it a bug of root or do I have a closer look to my code?
> 
> the printf, I use is always the same!
> 
> This is the line I exchange:
> 
> 
> h_ApvGain[i][k]->Fit("pol2","Q");
> 
> where :
> h_ApvGain[i][j] = new TH1F(name, title, 200, 0, 200);
> 
> Thank you very much
>  Davide Gerbaudo.
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:04 MET