Skip to content

[RF] Error out in RooStats::sPlot if variable for sWeights is already used in the fit #11768

@guitargeek

Description

@guitargeek

Error out in RooStats::sPlot if variable for sWeights is already used as a discriminating variable in the fit. In this case, the sWeights are invalid and it has recently confused two users already:

When implementing this, consider also changing the sPlots documentation to have a clickable link to the arXiv paper instead of just the tag like it is there right now:
https://root.cern/doc/master/classRooStats_1_1SPlot.html#:~:text=Using%20ratios%20as%20yield%20parameters

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions