Skip to content

[RF] Bug with RooExtendPdf produces inconsistency in rf204b_extendedLikelihood_rangedFit.C between before 6.26 and after 6.28 #22959

Closed

Description

@atsushi-icepp

Check duplicate issues.

  • Checked for duplicates

Description

I am reporting a bug in RooExtendPdf, which can be seen in rf204b_extendedLikelihood_rangedFit.C of the tutorial. In the recent versions, the fit using RooExtendPdf class has wrong best-fit values of 𝑁 =4494 (and 𝛼 is biased as well) while the fit using the composite of signal and background PDFs implemented by RooAddPdf correctly fits the distribution with 𝑁 =9990.

Looking back into the past versions, this issue appears since version 6.28. With version 6.26, RooExtendPdf properly works.

Reproducer

ROOT tutorial: rf204b_extendedLikelihood_rangedFit.C.

ROOT version

Any versions after 6.28

Installation method

Built from source

Operating system

SLES15 and ALMA10

Additional context

No response

Activity

  1. changed the title [-]Bug with RooExtendPdf produces inconsistency in rf204b_extendedLikelihood_rangedFit.C between before 6.26 and after 6.28[/-] [+][RF] Bug with RooExtendPdf produces inconsistency in rf204b_extendedLikelihood_rangedFit.C between before 6.26 and after 6.28[/+] on Jul 29, 2026
  2. added a commit that references this issue on Aug 2, 2026
    669eea0
  3. guitargeek commented on Aug 3, 2026

    @guitargeek
    Contributor

    Thanks for reporting this long-standing regression! I have opened a PR with a suggested fix:

  4. added a commit that references this issue on Aug 4, 2026
    4d36d9e
  5. added a commit that references this issue on Aug 4, 2026
    1139edc
  6. added a commit that references this issue on Oct 16, 2026
    20fbab4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions