Package madgraph :: Package iolibs :: Module export_cpp :: Class OneProcessExporterMatchbox
[hide private]
[frames] | no frames]

Class OneProcessExporterMatchbox

source code

           object --+    
                    |    
OneProcessExporterCPP --+
                        |
                       OneProcessExporterMatchbox

Class to take care of exporting a set of matrix elements to Matchbox format.

Nested Classes [hide private]

Inherited from OneProcessExporterCPP: ProcessExporterCPPError

Instance Methods [hide private]
 
get_initProc_lines(self, matrix_element, color_amplitudes)
Get initProc_lines for function definition for Pythia 8 .cc file
source code
 
get_class_specific_definition_matrix(self, converter, matrix_element)
place to add some specific hack to a given exporter.
source code
 
get_all_sigmaKin_lines(self, color_amplitudes, class_name)
Get sigmaKin_process for all subprocesses for MAtchbox .cc file
source code
 
get_color_string_lines(self, matrix_element)
Return the color matrix definition lines for this matrix element.
source code

Inherited from OneProcessExporterCPP: __init__, generate_process_files, get_calculate_wavefunctions, get_color_matrix_lines, get_default_converter, get_den_factor_line, get_helicity_matrix, get_jamp_lines, get_matrix_single_process, get_process_class_definitions, get_process_function_definitions, get_process_info_lines, get_process_name, get_reset_jamp_lines, get_sigmaHat_lines, get_sigmaKin_lines, get_sigmaKin_single_process, write_process_cc_file, write_process_h_file

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

Class Methods [hide private]

Inherited from OneProcessExporterCPP: read_template_file

Class Variables [hide private]
  process_class_template = 'matchbox_class.inc'
  single_process_template = 'matchbox_matrix.inc'
  process_definition_template = 'matchbox_function_definitions.inc'

Inherited from OneProcessExporterCPP: include_dir, process_dir, process_sigmaKin_function_template, process_template_cc, process_template_h, process_wavefunction_template, template_path

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

get_initProc_lines(self, matrix_element, color_amplitudes)

source code 

Get initProc_lines for function definition for Pythia 8 .cc file

Overrides: OneProcessExporterCPP.get_initProc_lines

get_class_specific_definition_matrix(self, converter, matrix_element)

source code 

place to add some specific hack to a given exporter. Please always use Super in that case

Overrides: OneProcessExporterCPP.get_class_specific_definition_matrix

get_all_sigmaKin_lines(self, color_amplitudes, class_name)

source code 

Get sigmaKin_process for all subprocesses for MAtchbox .cc file

Overrides: OneProcessExporterCPP.get_all_sigmaKin_lines

get_color_string_lines(self, matrix_element)

source code 

Return the color matrix definition lines for this matrix element. Split rows in chunks of size n.