Package madgraph :: Package iolibs :: Module export_v4 :: Class UFO_model_to_mg4
[hide private]
[frames] | no frames]

Class UFO_model_to_mg4

source code

object --+
         |
        UFO_model_to_mg4

A converter of the UFO-MG5 Model to the MG4 format

Instance Methods [hide private]
 
__init__(self, model, output_path, opt=None)
initialization of the objects
source code
 
pass_parameter_to_case_insensitive(self)
modify the parameter if some of them are identical up to the case
source code
 
refactorize(self, wanted_couplings=[])
modify the couplings to fit with MG4 convention
source code
 
build(self, wanted_couplings=[], full=True)
modify the couplings to fit with MG4 convention and creates all the different files
source code
 
open(self, name, comment='c', format='default')
Open the file name in the correct directory and with a valid header.
source code
 
write_all(self)
write all the files
source code
 
copy_standard_file(self)
Copy the standard files for the fortran model.
source code
 
create_coupl_inc(self)
write coupling.inc
source code
 
create_write_couplings(self)
write the file coupl_write.inc
source code
 
create_input(self)
create input.inc containing the definition of the parameters
source code
 
check_needed_param(self, param)
Returns whether the parameter in argument is needed for this specific computation or not.
source code
 
extract_needed_CTparam(self, wanted_couplings=[])
Extract what are the needed CT parameters given the wanted_couplings
source code
 
create_intparam_def(self, dp=True, mp=False)
create intparam_definition.inc setting the internal parameters.
source code
 
create_couplings(self)
create couplings.f and all couplingsX.f
source code
 
create_couplings_main(self, nb_def_by_file=25)
create couplings.f
source code
 
create_couplings_part(self, nb_file, data, dp=True, mp=False)
create couplings[nb_file].f containing information coming from data.
source code
 
create_model_functions_inc(self)
Create model_functions.inc which contains the various declarations of auxiliary functions which might be used in the couplings expressions
source code
 
create_model_functions_def(self)
Create model_functions.f which contains the various definitions of auxiliary functions which might be used in the couplings expressions Add the functions.f functions for formfactors support
source code
 
create_makeinc(self)
create makeinc.inc containing the file to compile
source code
 
create_param_write(self)
create param_write
source code
 
create_ident_card(self)
create the ident_card.dat
source code
 
create_actualize_mp_ext_param_inc(self)
create the actualize_mp_ext_params.inc code
source code
 
create_param_read(self)
create param_read
source code
 
create_param_card(self)
create the param_card.dat
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
 
create_param_card_static(model, output_path, rule_card_path=False, mssm_convert=True)
create the param_card.dat for a givent model --static method--
source code
Class Variables [hide private]
  PS_dependent_key = ['aS', 'MU_R']
  mp_complex_format = 'complex*32'
  mp_real_format = 'real*16'
  mp_prefix = 'MP__'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, model, output_path, opt=None)
(Constructor)

source code 

initialization of the objects

Overrides: object.__init__

create_intparam_def(self, dp=True, mp=False)

source code 

create intparam_definition.inc setting the internal parameters. Output the double precision and/or the multiple precision parameters depending on the parameters dp and mp. If mp only, then the file names get the 'mp_' prefix.

create_couplings_part(self, nb_file, data, dp=True, mp=False)

source code 

create couplings[nb_file].f containing information coming from data. Outputs the computation of the double precision and/or the multiple precision couplings depending on the parameters dp and mp. If mp is True and dp is False, then the prefix 'MP_' is appended to the filename and subroutine name.