TH1 ranges

From: Laurent Mirabito (mirabito@in2p3.fr)
Date: Wed Aug 13 1997 - 11:02:51 MEST


        Hello,

I use TH1F histograms with huge number of bins (>30000) and I have
some problems/remarks:

- Is there any way to set the range in axis value instead of  bins
  value ( like H/PL 100(58.3:60.2) in PAW, I had to create a function 
  to do it with ROOT)?

- When I use TAxis::SetRange with bins numbers above 100000, it failed .
  
Finally when using a TTree with huge number of entries, the Draw
function seems to consider only the first 10000 entries:

Example:

TTree* h1 contains 990000 entries with 2 branches one with the time T
(every 2 ms) of measuremnt the other with the current I:

 h1->Draw("T","T>20","E",100000)
 
draws the time between 20 and 40 s only

If I book a TH1F with the good range (0,2000 s) it is filled
properly.

        Best Regards
        laurent
-- 
Laurent Mirabito 
IPN Lyon



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:20 MET