|
__init__(self,
model,
output_path,
wanted_lorentz=[ ] ,
wanted_couplings=[ ] )
initialization of the objects |
source code
|
|
|
write_files(self)
Create all necessary files |
source code
|
|
|
prepare_parameters(self)
Extract the parameters from the model, and store them in the two
lists params_indep and params_dep |
source code
|
|
|
prepare_couplings(self,
wanted_couplings=[ ] )
Extract the couplings from the model, and store them in the two lists
coups_indep and coups_dep |
source code
|
|
|
write_parameter_class_files(self)
Generate the parameters_model.h and parameters_model.cc files, which
have the parameters and couplings for the model. |
source code
|
|
|
generate_parameters_class_files(self)
Create the content of the Parameters_model.h and .cc files |
source code
|
|
|
write_parameters(self,
params)
Write out the definitions of parameters |
source code
|
|
|
write_set_parameters(self,
params)
Write out the lines of independent parameters |
source code
|
|
|
write_print_parameters(self,
params)
Write out the lines of independent parameters |
source code
|
|
|
write_aloha_routines(self)
Generate the hel_amps_model.h and hel_amps_model.cc files, which have
the complete set of generalized Helas routines for the model |
source code
|
|
|
read_aloha_template_files(self,
ext)
Read all ALOHA template files with extension ext, strip them of
compiler options and namespace options, and return in a list |
source code
|
|
|
clean_line(self,
line)
Strip a line of compiler options and namespace options. |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
output_name = ' C++ Standalone '
|
|
namespace = ' MG5 '
|
|
type_dict = { ' complex ' : ' std::complex<double> ' , ' real ' : ' double ' }
|
|
compiler_option_re = re.compile(r'^#\w')
|
|
namespace_re = re.compile(r'^using namespace')
|
|
slha_to_depend = { ( ' SMINPUTS ' , ( 1) ) : ( ' aEM ' ) , ( ' SMINPUTS ' , ( 3) ...
|
|
include_dir = ' . '
|
|
cc_file_dir = ' . '
|
|
param_template_h = ' cpp_model_parameters_h.inc '
|
|
param_template_cc = ' cpp_model_parameters_cc.inc '
|
|
aloha_template_h = ' cpp_hel_amps_h.inc '
|
|
aloha_template_cc = ' cpp_hel_amps_cc.inc '
|
|
copy_include_files = [ ]
|
|
copy_cc_files = [ ]
|