Package madgraph :: Package core :: Module helas_objects :: Class HelasMultiProcess
[hide private]
[frames] | no frames]

Class HelasMultiProcess

source code

            object --+        
                     |        
                  dict --+    
                         |    
base_objects.PhysicsObject --+
                             |
                            HelasMultiProcess
Known Subclasses:

HelasMultiProcess: If initiated with an AmplitudeList, generates the HelasMatrixElements for the Amplitudes, identifying processes with identical matrix elements

Nested Classes [hide private]
  matrix_element_class
HelasMatrixElement: list of processes with identical Helas calls, and the list of HelasDiagrams associated with the processes.

Inherited from base_objects.PhysicsObject: PhysicsObjectError

Instance Methods [hide private]
 
default_setup(self)
Default values for all properties
source code
 
filter(self, name, value)
Filter for valid process property values.
source code
 
get_sorted_keys(self)
Return process property names as a nicely sorted list.
source code
new empty dictionary

__init__(self, argument=None, combine_matrix_elements=True, matrix_element_opts={}, compute_loop_nc=False)
Allow initialization with AmplitudeList.
source code
 
get_used_lorentz(self)
Return a list of (lorentz_name, conjugate, outgoing) with all lorentz structures used by this HelasMultiProcess.
source code
 
get_used_couplings(self)
Return a list with all couplings used by this HelasMatrixElement.
source code
 
get_matrix_elements(self)
Extract the list of matrix elements
source code

Inherited from 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, viewitems, viewkeys, viewvalues

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

Class Methods [hide private]
 
process_color(cls, matrix_element, color_information, compute_loop_nc=None)
Process the color information for a given matrix element made of a tree diagram.
source code
 
generate_matrix_elements(cls, amplitudes, gen_color=True, decay_ids=[], combine_matrix_elements=True, compute_loop_nc=False, matrix_element_opts={})
Generate the HelasMatrixElements for the amplitudes, identifying processes with identical matrix elements, as defined by HelasMatrixElement.__eq__.
source code
Static Methods [hide private]
 
reorder_process(process, org_perm, proc_perm)
Reorder the legs in the process according to the difference between org_perm and proc_perm
source code
Class Variables [hide private]

Inherited from dict: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

default_setup(self)

source code 

Default values for all properties

Overrides: base_objects.PhysicsObject.default_setup

filter(self, name, value)

source code 

Filter for valid process property values.

Overrides: base_objects.PhysicsObject.filter

get_sorted_keys(self)

source code 

Return process property names as a nicely sorted list.

Overrides: base_objects.PhysicsObject.get_sorted_keys

__init__(self, argument=None, combine_matrix_elements=True, matrix_element_opts={}, compute_loop_nc=False)
(Constructor)

source code 

Allow initialization with AmplitudeList. Matrix_element_opts are potential options to be passed to the constructor of the HelasMatrixElements created. By default it is none, but when called from LoopHelasProcess, this options will contain 'optimized_output'.

Returns:
new empty dictionary

Overrides: object.__init__

process_color(cls, matrix_element, color_information, compute_loop_nc=None)
Class Method

source code 

Process the color information for a given matrix element made of a tree diagram. compute_loop_nc is dummy here for the tree-level Nc and present for structural reasons only.

generate_matrix_elements(cls, amplitudes, gen_color=True, decay_ids=[], combine_matrix_elements=True, compute_loop_nc=False, matrix_element_opts={})
Class Method

source code 

Generate the HelasMatrixElements for the amplitudes, identifying processes with identical matrix elements, as defined by HelasMatrixElement.__eq__. Returns a HelasMatrixElementList and an amplitude map (used by the SubprocessGroup functionality). decay_ids is a list of decayed particle ids, since those should not be combined even if matrix element is identical. The compute_loop_nc sets wheter independent tracking of Nc power coming from the color loop trace is necessary or not (it is time consuming). Matrix_element_opts are potential additional options to be passed to the HelasMatrixElements constructed.