Mean of BinContent

From: Hovhannes Khandanyan <khandan_at_cern.ch>
Date: Wed, 13 Oct 2010 12:20:52 +0200

    Dear ROOTers,

A naive question: I have a histo with 100 filled bins. I need to get the mean of those 100 numbers (i.e. 100 bin contents). Is there a better way to do this other than summing the GetBinContent(ii) in a for loop?

Thank you,
Hovhannes Received on Wed Oct 13 2010 - 12:21:25 CEST

This archive was generated by hypermail 2.2.0 : Wed Oct 13 2010 - 17:50:01 CEST