How To’s
Below we provide a few examples for using SModelS and some of the SModelS tools as a Python library 1.
To try out the examples in interactive mode:
Main examples:
How to run SModelS using a parameter file (download the Python code
here, IPython notebookhere)How to run SModelS as a python library (download the Python code
here, IPython notebookhere)
Examples displaying several functionalities:
How to load the database (download the Python code
here, IPython notebookhere)How to obtain experimental upper limits (download the Python code
here, IPython notebookhere)How to obtain experimental efficiencies (download the Python code
here, IPython notebookhere)How to print decomposition results (download the Python code
here, IPython notebookhere)How to print theory predictions (download the Python code
here, IPython notebookhere)How to compare theory predictions with experimental limits (download the Python code
here, IPython notebookhere)How to draw SMS graphs (download the Python code
here, IPython notebookhere)How to use a LHE input including width information (download the Python code
here, IPython notebookhere)How to compute the likelihood and chi2 for a theory predictions (download the Python code
here, IPython notebookhere)How to find missing topologies (download the Python code
here, IPython notebookhere)How to generate ascii graphs (download the Python code
here, IPython notebookhere)How to plot likelihoods from analysis combinations (download the Python code
here, IPython notebookhere)How to use a combinations matrix (download the Python code
here, IPython notebookhere)
Examples using the cross-section computer:
How to compute leading order cross sections (for MSSM) (download the Python code
here, IPython notebookhere)How to compute next-to-leading order cross sections (for MSSM) (download the Python code
here, IPython notebookhere)
Examples using the Database Browser
How to obtain upper limits (download the Python code
here, IPython notebookhere)How to select specific results (download the Python code
here, IPython notebookhere)
Examples using the Interactive Plots tool
How to make interactive plots (download the Python code
here, IPython notebookhere)
- 1
Some of the output may change depending on the database version used.