Hi, Not beeing an expert but having look at code: if you fill calling method someh.Fill( x, weight) then getEntries returns exactly how many Fill calls you did. One comment; also under/over-flows are counted in. If you need sum of Weights rather than above someh.GetSumOfWeights() or Integral Hope helps a bit, Tomasz Bold On Sun, 3 Oct 2004, Piyali Banerjee wrote: > > Hi, > Is there any method for the TH1F class which will give the > total number of entries in a weighted histogram. > I know about GetEntries() but it does not give the correct number for the > weighted histogram. > > Thanks for nay help. > Piyali > >
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET