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