Skip to content

Conversation

@will-cern
Copy link
Contributor

Adds public methods to allow access and modification of the underlying factors of RooProdPdf and RooProduct

@phsft-bot
Copy link

Can one of the admins verify this patch?

@jalopezg-git jalopezg-git changed the title additional public methods for accessing/modifying product factors [RF] additional public methods for accessing/modifying product factors Jan 17, 2023
@guitargeek
Copy link
Contributor

@phsft-bot build

@phsft-bot
Copy link

Starting build on ROOT-debian10-i386/soversion, ROOT-performance-centos8-multicore/cxx17, ROOT-ubuntu18.04/nortcxxmod, ROOT-ubuntu2004/python3, mac12/noimt, mac11/cxx14, windows10/cxx14
How to customize builds

Copy link
Contributor

@guitargeek guitargeek left a 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.

@guitargeek
Copy link
Contributor

@phsft-bot build

@phsft-bot
Copy link

Starting build on ROOT-debian10-i386/soversion, ROOT-performance-centos8-multicore/cxx17, ROOT-ubuntu18.04/nortcxxmod, ROOT-ubuntu2004/python3, mac12/noimt, mac11/cxx14, windows10/cxx14
How to customize builds

Copy link
Contributor

@guitargeek guitargeek left a 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants