Class to take care of exporting a set of matrix elements to Python
format.
|
|
__init__(self,
matrix_elements,
python_helas_call_writer)
Initiate with matrix elements, helas call writer. |
source code
|
|
|
|
get_python_matrix_methods(self,
gauge_check=False)
Write the matrix element calculation method for the processes |
source code
|
|
|
|
get_helicity_matrix(self,
matrix_element)
Return the Helicity matrix definition lines for this matrix element |
source code
|
|
|
|
get_den_factor_line(self,
matrix_element)
Return the denominator factor line for this matrix element |
source code
|
|
|
|
|
|
|
get_jamp_lines(self,
matrix_element)
Return the jamp = sum(fermionfactor * amp[i]) lines |
source code
|
|
|
|
get_amp2_lines(self,
matrix_element,
config_map=[])
Return the amp2(i) = sum(amp for diag(i))^2 lines |
source code
|
|
|
|
get_mg5_info_lines(self)
Return info lines for MG5, suitable to place at beginning of Python
files |
source code
|
|
|
|
get_process_info_lines(self,
matrix_element)
Return info lines describing the processes for this matrix element |
source code
|
|
|
|
get_model_parameter_lines(self,
matrix_element)
Return definitions for all model parameters used in this matrix
element |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|