Skip to content
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] Fix RooAddPdf::expectedEvents() in conditional fits #12954

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

guitargeek
Copy link
Contributor

So far, the projection coefficient for coefficients in RooAddPdfs was missing in RooAddPdf::expectedEvents(). However, this is important to include in conditional fits where the normalization set of expectedEvents() is different from the normalization set for coefficient determination. This PR includes this missing factor.

A unit test that covers both the case where the expected events are taken from the coefs and the one where they are taken from the pdfs is included.

@github-actions
Copy link

github-actions bot commented Jun 6, 2023

Test Results

       11 files         11 suites   2d 11h 16m 16s ⏱️
  2 469 tests   2 463 ✔️ 0 💤 6
25 474 runs  25 465 ✔️ 0 💤 9

For more details on these failures, see this check.

Results for commit 8815e7f.

♻️ This comment has been updated with latest results.

@root-project root-project deleted a comment from phsft-bot Jun 14, 2023
@root-project root-project deleted a comment from phsft-bot Jun 14, 2023
@root-project root-project deleted a comment from phsft-bot Jun 14, 2023
@root-project root-project deleted a comment from phsft-bot Jun 14, 2023
So far, the projection coefficient for coefficients in RooAddPdfs was
missing in `RooAddPdf::expectedEvents()`. However, this is important to
include in conditional fits where the normalization set of
`expectedEvents()` is different from the normalization set for
coefficient determination. This PR includes this missing factor.

A unit test that covers both the case where the expected events are
taken from the coefs and the one where they are taken from the pdfs is
included.
@phsft-bot
Copy link
Collaborator

Starting build on ROOT-debian10-i386/soversion, ROOT-performance-centos8-multicore/cxx17, ROOT-ubuntu2204/nortcxxmod, ROOT-ubuntu2004/python3, mac11/noimt, mac12arm/cxx20, windows10/cxx14
How to customize builds

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.

None yet

2 participants