Package madgraph :: Package core :: Module base_objects :: Class Interaction
[hide private]
[frames] | no frames]

Class Interaction

source code

object --+        
         |        
      dict --+    
             |    
 PhysicsObject --+
                 |
                Interaction

The interaction object containing the whole set of information 
required to univocally characterize a given type of physical interaction: 

particles: a list of particle ids
color: a list of string describing all the color structures involved
lorentz: a list of variable names describing all the Lorentz structure
         involved
couplings: dictionary listing coupling variable names. The key is a
           2-tuple of integers referring to color and Lorentz structures
orders: dictionary listing order names (as keys) with their value

Nested Classes [hide private]

Inherited from PhysicsObject: PhysicsObjectError

Instance Methods [hide private]
 
default_setup(self)
Default values for all properties
source code
 
filter(self, name, value)
Filter for valid interaction property values.
source code
 
get_sorted_keys(self)
Return particle property names as a nicely sorted list.
source code
 
is_perturbating(self, orders_considered)
Returns if this interaction comes from the perturbation of one of the order listed in the argument
source code
 
is_R2(self)
Returns if the interaction is of R2 type.
source code
 
is_UV(self)
Returns if the interaction is of UV type.
source code
 
is_UVmass(self)
Returns if the interaction is of UVmass type.
source code
 
is_UVloop(self)
Returns if the interaction is of UVmass type.
source code
 
is_UVtree(self)
Returns if the interaction is of UVmass type.
source code
 
is_UVCT(self)
Returns if the interaction is of the UVCT type which means that it has been selected as a possible UV counterterm interaction for this process.
source code
 
get_epsilon_order(self)
Returns 0 if this interaction contributes to the finite part of the amplitude and 1 (2) is it contributes to its single (double) pole
source code
 
generate_dict_entries(self, ref_dict_to0, ref_dict_to1)
Add entries corresponding to the current interactions to the reference dictionaries (for n>0 and n-1>1)
source code
 
get_WEIGHTED_order(self, model)
Get the WEIGHTED order for this interaction, for equivalent 3-particle vertex.
source code
 
__str__(self)
String representation of an interaction.
source code
 
canonical_repr(self)
Returns a string representation that allows to order CT vertices in a diagram so that identical HelasMatrix element (i.e.
source code
 
get_canonical_couplings_keys_order(self)
Returns a list of the keys to the 'couplings' dictionary, canonically ordered so so that identical HelasMatrix element (i.e.
source code

Inherited from PhysicsObject: __getitem__, __init__, __repr__, 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 Variables [hide private]
  sorted_keys = ['id', 'particles', 'color', 'lorentz', 'couplin...

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: PhysicsObject.default_setup

filter(self, name, value)

source code 

Filter for valid interaction property values.

Overrides: PhysicsObject.filter

get_sorted_keys(self)

source code 

Return particle property names as a nicely sorted list.

Overrides: PhysicsObject.get_sorted_keys

is_UVCT(self)

source code 

Returns if the interaction is of the UVCT type which means that it has been selected as a possible UV counterterm interaction for this process. Such interactions are marked by having the 'UVCT_SPECIAL' order key in their orders.

get_WEIGHTED_order(self, model)

source code 

Get the WEIGHTED order for this interaction, for equivalent 3-particle vertex. Note that it can be fractional.

__str__(self)
(Informal representation operator)

source code 

String representation of an interaction. Outputs valid Python with improved format. Overrides the PhysicsObject __str__ to only display PDG code of involved particles.

Overrides: object.__str__

canonical_repr(self)

source code 

Returns a string representation that allows to order CT vertices in a diagram so that identical HelasMatrix element (i.e. typically different flavors with identical masses and couplings) can be matched even though the order of the couplings specified in the UFO is different.

get_canonical_couplings_keys_order(self)

source code 

Returns a list of the keys to the 'couplings' dictionary, canonically ordered so so that identical HelasMatrix element (i.e. typically different flavors with identical masses and couplings) can be matched even though the order of the couplings specified in the UFO is different.


Class Variable Details [hide private]

sorted_keys

Value:
['id',
 'particles',
 'color',
 'lorentz',
 'couplings',
 'orders',
 'loop_particles',
 'type',
...