-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RF] RooDataHist from a variable binning TH1D: different shape, different bin content #16028
Labels
Comments
guitargeek
changed the title
RooDataHist from a variable binning TH1D: different shape, different bin content
[RF] RooDataHist from a variable binning TH1D: different shape, different bin content
Jul 23, 2024
Hi
See the attached modified version of the previous code to see the PDF begaviour mentioned above. Best Attilio [0] root/roofit/roofitcore/src/RooHist.cxx Line 434 in b8b0a81
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Check duplicate issues.
Description
This problem has been already mentioned here [0] but no solution has been proposed. When you compare a RooDataHist obtained from a TH1 with fixed size binning everything looks ok but when you do the same from a variable size binning the comparison fails. See code below to reproduce the comparison.
[0] https://root-forum.cern.ch/t/roodatahist-and-th1d-why-different-shape-bin-content/56971
Reproducer
just run root mytest.cpp
ROOT version
ROOT 6.30/06
Installation method
homebrew
Operating system
OSX Sonoma 14.5
Additional context
No response
The text was updated successfully, but these errors were encountered: