Page 1 of 1

Example of how to use WriteTemplatesParFiles

Posted: 18. Apr 2016, 19:02
by user2
I was wondering how to use the new function "WriteTemplatesParFiles" to generate files for new models. Can you give us an example of how this function works and the format of the input it requires? I couldn't find any explanation in the documents provided with SARAH.

Many thanks

Re: Example of how to use WriteTemplatesParFiles

Posted: 19. Apr 2016, 09:40
by FStaub
Hi,

in principle, you can run the command any time if you have implemented a new model to get the entries of the new fields and parameters for particles.m and parameter.m:
It will create the files particles.m.Template and parameters.m.Template ..
1) ... including all new particles and parameters
2) ... auto-generating LaTeX names, Output names and FeynArts numbers
3) ... extending/generating PDGs

You can either replace the existing parameters.m, particles.m by these files or just copy the new entries you need.

Note, some physical information has to be adjusted by the user:
1) Electric charge of new particles
2) Goldstone corresponding to massive vectors


Cheers,
Florian