Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|

| ||||||||

Line: 357 to 357 | ||||||||

Added: | ||||||||

> > | ## Model InspectorThe Model Inspector is a GUI for examining the model contained in the RooFit workspace. The function and it's parameters are as follows: void ModelInspector(const char* infile = "", const char* workspaceName = "combined", const char* modelConfigName = "ModelConfig", const char* dataName = "obsData") If the worspace(/s) were made using hist2workspace, the names have a standard form (as shown above).
## Using the Model Inspector
// Load the macro. root -L ModelInspector.C++ // Run the macro on the appropriate ROOT workspace file. ModelInspector("results/my_combined_example_model.root") The Model Inspector GUI should appear. The GUI consists of a number of plots, corresponding to the various channels in the model, and a few sliders, corresponding to the parameters of interest and the nuisance parameters in the model. The initial plots are based on the values of the parameters in the workspace. There is a little "Fit" button which fits the model to the data points (while also printing the standard terminal output detailing the fitting). After fitting, a yellow band is shown around the best fit model indicating the uncertainty from propagating the uncertainty of the fit through the model. On the plots, there is a red line shown (corresponding to the fit for each of the parameters at their nominal value pushed up by 1 sigma).
## How do I get it?You can get the ModelInspector.C from the Statistics Forum RooStats tools here.
## Links | |||||||

## Accessing the RooFit workspace
## Example code: accessing the workspace | ||||||||

Line: 403 to 430 | ||||||||

Deleted: | ||||||||

< < | ## Model InspectorThe Model Inspector is a GUI for examining the model contained in the RooFit workspace. The function and it's parameters are as follows: void ModelInspector(const char* infile = "", const char* workspaceName = "combined", const char* modelConfigName = "ModelConfig", const char* dataName = "obsData") If the worspace(/s) were made using hist2workspace, the names have a standard form (as shown above).
## Using the Model Inspector
// Load the macro. root -L ModelInspector.C++ // Run the macro on the appropriate ROOT workspace file. ModelInspector("results/my_combined_example_model.root") The Model Inspector GUI should appear. The GUI consists of a number of plots, corresponding to the various channels in the model, and a few sliders, corresponding to the parameters of interest and the nuisance parameters in the model. The initial plots are based on the values of the parameters in the workspace. There is a little "Fit" button which fits the model to the data points (while also printing the standard terminal output detailing the fitting). After fitting, a yellow band is shown around the best fit model indicating the uncertainty from propagating the uncertainty of the fit through the model. On the plots, there is a red line shown (corresponding to the fit for each of the parameters at their nominal value pushed up by 1 sigma).
## How do I get it?You can get the ModelInspector.C from the Statistics Forum RooStats tools here.
## Links | |||||||

## RooStats
## General description |

View topic | History: r51 < r50 < r49 < r48 | More topic actions...

Copyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

Ideas, requests, problems regarding TWiki? Send feedback

Ideas, requests, problems regarding TWiki? Send feedback