LaTeX
All analytical information derived about a model can be exported to LaTeX files. These files provide in a human readable format the following information: (i) list of all superfields as well as component fields for all eigenstates; (ii) the superpotential and important parts of the Lagrangian like soft-breaking and gauge fixing terms added by SARAH ; (iii) all mass matrices and tadpole equations; (iv) the full two-loop RGEs; (v) analytical expressions for the one-loop self energies and tadpoles; (vi) all interactions and the corresponding Feynman diagrams; (vii) details about the implementation in SARAH. Separated files are also generated for the flavour observables showing all contributing diagrams with their amplitudes.
In short:
- start SARAH and load your model
- run
ModelOutput[EWSB, WriteTeX->True]
after loading your model - open a terminal and go to
cd $SAHRA_Directory/Output/<Model>/EWSB/TeX/
and runchmod +x MakePDF.sh
./MakePDF.sh
- open the generated PDF file and read the lagrangian-section
Writing a LaTeX file
It is possible to write a LaTeX file with all information about the mode by using
ModelOutput[Eigenstates, WriteTeX->True];
This calculates first all interactions for the eigenstates. If this was already done before, it is also possible to use
MakeTeX[Options];
There are different Tex-files produced containing the following information:
- List of the fields
- Important parts of the Lagrangian (soft-breaking terms, gauge fixing terms)
- Mass Matrices and tadpole equations
- Renormalization Group Equations
- One-loop self energies and tadpole equations
- All interactions
- Details about the conventions used in SARAH
Options
The options are
-
FeynmanDiagrams
, Values:True
orFalse
, Default:True
Defines, if the Feynman diagrams for all interactions should be drawn. -
effectiveOperators
, Values:True
orFalse
, Default:True
Defines, if the higher dimensional operators should be included in the LaTeXfile. By default, there are only the vertices involving up to four particles. For switching on six particle interactionsSixParticleInteractions
is used. -
SixParticleInteractions
, Values:True
orFalse
, Default:False
Defines, if also the six-particle interactions should be added to the LaTeX output -
ShortForm
, Values:True
orFalse
, Default:False
Defines, if a shorter notation for the vertices should be used -
WriteSARAH
, Values:True
orFalse
, Default:False
Defines, if the names and parameters used in SARAH should be written
Creating the pdf File
The LaTeX files are saved in the directory
../Output/$MODEL/$EIGENSTATES/TeX
and the main file is $MODEL-$EIGENSTATES.tex
. All other files are included in this file by using the input
-command of LaTeX. If Diagrams->True
is used, the following steps must be done for generating an pdf document including the diagrams:
-
First, compile the Tex file, e.g.
pdflatex model.tex
-
Go to the directory
Diagrams
and compile every.mp
file withmpost
. This is done under Linux and under Windows with mpost FeynmanDiaX.mpIt is also possible to apply the
mpost
command on all.mp
-files at once by usingfind . -name "*.mp" -exec mpost {} \;
-
After generating all diagrams, go back and compile the
.tex
-file again by usingpdflatex
.
To simplify this procedure, SARAH writes a shell script in the Tex-output directory which does exactly these three steps. It can be started under Linux with
./MakePDF.sh
or under Windows with
MakePDF.bat
It is possible that the script must be first declared is executable in Linux via
chmod 755 MakePDF.sh