Skip to content

[RF] Fix RooAddPdf::expectedEvents() in conditional fits #12954

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

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

    13 files      13 suites   2d 21h 41m 58s ⏱️
 3 026 tests  3 026 ✅ 0 💤 0 ❌
33 807 runs  33 807 ✅ 0 💤 0 ❌

Results for commit 38aba9c.

♻️ 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.
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.

1 participant