Re: [ROOT] How to know whether a histogram has ZERO entries?

From: Sebastien Greder (greder@in2p3.fr)
Date: Mon Jul 15 2002 - 02:05:53 MEST


Hello,

just simply do : 

histoname->GetEntries();
See:
http://root.cern.ch/root/html/TH1.html#TH1:GetEntries
Same method name for TTree.

Cheers,
seb.

On Sun, 14 Jul 2002, Jyothsna Rani wrote:

> 
> Hi,
> 
> Is there simple way to know the number of entries of a histogram or a
> variable in an ntuple?
> 
> Thanks,
> Jyothsna
> 
> 



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