FeynArts
Generate model files for FeynArts
A model file for “ FeynArts ” is created by
ModelOutput[$EIGENSTATES, WriteFeynArts>True]
or, if ModelOutput
was used before and the vertices are already calculated, by
MakeFeynArts[Options]
As options can AddCounterTerms > True be used to add counter terms to each parameter: in that case all appearing parameters are replaced by x → x + δ**x. Note, this option has to be used carefully because the routines are not yet very sophisticate. For instance, the shift is applied for mixing angles like the Weinberg angle itself and not for trigonometric functions as it is usually done. This will be improved in the future.
The following things are done:

A list of all particles present in the models is generated. The particles in FeynArts are named

S[X]
: For scalars, with some integerX

F[X]
: For fermions, with some integerX

V[X]
: For vector bosons, with some integerX

U[X]
: For ghosts, with some integerX
X
can be defined in the particle definitions file of SARAH or is chosen automatically.FeynArts
also supports labels for particles which are easier to read for humans eyes by using a TeXlike output. The label for each particle is generated from the defined LaTeX name by SARAH . 

A list with all appearing indices is written.

The list with interactions is written. If the theory contains several nonAbelian, unbroken gauge groups, the generators of these gauge groups will appear in the vertices. By default, the generators of S**U(3) are associated to
SUNT
and automatically simplified when usingFormCalc
.
FormCalc
Dependences, numerical values and special abbreviations forA second file is generated by SARAH together with the model file for FeynArts . This file is called Substitutions<> $EIGENSTATES <>.m and contains additional information which might be useful for calculating diagrams:

Replacement rules with the defined dependences in SARAH , see parameters.m
Dependences
DependencesOptional
DependencesNum

The definitions of the masses:
Masses
in SARAH 
The numerical values for the parameters in SARAH :
NumericalValues

Special abbreviations for FormCalc like those are also defined for the MSSM and SM in the FormCalc package:
 A complex conjugation is replaced by
C
:Conjugate[X] >XC
 A square is replaced by
2
:X^2 > X2
 The names of softbreaking couplings are merged:
T[X] > TX
It is recommended to use this definitions to speed up the calculations with FormCalc .
 A complex conjugation is replaced by