I have an issue with TH1::Scale(). I’ve been looking at the code and at previous posts in the forum but I can’t find the solution to this one.
The thing is that I want to use Scale() to, well, scale a TH1 up to the same normalization value as another TH1 that I have. The thing is that after I perform the scaling the integrals of both histograms are still not equal, but slightly different. Here’s a bit of code:
Mmm, I was wrong, I was using TH1F. The thing is that I have ~ 10^9 entries in the histo, maybe I’m hitting a floating precision problem? I’ll try to regenerate the histos with TH1D and see if that works.