TH3D::ProjectionY()->Integral()

Hi,
I have a question about TH3D->ProjectionY().
I filled a TH3D.
I would like to know what is the different between the following commandes:

  • h3d->ProjectionY("_py",a,b,0,n_zbins+1)->Integral(0,n_ybins+1)
    -h3d->ProjectionX()->Integral(a,b)

I got two different numbers from the two command lines, the former higher than the latter.

Thanks in advance,
Claudia

Hi,

I cannot reproduce your problem, I am getting the same result. Can you please send me your histogram and also tell me which ROOT version are you using it ?

Thank you, Lorenzo