-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[RF] additional public methods for accessing/modifying product factors #12048
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] additional public methods for accessing/modifying product factors #12048
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 Will, thanks for these nice suggestions!
I have one request: the code you implemented is a duplicate of what is already in the RooProdPdf constructor. Can you maybe re-implement the constructor that takes a collection of PDFs in terms of your new addPdfs() function to avoid this? Like that, we also get huge test coverage for free.
|
@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.
Thank you for the PR, LGTM!
Adds public methods to allow access and modification of the underlying factors of RooProdPdf and RooProduct