Package madgraph :: Package loop :: Module loop_color_amp :: Class LoopColorBasis
[hide private]
[frames] | no frames]

Class LoopColorBasis

source code

           object --+        
                    |        
                 dict --+    
                        |    
core.color_amp.ColorBasis --+
                            |
                           LoopColorBasis

Same class as its mother ColorBasis except that it can also handle LoopAmplitudes.

Nested Classes [hide private]

Inherited from core.color_amp.ColorBasis: ColorBasisError

Instance Methods [hide private]
new empty dictionary

__init__(self, compute_loop_nc=False)
Defines the instance attribute compute_loop_nc.
source code
 
closeColorLoop(self, colorize_dict, lcut_charge, lcut_numbers)
Add a color delta in the right representation (depending on the color charge carried by the L-cut particle whose number are given in the loop_numbers argument) to close the loop color trace.
source code
 
create_loop_color_dict_list(self, amplitude)
Returns a list of colorize dict for all loop diagrams in amplitude.
source code
 
create_born_color_dict_list(self, amplitude)
Returns a list of colorize dict for all born diagrams in amplitude.
source code
 
build_born(self, amplitude)
Build the a color basis object using information contained in amplitude (otherwise use info from _list_color_dict).
source code
 
build_loop(self, amplitude)
Build the loop color basis object using information contained in amplitude (otherwise use info from _list_color_dict).
source code

Inherited from core.color_amp.ColorBasis: __str__, add_vertex, build, color_flow_decomposition, colorize, create_color_dict_list, update_color_basis

Inherited from core.color_amp.ColorBasis (private): _invert_dict

Inherited from dict: __cmp__, __contains__, __delitem__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __iter__, __le__, __len__, __lt__, __ne__, __new__, __repr__, __setitem__, __sizeof__, clear, copy, fromkeys, get, 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__

Static Methods [hide private]

Inherited from core.color_amp.ColorBasis: get_color_flow_string

Class Variables [hide private]

Inherited from dict: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, compute_loop_nc=False)
(Constructor)

source code 

Defines the instance attribute compute_loop_nc. 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).

Returns:
new empty dictionary

Overrides: object.__init__

create_loop_color_dict_list(self, amplitude)

source code 

Returns a list of colorize dict for all loop diagrams in amplitude. Also update the _list_color_dict object accordingly.

create_born_color_dict_list(self, amplitude)

source code 

Returns a list of colorize dict for all born diagrams in amplitude. Also update the _list_color_dict object accordingly

build_born(self, amplitude)

source code 

Build the a color basis object using information contained in amplitude (otherwise use info from _list_color_dict). Returns a list of color

build_loop(self, amplitude)

source code 

Build the loop color basis object using information contained in amplitude (otherwise use info from _list_color_dict). Returns a list of color.