files fermion and boson.txt

Asked by Rafael Marcelino

Hi there!

I'm interested in the way you guys calculate the relativistic degrees of freedom. I noticed that there is 2 .txt files, fermion and boson. I can't find the process or routine that write these files. This is something predefined for all models in maddm?

Question information

Language:
English Edit question
Status:
Answered
For:
MadDM Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Dear Rafael,

The file boson.txt and fermion.txt are predefined and does not depend of the the model.
You can find those in Templates/include

The calculation of the relativistic degrees of freedom is done in
MGOutput.py file
in the function
def WriteModelInfo(self):
        """ This routine writes the mass, degrees of freedom and boson/fermion #
        # information for all the relevant particles in the model so that the #
        # number of relativistic degrees of freedom can be calculated. #
        # #
        # The SM particles are in the template by default so this would just #
        # add the relevant BSM particles."""

The associated information is include in the file of the output directory
include/model_info_template.txt

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#2

Sorry the message was send too early.
This is written in include/model_info.txt

Cheers,

Olivier

Can you help with this problem?

Provide an answer of your own, or ask Rafael Marcelino for more information if necessary.

To post a message you must log in.