Package madgraph :: Package loop :: Module loop_exporters :: Class LoopInducedExporterME
[hide private]
[frames] | no frames]

Class LoopInducedExporterME

source code

                                 object --+            
                                          |            
                        LoopExporterFortran --+        
                                              |        
                         object --+           |        
                                  |           |        
   iolibs.export_v4.VirtualExporter --+       |        
                                      |       |        
iolibs.export_v4.ProcessExporterFortran --+   |        
                                          |   |        
  iolibs.export_v4.ProcessExporterFortranSA --+        
                                              |        
                   LoopProcessExporterFortranSA --+    
                                                  |    
              LoopProcessOptimizedExporterFortranSA --+
                                                      |
                                                     LoopInducedExporterME
Known Subclasses:

A class to specify all the functions common to LoopInducedExporterMEGroup and LoopInducedExporterMENoGroup (but not relevant for the original Madevent exporters)

Instance Methods [hide private]
 
__init__(self, *args, **opts)
Initialize the process, setting the proc characteristics.
source code
 
get_context(self, *args, **opts)
Make sure that the contextual variable MadEventOutput is set to True for this exporter
source code
 
write_procdef_mg5(self, file_pos, modelname, process_str)
write an equivalent of the MG4 proc_card in order that all the Madevent Perl script of MadEvent4 are still working properly for pure MG5 run.
source code
 
get_source_libraries_list(self)
Returns the list of libraries to be compiling when compiling the SOURCE directory.
source code
 
link_files_in_SubProcess(self, Ppath)
Add the loop-induced related links to the P* directory Ppath
source code
 
copy_template(self, *args, **opts)
Pick the right mother functions
source code
 
finalize(self, matrix_elements, history, mg5options, flaglist)
Function to finalize v4 directory, for inheritance.
source code
 
write_tir_cache_size_include(self, writer)
Write the file 'tir_cache_size.inc' which sets the size of the TIR cache the the user wishes to employ and the default value for it.
source code
 
write_matrix_element_v4(self, writer, matrix_element, fortran_model, proc_id=None, config_map=[], subproc_number=None)
Write it the wrapper to call the ML5 subroutine in the library.
source code
 
get_amp2_lines(self, *args, **opts)
Make sure the function is implemented in the daughters
source code

Inherited from LoopProcessOptimizedExporterFortranSA: fix_coef_specs, link_TIR, link_files_from_Subprocesses, loop_optimized_additional_template_setup, set_group_loops, set_optimized_output_specific_replace_dict_entries, setup_check_sa_replacement_dictionary, write_COLLIER_interface, write_CT_interface, write_GOLEM_interface, write_TIR_interface, write_color_flow_coefs_data_file, write_color_matrix_data_file, write_compute_color_flows, write_global_specs, write_loop_matrix_element_v4, write_loop_num, write_loopmatrix, write_mp_compute_loop_coefs, write_polynomial_subroutines

Inherited from LoopProcessExporterFortranSA: cat_coeff, compiler_choice, convert_model, generate_general_replace_dict, generate_loop_subprocess, generate_subprocess_directory, get_ME_identifier, get_SubProc_folder_name, get_amp_to_jamp_map, get_color_matrix, loop_additional_template_setup, make, make_model_symbolic_link, make_source_links, split_HELASCALLS, turn_to_mp_calls, write_born_amps_and_wfs, write_bornmatrix, write_check_sa, write_f2py_check_sa, write_f2py_makefile, write_f2py_splitter, write_improve_ps, write_loop_makefile_definitions, write_process_info_file

Inherited from LoopExporterFortran: get_aloha_model, link_CutTools, write_mp_files

Inherited from iolibs.export_v4.ProcessExporterFortranSA: create_MA5_cards, export_model_files, write_check_sa_splitOrders, write_source_makefile

