-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[RF] Add flag to globally enable or disable all RooBinWidthFunctions #10213
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] Add flag to globally enable or disable all RooBinWidthFunctions #10213
Conversation
|
Can one of the admins verify this patch? |
|
@phsft-bot build |
|
Starting build on |
guitargeek
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @cburgard! Sorry for the delay, yes this can be merged almost as is, I just have small requests about the names and doxygen.
|
@phsft-bot build |
|
Starting build on |
|
Build failed on ROOT-ubuntu16/nortcxxmod. Errors:
|
Co-authored-by: Jonas Rembser <jonas.rembser@cern.ch>
Implemented suggestions
|
Build failed on ROOT-debian10-i386/cxx14. Errors:
|
ed0eb65 to
d989462
Compare
|
@phsft-bot build |
|
Starting build on |
|
Build failed on ROOT-ubuntu16/nortcxxmod. Failing tests: |
|
Build failed on ROOT-ubuntu2004/soversion. Failing tests: |
|
Build failed on ROOT-performance-centos8-multicore/default. Failing tests: |
|
Build failed on mac11/cxx17. Failing tests: |
guitargeek
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the improvements! I'll merge now, the unit test failures are unrelated to this PR.
This Pull request:
With the (very useful) introduction of the RooBinWidthFunction, the bin width correction moved from the "coefficient" branch of the RooRealSumPdf to the "function" branch of the RooRealSumPdf in HistFactory.
This can cause some distress for users who meddle with histfactory models by hand, because bin correction can now appear at places that are different from what they were originally.
This PR adds a flag to globally disable all bin width corrections of RooBinWidthFunction, allowing the user to switch an entire model from density-mode to eventcount-mode.
Changes or fixes:
Added flag to globally enable or disable all bin width functions.
Checklist:
This PR fixes #