Skip to content

[RF] Support ranged chi-square fits#21552

Merged
guitargeek merged 1 commit intoroot-project:masterfrom
guitargeek:issue-21541
Mar 10, 2026
Merged

[RF] Support ranged chi-square fits#21552
guitargeek merged 1 commit intoroot-project:masterfrom
guitargeek:issue-21541

Conversation

@guitargeek
Copy link
Contributor

@guitargeek guitargeek commented Mar 10, 2026

Implement a (multi-)range check in RooChi2Var to skip bins that are
not in the requested fit range.

Also add a unit test that checks the resulting test statistics are
additive as expected, and behave correctly for the different modes of
extended pdf, non-extended pdf, and yield prediction by RooAbsReal.

Closes #21541.

@guitargeek guitargeek self-assigned this Mar 10, 2026
Implement a (multi-)range check in `RooChi2Var` to skip bins that are
not in the requested fit range.

Also add a unit test that checks the resulting test statistics are
additive as expected, and behave correctly for the different modes of
extended pdf, non-extended pdf, and yield prediction by RooAbsReal.

Closes root-project#21541.
@guitargeek guitargeek changed the title [RF] Support multi-range selection when reducing RooDataHist [RF] Support ranged chi-square fits Mar 10, 2026
@dpiparo dpiparo self-requested a review March 10, 2026 15:58
@guitargeek guitargeek merged commit 28faba8 into root-project:master Mar 10, 2026
28 of 30 checks passed
@guitargeek guitargeek deleted the issue-21541 branch March 10, 2026 17:02
@guitargeek
Copy link
Contributor Author

/backport to 6.36, 6.38

@root-project-bot
Copy link

Something went wrong with the backport to 6.36: @guitargeek please see the logs

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.

[RF] createChi2 ignores ranges provided by the Range() option

3 participants