# Set up the path to SModelS installation folder
import sys; sys.path.append("."); import smodels_paths
from smodels.tools import databaseBrowser
# First load the browser and check the total number of results loaded
browser = databaseBrowser.Browser("official")
print(len(browser))
158
# Select only efficiency map results:
browser.selectExpResultsWith(dataType ='efficiencyMap')
# List the name of results loaded:
print(len(browser))
54
# Now check the first result:
print(browser[0])
ATLAS-SUSY-2015-01: SRA250,SRA350,SRA450,SRB(4):T2bb(1)
# Now restore all results to the browser:
browser.loadAllResults()
print(len(browser))
158
# Select only efficiency map results:
browser.selectExpResultsWith(dataType='upperLimit')
# List the name of results loaded:
print(len(browser))
104
# Now check the first result:
print(browser[0])
ATLAS-SUSY-2015-01:(0):T2bb(1)