Load the browser¶
In [1]:
# Set up the path to SModelS installation folder
import sys; sys.path.append("."); import smodels_paths
In [2]:
from smodels.tools import databaseBrowser
# First load the browser and check the total number of results loaded
# (using unittest database because it is a small database)
browser = databaseBrowser.Browser("unittest")
print(len(browser))
15
Select only efficiency map results:¶
In [3]:
# Select only efficiency map results:
browser.selectExpResultsWith(dataType ='efficiencyMap')
# List the name of results loaded:
print(len(browser))
6
In [4]:
# Now check the first result:
print(browser[0])
ATLAS-SUSY-2018-31: SRA_L,SRA_M,SRA_H,SRB,SRC_22,SRC_24,SRC_26,SRC_28(8):T6bbHH(1)
In [5]:
# Now restore all results to the browser:
browser.loadAllResults()
print(len(browser))
15
Select only upper limit results:¶
In [6]:
# Select only efficiency map results:
browser.selectExpResultsWith(dataType='upperLimit')
# List the name of results loaded:
print(len(browser))
9
In [7]:
# Now check the first result:
print(browser[0])
ATLAS-SUSY-2016-08:(0):T5Disp(1)