Dear rooters,
i want to normalize a 2d histo and with usual procedure
Double_t norm = 1/h->Integral()
h->Scale(norm)
i get the histo correctly normalized to 1.
If then i try to renormalize it to N with
h->Scale(N)
the integral is correct
h->Integral() = N
but the shape of the histo is changed.
Same result if i do directly
Double_t norm = N/h->Integral()
h->Scale(norm)
I’m probably making some stupid error but by now
i’m not able to see it !!!
Any suggest please ?
Many thanks,
bye,
Max