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-16: CR_ewk_VV_high,CR_ewk_VV_low,CR_ewk_tau_high,CR_ewk_tau_low,CR_ewk_top_high,CR_ewk_top_low,CR_slep_VV_high,CR_slep_VV_low,CR_slep_tau_high,CR_slep_tau_low,CR_slep_top_high,CR_slep_top_low,SR_ewk_1l1T,SR_ewk_2l_ee_high_c,SR_ewk_2l_ee_high_d,SR_ewk_2l_ee_high_e,SR_ewk_2l_ee_high_f,SR_ewk_2l_ee_high_g,SR_ewk_2l_ee_high_h,SR_ewk_2l_ee_low_c,SR_ewk_2l_ee_low_d,SR_ewk_2l_ee_low_e,SR_ewk_2l_ee_low_f,SR_ewk_2l_ee_low_g,SR_ewk_2l_ee_low_h,SR_ewk_2l_ee_med_c,SR_ewk_2l_ee_med_d,SR_ewk_2l_ee_med_e,SR_ewk_2l_ee_med_f,SR_ewk_2l_high,SR_ewk_2l_low,SR_ewk_2l_med,SR_ewk_2l_mm_high_a,SR_ewk_2l_mm_high_b,SR_ewk_2l_mm_high_c,SR_ewk_2l_mm_high_d,SR_ewk_2l_mm_high_e,SR_ewk_2l_mm_high_f,SR_ewk_2l_mm_high_g,SR_ewk_2l_mm_high_h,SR_ewk_2l_mm_low_a,SR_ewk_2l_mm_low_b,SR_ewk_2l_mm_low_c,SR_ewk_2l_mm_low_d,SR_ewk_2l_mm_low_e,SR_ewk_2l_mm_low_f,SR_ewk_2l_mm_low_g,SR_ewk_2l_mm_low_h,SR_ewk_2l_mm_med_a,SR_ewk_2l_mm_med_b,SR_ewk_2l_mm_med_c,SR_ewk_2l_mm_med_d,SR_ewk_2l_mm_med_e,SR_ewk_2l_mm_med_f,SR_slep_2l_ee_high_a,SR_slep_2l_ee_high_b,SR_slep_2l_ee_high_c,SR_slep_2l_ee_high_d,SR_slep_2l_ee_high_e,SR_slep_2l_ee_high_f,SR_slep_2l_ee_high_g,SR_slep_2l_ee_high_h,SR_slep_2l_ee_low_a,SR_slep_2l_ee_low_b,SR_slep_2l_ee_low_c,SR_slep_2l_ee_low_d,SR_slep_2l_ee_low_e,SR_slep_2l_ee_low_f,SR_slep_2l_ee_low_g,SR_slep_2l_ee_low_h,SR_slep_2l_mm_high_a,SR_slep_2l_mm_high_b,SR_slep_2l_mm_high_c,SR_slep_2l_mm_high_d,SR_slep_2l_mm_high_e,SR_slep_2l_mm_high_f,SR_slep_2l_mm_high_g,SR_slep_2l_mm_high_h,SR_slep_2l_mm_low_a,SR_slep_2l_mm_low_b,SR_slep_2l_mm_low_c,SR_slep_2l_mm_low_d,SR_slep_2l_mm_low_e,SR_slep_2l_mm_low_f,SR_slep_2l_mm_low_g,SR_slep_2l_mm_low_h(86):TChiWZoff,TSlepSlep,TChiZoff,TChiWWoff(4)
In [5]:
# Now restore all results to the browser:
browser.loadAllResults()
print(len(browser))
16
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)