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

Class OneProcessExporterPythia8

source code

           object --+    
                    |    
OneProcessExporterCPP --+
                        |
                       OneProcessExporterPythia8

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

Nested Classes [hide private]

Inherited from OneProcessExporterCPP: ProcessExporterCPPError

Instance Methods [hide private]
 
__init__(self, *args, **opts)
Set process class name
source code
 
get_default_converter(self) source code
 
get_process_class_definitions(self, write=True)
The complete Pythia 8 class definition for the process
source code
 
get_process_function_definitions(self, write=True)
The complete Pythia 8 class definition for the process
source code
 
get_process_influx(self)
Return process file name for the process in matrix_element
source code
 
get_id_masses(self, process)
Return the lines which define the ids for the final state particles, for the Pythia phase space
source code
 
get_resonance_lines(self)
Return the lines which define the ids for intermediate resonances for the Pythia phase space
source code
 
get_resonances(self)
Return the PIDs for any resonances in 2->2 and 2->3 processes.
source code
 
get_initProc_lines(self, color_amplitudes)
Get initProc_lines for function definition for Pythia 8 .cc file
source code
 
get_setIdColAcol_lines(self, color_amplitudes)
Generate lines to set final-state id and color info for process
source code
 
get_weightDecay_lines(self)
Get weightDecay_lines for function definition for Pythia 8 .cc file
source code
 
convert_model_to_pythia8(self, model, pythia_dir)
Create a full valid Pythia 8 model from an MG5 model (coming from UFO)
source code

Inherited from OneProcessExporterCPP: generate_process_files, get_all_sigmaKin_lines, get_calculate_wavefunctions, get_class_specific_definition_matrix, get_color_matrix_lines, get_den_factor_line, get_helicity_matrix, get_jamp_lines, get_matrix_single_process, 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]
 
read_template_file(cls, filename)
Open a template file and return the contents.
source code
Class Variables [hide private]
  process_template_h = 'pythia8_process_h.inc'
  process_template_cc = 'pythia8_process_cc.inc'
  process_class_template = 'pythia8_process_class.inc'
  process_definition_template = 'pythia8_process_function_defini...
  process_wavefunction_template = 'pythia8_process_wavefunctions...
  process_sigmaKin_function_template = 'pythia8_process_sigmaKin...
  template_path = '/Users/omattelaer/Documents/workspace/madgrap...

Inherited from OneProcessExporterCPP: include_dir, process_dir, single_process_template

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

source code 

Set process class name

Overrides: object.__init__

get_default_converter(self)

source code 
Overrides: OneProcessExporterCPP.get_default_converter

get_process_class_definitions(self, write=True)

source code 

The complete Pythia 8 class definition for the process

Overrides: OneProcessExporterCPP.get_process_class_definitions

get_process_function_definitions(self, write=True)

source code 

The complete Pythia 8 class definition for the process

Overrides: OneProcessExporterCPP.get_process_function_definitions

read_template_file(cls, filename)
Class Method

source code 

Open a template file and return the contents.

Overrides: OneProcessExporterCPP.read_template_file

get_initProc_lines(self, color_amplitudes)

source code 

Get initProc_lines for function definition for Pythia 8 .cc file

Overrides: OneProcessExporterCPP.get_initProc_lines

Class Variable Details [hide private]

process_definition_template

Value:
'pythia8_process_function_definitions.inc'

process_wavefunction_template

Value:
'pythia8_process_wavefunctions.inc'

process_sigmaKin_function_template

Value:
'pythia8_process_sigmaKin_function.inc'

template_path

Value:
'/Users/omattelaer/Documents/workspace/madgraph5/MG5_aMC_v2_6_5/madgra\
ph/iolibs/template_files/pythia8'