cms-analysis / CombineHarvester

CMSSW package for the creation, editing and analysis of combine datacards and workspaces
cms-analysis.github.io/CombineHarvester/
15 stars 180 forks source link

[Question] PostFitShapesFromWorkspace #250

Open andrzejnovak opened 3 years ago

andrzejnovak commented 3 years ago

Could have gotten sth wrong, but PostFitShapesFromWorkspace doesn't seem take into account toys production. "data_obs" is always the original input from workspace, even when running the FitDiagnostics with -t -1. Is this intended behaviour?

ajgilbert commented 3 years ago

You have the option --dataset X to load a different RooDataSet from the input workspace. In theory you can save the toy that combine generates and then embed that toy in a copy of the workspace.