Running stat only limits when workspace includes systematics NPs

I have workspaces that include systematics NPs, but I want to run a stat only limit.
How can I do this without needing to remake the workspace. I thought this would be as simple as calling SetNuisanceParameters("") on the ModelConfigs, but that doesn’t work (and would remove the gamma parameters anyhow.

Hi,

If you want to remove the systematics, you would need to fix them to their nominal values. It its like to use very strong constraints (their sigma going to zero).

Lorenzo

What about parameter->setConstant(true)?
https://root.cern.ch/doc/master/classRooAbsRealLValue.html#ada206bf5e97d88491e89032c1bd7789c

I think that the fitter should now ignore it.
I don’t know, though, if some RooStats tool can re-enable it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.