Home | News | Documentation | Download

Integrate function for histograms


#1

Hi all,

A quick question: say I have defined and filled a histogram called h1. What happens if I use
h1->Integrate(0,10). Do I get the integral of the contents of bin 1 to bin 10, or do I get the integral from histogram range 0 to 10?

Best regards,

Loek


#2

I guess you mean “Integral” … not “integrate”. Looking at the reference guide you will see that it takes bins’ numbers as parameters.


#3

Thanks a lot. For some reason I wasn’t able to find this.