Bin Entries and Bin Contents

Hi,
I am sorry for the stupid questions. I am a newbie to ROOT and I am trying to learn.

I would like to know the difference between BinEntries and BinContent?

Also, I have a histogram which is filled with values. I need to find standard deviation/mean in each bin for my analysis. For Standard Deviation I can do GetBinError(i) but how can I get mean for each bin?

Thank you!

What do you mean by BinEntries? There is no method in TH1 for GetBinEntries.

Also, what do you mean by mean for a bin? A histogram bin contains the sum of the weights added to it. Do you want the average weight for a given bin?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.