You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[RF] Bug with RooExtendPdf produces inconsistency in rf204b_extendedLikelihood_rangedFit.C between before 6.26 and after 6.28 #22959
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.
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
Activity
[-]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[/+][RF] Fix RooExtendPdf yield/shape in ranged extended fits
guitargeek commentedon Aug 3, 2026
Thanks for reporting this long-standing regression! I have opened a PR with a suggested fix:
[RF] Fix RooExtendPdf yield/shape in ranged extended fits
[RF] Fix RooExtendPdf yield/shape in ranged extended fits
[RF] Fix RooExtendPdf yield/shape in ranged extended fits