Printing out a histogram

Hi,
is there anyway I can print out the contents of a histogram ? That is, the bins in the histogram and the no. of entries in each bin.
thanks Debdatta.

Hi Debdatta,

According to the Reference guide you can use the method Print(Option_t *option) giving as a parameter:
“base” - to print number of bins and ranges
"range" - to print bin contents and errors for all bins in the current range (default 1–>nbins)
“all” - to print bin contents and errors for all bins including under and overflows

Best regards, Ilka