Re: [ROOT] TH1::Fit display uncertainties? (v3-10-01)

From: Remi Mommsen (remigius.mommsen@cern.ch)
Date: Tue Nov 18 2003 - 19:00:01 MET


Hi Rene,

Just for curiosity: what was the problem? I couldn't spot the relevant 
change by doing a cvs update/diff.

Thanks
		Remi

On Tuesday, November 18, 2003, at 01:41  AM, Rene Brun wrote:

> Hi Nathan, Remi,
>
> The problem is now understood and fixed in the CVS version.
> Thanks for reporting this problem.
>
> Rene Brun
>
> Remi Mommsen wrote:
>>
>> Hi Nathan,
>>
>> That's really odd. When I use root 3.10/01 on Mac OS X 10.2.8 
>> (compiled
>> with gcc3.3) everything looks fine. However, if I run on Mac OS X
>> 10.3.1 I see the same missing uncertainties as you do. I use on both
>> machines the same executable.
>>
>> I have no idea what the actual problem might be.
>>
>> So long,
>>                 Remi
>>
>> On Monday, November 17, 2003, at 01:19  PM, Nathan Goldschmidt wrote:
>>
>>>
>>> Odd. I'm using Mac OS X v10.3.1. Perhaps this has something to do 
>>> with
>>> it.
>>>
>>> I've attached -my- version of the plot.
>>>
>>> -N
>>>
>>> <c1.gif>
>>>
>>>
>>> On Nov 16, 2003, at 1:44 AM, Rene Brun wrote:
>>>
>>>> I cannot reproduce this problem. With your code, I obtain
>>>> the picture in the attachement.
>>>>
>>>> Rene Brun
>>>>
>>>> On Sat, 15 Nov
>>>> 2003, Nathan Goldschmidt wrote:
>>>>
>>>>>
>>>>> Using ROOT v3-10-01, there seems to be a bug where the 
>>>>> uncertainties
>>>>> from TH1::Fit are not drawn in the stats box. Am I missing 
>>>>> something?
>>>>>
>>>>> This behavior is not present in v3-05-07.
>>>>>
>>>>> See the macro below for an example.
>>>>>
>>>>> Thanks.
>>>>>
>>>>> -N
>>>>>
>>>>> {
>>>>>    gStyle->SetOptFit(1111);
>>>>>    TH1F* h = new TH1F("h","h",100,-5,5);
>>>>>    h->FillRandom("gaus");
>>>>>    h->Fit("gaus");
>>>>> }
>>>>>
>>>>>
>>
>> ---------------------------------------------------------------------
>> "Sometimes I think the surest sign that intelligent life exists else-
>> where in the universe is that none of it has tried to contact us."
>>                                                Calvin (Bill Watterson)
>>
>> *********************************************************************
>> Remigius K. Mommsen                 e-mail: mommsen@slac.stanford.edu
>> University of California, Irvine       URL:    http://cern.ch/mommsen
>> c/o SLAC                             voice:        ++1 (650) 926-3595
>> 2575 Sand Hill Road #35                fax:        ++1 (650) 926-3882
>> Menlo Park, CA 94025, US              home:        ++1 (650) 233-9041
>> *********************************************************************
>
>


---------------------------------------------------------------------
"What're quantum mechanics?"
"I don't know. People who repair quantums I suppose."
                                   (Rincewind, Terry Pratchett "Eric")

*********************************************************************
Remigius K. Mommsen                 e-mail: mommsen@slac.stanford.edu
University of California, Irvine       URL:    http://cern.ch/mommsen
c/o SLAC                             voice:        ++1 (650) 926-3595
2575 Sand Hill Road #35                fax:        ++1 (650) 926-3882
Menlo Park, CA 94025, US              home:        ++1 (650) 233-9041
*********************************************************************



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET