Hi Suvayu,
THStack does not have statistics for the whole histogram collection. When you do GetHistogram() on a THStack it returns a pointer to the histogram used to draw the axis. This is said in the doc: http://root.cern.ch/root/html/THStack.html#THStack:GetHistogram
Cheers, Olivier
-----Original Message-----
From: Suvayu Ali [mailto:fatkasuvayu_at_gmail.com]
Sent: Monday, June 14, 2010 4:57 PM
To: Olivier Couet
Cc: Rene Brun; roottalk (Mailing list discussing all aspects of the ROOT system.)
Subject: Re: [ROOT] Stat boxes for a THStack
Hi Oliver,
On Monday 14 June 2010 05:23 AM, Olivier Couet wrote:
>
> See the new version of your macro (attached).
> oc
>
I saw the change. Thank you, it works. Does that mean I was doing something wrong? Was what I was expecting a misunderstanding of the docs on my part?
Thanks
--
Suvayu
Open source is the future. It sets us free. Received on Mon Jun 14 2010 - 17:19:49 CEST
This archive was generated by hypermail 2.2.0 : Mon Jun 14 2010 - 17:50:01 CEST