-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[RF] Small fixes to debug printout in RooRealIntegral and RooEffGenContext #12178
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] Small fixes to debug printout in RooRealIntegral and RooEffGenContext #12178
Conversation
`_mode` is the analytical integral code, not the integral operation mode
|
Can one of the admins verify this patch? |
|
@phsft-bot build |
|
Starting build on |
|
Apologies, I copied the function from another gen context and did not notice that |
|
Hi, thanks for the PR first of all! Yes, it would be nice to fix that, I see now that the (well, the header not really, but it also doesn't have that many lines) I think your PR is a good opportunity to correctly format them for good! Could you add an initial commit to this PR where you And then, on top of the reformatting commit, you could make the commit with your actual new function (and code format again). Does that sound good to you? |
|
Build failed on mac12/noimt. Warnings:
|
|
Build failed on ROOT-ubuntu2004/python3. Failing tests:
|
|
Hello, I can do that. Just to be clear, that applies only to RooEffGenContex.h and cxx, right? Not RooRealIntegral.cxx, which would change a lot with the ROOT format |
|
Yes, exactly. I'd prefer not to re-format the older more complicated sources, because that makes it harder to understand where things are coming from via |
This reformatting is done now because the files will be changed in the following commit, and the differences to the ROOT code style were already minor
fcf3132 to
b07f976
Compare
|
@phsft-bot build |
|
Starting build on |
|
Build failed on mac12/noimt. Warnings:
|
|
Build failed on ROOT-ubuntu2004/python3. 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 a lot for these fixes!
This Pull request:
Fixes some small issues with debug printout during integration or generation
Changes or fixes:
The first commit changes the debug printout in
RooRealIntegral::evaluate._modehere is the analytical integral code,_intOperModeis the variable that can beHybrid,AnalyticorPassThrough(like in the switch-case above).The second commit adds
printMultilinetoRooEffGenContext. This is used when requesting verbose printout during dataset generation, which is supposed to recursively print all gen contexts. Before this change, having aRooEffProdinside the model stopped the recursive printout.Checklist: