https://github.com/SModelS/smodels
Raw File
Tip revision: 6953eae740951a18eb0a425fa725b6f71b30d46d authored by Wolfgang Waltenberger on 19 December 2023, 09:56:22 UTC
Revert "removed test directory"
Tip revision: 6953eae
iplots_parameters_IDM.py
#Note: html notation like <sub>NAME</sub> for subscript and <sup>NAME</sup> for superscript 
#can be used in axes labels and spectrum hover information (slha blocks, BRs, ctau,...), 
#but not in the SModelS hover information.


#Plot title
plot_title = 'interactive plot example from a small IDM scan'

#Label*, block and code number for the variables you want to plot, e.g.  ['MASS', 1000021]. These will be your x and y axes.
variable_x =  ['MASS', 36]
variable_y = ['MASS', 35]
#Alternatively, you can add custom names as:
#variable_x = {'m<sub>h<sub>a</sub></sub>': ['MASS', 36]}
#variable_y = {'m<sub>h<sub>h</sub></sub>': ['MASS', 35]}


#SLHA hover information: In a dictionary form, give the name* of your variable, the block and code number to find it in the SLHA file.
slha_hover_information = [['MASS', 36], ['MASS', 35], ['MASS', 37]]
#You can provide custom names as:
#slha_hover_information = {'m<sub>h<sub>a</sub></sub>': ['MASS', 36],'m<sub>h<sub>n</sub></sub>': ['MASS', 35],'m<sub>h<sub>c</sub></sub>': ['MASS', 37]}

#For which particles you want to get the mean decay length.
ctau_hover_information = [36]
#You can provide custom names as:
#ctau_hover_information = {'ctau(mh_a)': 36}
#For which particles you want to display the decay channels and branching ratios. 
BR_hover_information = [36,37]
#You can provide custom names as:
#BR_hover_information = {'BR(mh_a)': 36, 'BR(mh_c)': 37}
#The output is written in the form '.25[1000022,1,-1]',  where the first number (0.25) is the branching ratio, and the numbers in [,] are the PDG codes of the decay products.
#WARNING: Lists of branching ratios lists can be very long, so the may not fit in the hover box. 
#You can tell how many entries you want to print with min_BR, e.g. min_BR = .05 (default 'all').
min_BR = .05


#SModelS hover information; options are:
#
#SModelS_status -> prints whether the point is excluded or not by SModelS.
#r_max -> shows the highest r-value for each parameter point.

#Tx -> shows the topology/ies which give r_max
#Analysis -> shows the experimental analysis from which the strongest constraint (r_max) comes from.
#MT_max -> shows the missing topology with the largest cross section (in SModelS bracket notation).
#MT_max_xsec -> shows the cross section of MT_max.
#MT_total_xsec -> shows the total missing cross section (i.e. the sum of all missing topologies cross sections) . 
#MT_prompt_xsec->Extracts the total cross section from missing prompt topologies
#MT_displaced_xsec->Extracts the total cross section from missing displaced topologies
#MT_outgrid_xsec -> shows the total missing cross section outside the mass grids of the experimental results.
#file -> shows the name of the input spectrum file. 

SModelS_hover_information = ['SModelS_status', 'r_max', 'Tx', 'Analysis', 'MT_max','MT_max_xsec', 'MT_total_xsec', 'MT_outgrid_xsec','MT_prompt_xsec','MT_displaced_xsec', 'file']



#Set which plots do you want
# choice for plot data: all, non-excluded, excluded points.
plot_data = ['all', 'non-excluded', 'excluded'] 
# choice for plot list: same options as for SModels hover information (except 'file').
plot_list = ['SModelS_status','r_max', 'Tx', 'Analysis', 'MT_max', 'MT_max_xsec', 'MT_total_xsec','MT_outgrid_xsec','MT_prompt_xsec','MT_displaced_xsec']

back to top