Partial Integral of 2D Histogram

Hi,

I have a TH2F and would like to sum over all bins in one dimension (y) keeping the other dimension (x) fixed. I.e somehting of the sort:

h2f->Integral(ymin,ymax,x);

Thanks,
Jens

see documentation of the TH2::Integral functions:
root.cern.ch/root/htmldoc/TH2.html#TH2:Integral

Rene