Hi all,
could you please explain me the meaning of the 3 raws-3 columns table that appears when trying to get the underflow/overflow fields for a TH2? I know from the ROOT reference guide that (from http://root.cern.ch/root/html/TPaveStats.html):
NOTE that in case of 2-D histograms, when selecting just underflow (10000)
or overflow (100000), the stats box will show all combinations of underflow/overflows and not just one single number!
but still I don't understand the numbers... And I don't even know how to access the overflows/underflows from the command line:
cout << " underflow bin = " << h2->GetBin(0,0) << endl; cout << " underflows = " << h2->GetBinContent(0) << endl; cout << " overflows = " << h2->GetBinContent(maxbin_X+1,maxbin_Y+1)<< endl;
all return 0.....
Thanks for your help.
Cheers,
chiara Received on Fri Mar 07 2008 - 09:58:50 CET
This archive was generated by hypermail 2.2.0 : Fri Mar 07 2008 - 17:50:01 CET