FlexibleSUSY is hosted by Hepforge, IPPP Durham
FlexibleSUSY utilities

Plotting the mass spectrum and RG running

The pole mass spectrum and the RG flow can be written to data files for easy plotting. In the MSSM for example these data files can be generated via

./models/MSSM/run_MSSM.x --slha-input-file=model_files/MSSM/LesHouches.in.MSSM --rgflow-output-file=MSSM_rgflow.dat --spectrum-output-file=MSSM_spectrum.dat

The generated files `MSSM_rgflow.dat` and `MSSM_spectrum.dat` can be plotted with the gnuplot scripts in the model directory:

gnuplot -persist -e "filename='MSSM_spectrum.dat'" models/MSSM/MSSM_plot_spectrum.gnuplot gnuplot -persist -e "filename='MSSM_rgflow.dat'" models/MSSM/MSSM_plot_rgflow.gnuplot

The latter is just for illustration and currently plots all DR-bar parameters regardless of dimension, so the resulting plot is not particularly informative. However the user may then adapt this script to plot any chosen subset of the parameters.

Parameter scans

FlexibleSUSY contains two scripts aiming to help the user performing parameter scans.

Tabular output

The script `utils/scan-slha.sh` performs a scan over an input parameter.

### Examples ###

To perform a scan over $\tan\beta(M_Z)$ in the CMSSM (given in the SLHA input file in the `MINPAR[3]` field) and print out the the values of $\tan\beta(M_Z)$, $M_h$ (`MASS[25]`) and $y_t(M_{\text{SUSY}})$ (`YU[2,2]`) run

utils/scan-slha.sh --spectrum-generator=models/CMSSM/run_CMSSM.x --slha-input-file=model_files/CMSSM/LesHouches.in.CMSSM --scan-range=MINPAR[3]=1~30:10 --output=MINPAR[3],MASS[25],YU[2:2]

Alternatively, the SLHA input can be piped into the script as

cat model_files/CMSSM/LesHouches.in.CMSSM | utils/scan-slha.sh --spectrum-generator=models/CMSSM/run_CMSSM.x --scan-range=MINPAR[3]=1~30:10 --output=MINPAR[3],MASS[25],YU[2:2]

The spectrum generator executable is specified using the `--spectrum-generator=` option. The parameter to be scanned over as well as the scan range and the number of steps must be specified using the `--scan-range=` option. The syntax is


where `<block>` is the SLHA block in which the input parameter is to be set and `<field>` is the block entry corresponding to the parameter. `<start>` and `<stop>` define the scan range and `<number_of_steps>` define the number of steps. By default the step size is linear. Alternatively, a logarithmic step size can be chosen by passing `--step-size=log` to the script. See also `utils/scan-slha.sh --help`. The parameters to print to the output stream must be defined using the `--output=` option. The syntax is


where `<block>` is the SLHA block in which the output parameter is to be read from and `<field>` is the block entry corresponding to the parameter. To read a matrix element from a block, use a colon `:` to specify the matrix element indices. Multiple output parameters can be specified by a comma.

Database output

As an alternative, all parameters calculated during a scan can be written to a SQLite database using the `scan-database.sh` script.

### Examples ###

utils/scan-database.sh --spectrum-generator=models/CMSSM/run_CMSSM.x --slha-input-file=model_files/CMSSM/LesHouches.in.CMSSM --scan-range=MINPAR[3]=1~30:10 --database-output-file=scan.db


cat model_files/CMSSM/LesHouches.in.CMSSM | ./utils/scan-database.sh --spectrum-generator=models/CMSSM/run_CMSSM.x --scan-range=MINPAR[3]=1~30:10 --database-output-file=scan.db

The name of the database file must be set using the `--database-output-file=` option.

Convert SPheno to FlexibleSUSY model file

The script `utils/convert_SPheno_to_FlexibleSUSY.m` can help to convert a SPheno model file (`SPheno.m`) to a FlexibleSUSY model file (`FlexibleSUSY.m.in`). The conversion is not perfect, because the conversion is not unique. Therefore, the user should check the generated `FlexibleSUSY.m.in` file.

### Example ###

math -noprompt -run "sphenoFile = \"~/.Mathematica/Applications/SARAH/Models/MSSM/SPheno.m"; Get["utils/convert_SPheno_to_FlexibleSUSY.m"]; Quit[]" > FlexibleSUSY.m.in