TH1D problem

From: Roger Mason <rmason_at_esd.mun.ca>
Date: Sat, 21 Mar 2009 14:32:54 -0230


Hello,

I'm making TH1D's with fairly large numbers in the bins. After a certain size I get these warnings:

Warning in <TCanvas::ResizePad>: Inf/NaN propagated to the pad. Check drawn objects.
Warning in <TCanvas::ResizePad>: canv height changed from 0 to 10.

and the histogram is not plotted.

The highest bin value that is plotted successfully looks to be around 6 x 10^65.

Is there a limit on the size of the Double_t that can be plotted in a histogram? It is certainly possible to assign much larger numbers to a Double_t, for example:

root [31] Double_t bignum = 1e300

root [32] bignum (Double_t)1.00000000000000005e+300

I'd appreciate any hints on how to work round this.

Thanks,
Roger

ROOT 5.20/00 (trunk_at_24524, Sep 30 2008, 15:32:00 on linux) Received on Sat Mar 21 2009 - 18:07:11 CET

This archive was generated by hypermail 2.2.0 : Sat Mar 21 2009 - 23:50:02 CET