Inherited from iolibs.export_v4.ProcessExporterFortran: coeff, create_default_madanalysis5_cards, create_proc_charac, create_run_card, export_helas, export_processes, format_integer_list, get_JAMP_coefs, get_JAMP_lines, get_JAMP_lines_split_order, get_color_data_lines, get_den_factor_line, get_helicity_lines, get_ic_line, get_icolamp_lines, get_leshouche_lines, get_mg5_info_lines, get_pdf_lines, get_process_info_lines, get_split_orders_lines, modify_grouping, pass_information_from_cmd, replace_make_opt_c_compiler, replace_make_opt_f_compiler, set_chosen_SO_index, set_compiler, set_cpp_compiler, set_fortran_compiler, write_configs_file, write_configs_file_from_diagrams, write_helamp_madspin, write_leshouche_file, write_maxamps_file, write_maxparticles_file, write_nexternal_file, write_nexternal_madspin, write_ngraphs_file, write_pdf_opendata, write_pmass_file, write_props_file

Inherited from iolibs.export_v4.VirtualExporter: helas_call_writer_custom

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

Static Methods [hide private]

Inherited from iolibs.export_v4.VirtualExporter: custom_helas_call

Class Variables [hide private]
  madloop_makefile_name = 'makefile_MadLoop'

Inherited from LoopProcessOptimizedExporterFortranSA: all_tir, forbid_loop_grouping, template_dir

Inherited from LoopProcessExporterFortranSA: MadLoop_banner

Inherited from LoopExporterFortran: default_opt, include_names

Inherited from iolibs.export_v4.ProcessExporterFortranSA: matrix_template

Inherited from iolibs.export_v4.ProcessExporterFortran: grouped_mode

Inherited from iolibs.export_v4.VirtualExporter: check, exporter, output, sa_symmetry

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **opts)
(Constructor)

source code 

Initialize the process, setting the proc characteristics.

Overrides: object.__init__

get_context(self, *args, **opts)

source code 

Make sure that the contextual variable MadEventOutput is set to True for this exporter

Overrides: LoopProcessExporterFortranSA.get_context

write_procdef_mg5(self, file_pos, modelname, process_str)

source code 

write an equivalent of the MG4 proc_card in order that all the Madevent Perl script of MadEvent4 are still working properly for pure MG5 run. Not needed for StandAlone so we need to call the correct one

Overrides: iolibs.export_v4.ProcessExporterFortran.write_procdef_mg5

get_source_libraries_list(self)

source code 

Returns the list of libraries to be compiling when compiling the SOURCE directory. It is different for loop_induced processes and also depends on the value of the 'output_dependencies' option

Overrides: iolibs.export_v4.ProcessExporterFortran.get_source_libraries_list

copy_template(self, *args, **opts)

source code 

Pick the right mother functions

Overrides: iolibs.export_v4.VirtualExporter.copy_template

finalize(self, matrix_elements, history, mg5options, flaglist)

source code 

Function to finalize v4 directory, for inheritance.

Overrides: iolibs.export_v4.VirtualExporter.finalize

write_tir_cache_size_include(self, writer)

source code 

Write the file 'tir_cache_size.inc' which sets the size of the TIR cache the the user wishes to employ and the default value for it. This can have an impact on MadLoop speed when using stability checks but also impacts in a non-negligible way MadLoop's memory footprint. It is therefore important that the user can chose its size.

Overrides: LoopProcessOptimizedExporterFortranSA.write_tir_cache_size_include

write_matrix_element_v4(self, writer, matrix_element, fortran_model, proc_id=None, config_map=[], subproc_number=None)

source code 

Write it the wrapper to call the ML5 subroutine in the library.

Overrides: iolibs.export_v4.ProcessExporterFortran.write_matrix_element_v4

get_amp2_lines(self, *args, **opts)

source code 

Make sure the function is implemented in the daughters

Overrides: iolibs.export_v4.ProcessExporterFortran.get_amp2_lines