Hi Mariusz, Sorry, I see your old mail just now. You can reset the internal accumulated statistics. This will force GetMean, GetRMS to recompute the statistics from the actual bin contents. Assuming a TH1* h; Do: double stats[4] = {0,0,0,0}; h->PutStats(stats); h->GetRMS(); Rene Brun On Thu, 26 Sep 2002, Mariusz Sapinski wrote: > > I send this mail again because i am not sure if it reached roottalk list. > ---------- Forwarded message ---------- > > Hello, > we are using root version 3.02/07. We use SetBinContent > to clean histograms from noise (bins with small contents are set to 0). We > would like to have mean and RMS of cleaned histograms but unfortunately the > histogram statistics (stats[]) is not being updated. Is there any method > to update stats[]? > > Best regards, > > Julien and Mariusz > > >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:11 MET