Re: [ROOT] TTree->Draw("y:x>>h(10,0,1,10,0,1)"); dosent update stat box

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Jan 29 2002 - 18:37:39 MET


Hi Juergen,

I have modified the TreePlayer to not paint the stats box in this case.
A command like: TTree->Draw(y:x>>h(10,0,1,10,0,1)")
draws a scatter-plot with the full precision on the original points.

A command like: TTree->Draw(y:x>>h(10,0,1,10,0,1)","","scat")
draws also a scatter plot, but using the info in the bins of the generated
2-d histogram. In this case, the stats box is drawn with the correct info.

Fix in CVS.

Rene Brun


Juergen Hannappel wrote:
> 
> Hello,
> in the CVS version from Jan 27 15:32 the new
> TTree->Draw(y:x>>h(10,0,1,10,0,1)"); does not update the stat box of
> the histogram h; it shows 0 entries after the Tree drawing. A
> subsequent h->Draw() however shows the correct statistics.
> 
> Greetings,
>         Juergen
> --
> Dr. Juergen Hannappel          http://lisa2.physik.uni-bonn.de/~hannappe
> mailto:hannappel@physik.uni-bonn.de  Phone: +49 228 73 2447 FAX ... 7869
> Physikalisches Institut der Uni Bonn Nussallee 12, D-53115 Bonn, Germany
> CERN: Phone: +412276 76461 Fax: ..77930 Bat. 892-R-A13 CH-1211 Genève 23



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