Package madgraph :: Package iolibs :: Module helas_call_writers :: Class PythonUFOHelasCallWriter
[hide private]
[frames] | no frames]

Class PythonUFOHelasCallWriter

source code

                 object --+                
                          |                
                       dict --+            
                              |            
core.base_objects.PhysicsObject --+        
                                  |        
                    HelasCallWriter --+    
                                      |    
                     UFOHelasCallWriter --+
                                          |
                                         PythonUFOHelasCallWriter

The class for writing Helas calls in Python, starting from HelasWavefunctions and HelasAmplitudes.

Includes the function generate_helas_call, which automatically generates the Python Helas call based on the Lorentz structure of the interaction.

Nested Classes [hide private]

Inherited from core.base_objects.PhysicsObject: PhysicsObjectError

Instance Methods [hide private]
 
get_matrix_element_calls(self, matrix_element, gauge_check=False)
Return a list of strings, corresponding to the Helas calls for the matrix element
source code
 
generate_helas_call(self, argument, gauge_check=False)
Routine for automatic generation of Python Helas calls according to just the spin structure of the interaction.
source code

Inherited from UFOHelasCallWriter: get_amplitude_call, get_wavefunction_call

Inherited from HelasCallWriter: __init__, add_amplitude, add_wavefunction, default_setup, filter, get_amplitude_calls, get_model_name, get_sorted_keys, get_wavefunction_calls

Inherited from core.base_objects.PhysicsObject: __getitem__, __repr__, __str__, get, is_valid_prop, set

Inherited from dict: __cmp__, __contains__, __delitem__, __eq__, __ge__, __getattribute__, __gt__, __iter__, __le__, __len__, __lt__, __ne__, __new__, __setitem__, __sizeof__, clear, copy, fromkeys, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __subclasshook__

Class Variables [hide private]

Inherited from HelasCallWriter: mother_dict

Inherited from dict: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

get_matrix_element_calls(self, matrix_element, gauge_check=False)

source code 

Return a list of strings, corresponding to the Helas calls for the matrix element

Overrides: HelasCallWriter.get_matrix_element_calls