[ROOT] Statistics Box

From: Thomas Bretz (tbretz@astro.uni-wuerzburg.de)
Date: Fri Aug 16 2002 - 10:51:03 MEST


Hi,

what's wrong with this:
TH1 *obj = (TH1*)myhist->DrawCopy();
gPad->Modified();
gPad->Update();
TPaveStats *p = (TPaveStats*)obj->GetListOfFunctions()->FindObject("stats");
if (s==NULL)
   cout << "Is Null!" << endl;

Why don't I get a pointer to the TPaveStats object?

Thanks,
Thomas.



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