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
[RF] Fix counting Asimov generation with multiple floating parameters
When generating a counting Asimov dataset, the AsymptoticCalculator
identified the expected value of an observable in a Gaussian or Poisson
term as "the single non-constant server that is not the observable".
This heuristic failed whenever both the mean and the width of a Gaussian
were floating, could not see constness through derived quantities like
RooFormulaVars, and silently set the observable to the value of the
*sigma* parameter when the mean was constant but sigma floated.
The heuristic is unnecessary: RooGaussian and RooPoisson expose their
proxies via getX() and getMean(). Use the exact (x, mean) pair and set
whichever of the two is the observable to the value of the other one.
The width and the constness of the parameters no longer matter, and the
direction where the mean is the observable (constraint terms with global
observables) keeps working. The RooMultiVarGaussian path goes through
the same helper with xVec()[i] and muVec()[i].
Fixes the four failure cases from ROOT-10096, covered by a new test.
Fixes [ROOT-10096](https://its.cern.ch/jira/browse/ROOT-10069)
🤖 Done with the help of AI
0 commit comments