-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[RF] ExternalConstraints documentation incorrect for RooMCStudy #15405
Labels
Comments
guitargeek
changed the title
ExternalConstraints documentation incorrect for RooMCStudy
[RF] ExternalConstraints documentation incorrect for RooMCStudy
May 11, 2024
guitargeek
added a commit
to guitargeek/root
that referenced
this issue
May 30, 2024
…Study As explained in root-project#15405, the documentation for the `ExternalConstraints` option in RooMCStudy is misleading. People should just pass this to the `FitOptions`, so it actually needs no own docs. The logic to forward the `ExternalConstraints` to the FitOptions is kept for backwards compatibility. Closes root-project#15405.
guitargeek
added a commit
to guitargeek/root
that referenced
this issue
May 30, 2024
As explained in root-project#15405, the documentation for the `ExternalConstraints` option in RooMCStudy is misleading. People should just pass this to the `FitOptions`, so it actually needs no own docs. The logic to forward the `ExternalConstraints` to the FitOptions is kept for backwards compatibility. Closes root-project#15405.
Thanks for noticing this! I have opened a PR to update the docs. However, I kept the logic of forwarding to the fit options for backwards compatibility. |
guitargeek
added a commit
to guitargeek/root
that referenced
this issue
May 30, 2024
As explained in root-project#15405, the documentation for the `ExternalConstraints` option in RooMCStudy is misleading. People should just pass this to the `FitOptions`, so it actually needs no own docs. The logic to forward the `ExternalConstraints` to the FitOptions is kept for backwards compatibility. Closes root-project#15405.
guitargeek
added a commit
that referenced
this issue
May 30, 2024
As explained in #15405, the documentation for the `ExternalConstraints` option in RooMCStudy is misleading. People should just pass this to the `FitOptions`, so it actually needs no own docs. The logic to forward the `ExternalConstraints` to the FitOptions is kept for backwards compatibility. Closes #15405.
guitargeek
added a commit
to guitargeek/root
that referenced
this issue
Jun 1, 2024
As explained in root-project#15405, the documentation for the `ExternalConstraints` option in RooMCStudy is misleading. People should just pass this to the `FitOptions`, so it actually needs no own docs. The logic to forward the `ExternalConstraints` to the FitOptions is kept for backwards compatibility. Closes root-project#15405.
guitargeek
added a commit
that referenced
this issue
Jun 1, 2024
As explained in #15405, the documentation for the `ExternalConstraints` option in RooMCStudy is misleading. People should just pass this to the `FitOptions`, so it actually needs no own docs. The logic to forward the `ExternalConstraints` to the FitOptions is kept for backwards compatibility. Closes #15405.
PPaye
pushed a commit
to PPaye/root
that referenced
this issue
Jun 3, 2024
As explained in root-project#15405, the documentation for the `ExternalConstraints` option in RooMCStudy is misleading. People should just pass this to the `FitOptions`, so it actually needs no own docs. The logic to forward the `ExternalConstraints` to the FitOptions is kept for backwards compatibility. Closes root-project#15405.
silverweed
pushed a commit
to silverweed/root
that referenced
this issue
Aug 19, 2024
As explained in root-project#15405, the documentation for the `ExternalConstraints` option in RooMCStudy is misleading. People should just pass this to the `FitOptions`, so it actually needs no own docs. The logic to forward the `ExternalConstraints` to the FitOptions is kept for backwards compatibility. Closes root-project#15405.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Explain what you would like to see improved and how.
The documentation for the
RooMCStudy
constructor says for the argumentExternalConstraints
: "Apply internal constraints on given parameters in fit and sample constrained parameter values from constraint p.d.f for each toy." This is not correct. Looking at the source code, it appears that theExternalConstraints
are simply added to the fit options that are eventually passed internally tofitTo
.It would be better, I think, to simply eliminate this as an argument to
RooMCStudy
. It should instead just be allowed as part of the arbitraryFitOptions
. This would be more transparent.ROOT version
v6.32
Installation method
N/A
Operating system
N/A
Additional context
No response
The text was updated successfully, but these errors were encountered: