Class to take care of exporting a set of matrix elements to C++
format.
|
__init__(self,
matrix_elements,
cpp_helas_call_writer,
process_string='
' ,
process_number=0,
path=' /Users/alwall/MadGraph/madgraph5/MadGraph5_v1_4_8 ' )
Initiate with matrix elements, helas call writer, process string,
path. |
source code
|
|
|
generate_process_files(self)
Generate the .h and .cc files needed for C++, for the processes
described by multi_matrix_element |
source code
|
|
|
write_process_h_file(self,
writer)
Write the class definition (.h) file for the process |
source code
|
|
|
write_process_cc_file(self,
writer)
Write the class member definition (.cc) file for the process
described by matrix_element |
source code
|
|
|
get_process_class_definitions(self)
The complete class definition for the process |
source code
|
|
|
get_process_function_definitions(self)
The complete Pythia 8 class definition for the process |
source code
|
|
|
get_process_name(self)
Return process file name for the process in matrix_element |
source code
|
|
|
get_process_info_lines(self,
matrix_element)
Return info lines describing the processes for this matrix element |
source code
|
|
|
get_initProc_lines(self,
matrix_element,
color_amplitudes)
Get initProc_lines for function definition for Pythia 8 .cc file |
source code
|
|
|
get_reset_jamp_lines(self,
color_amplitudes)
Get lines to reset jamps |
source code
|
|
|
get_calculate_wavefunctions(self,
wavefunctions,
amplitudes)
Return the lines for optimized calculation of the wavefunctions for
all subprocesses |
source code
|
|
|
get_sigmaKin_lines(self,
color_amplitudes)
Get sigmaKin_lines for function definition for Pythia 8 .cc file |
source code
|
|
|
get_all_sigmaKin_lines(self,
color_amplitudes,
class_name)
Get sigmaKin_process for all subprocesses for Pythia 8 .cc file |
source code
|
|
|
get_sigmaKin_single_process(self,
i,
matrix_element)
Write sigmaKin for each process |
source code
|
|
|
get_matrix_single_process(self,
i,
matrix_element,
color_amplitudes,
class_name)
Write matrix() for each process |
source code
|
|
|
get_sigmaHat_lines(self)
Get sigmaHat_lines for function definition for Pythia 8 .cc file |
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,
color_amplitudes)
Return the jamp = sum(fermionfactor * amp[i]) lines |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|