Package madgraph :: Package fks :: Module fks_common :: Class FKSLeg
[hide private]
[frames] | no frames]

Class FKSLeg

source code

                 object --+            
                          |            
                       dict --+        
                              |        
core.base_objects.PhysicsObject --+    
                                  |    
              core.base_objects.Leg --+
                                      |
                                     FKSLeg

a class for FKS legs: it inherits from the ususal leg class, with two extra keys in the dictionary: -'fks', whose value can be 'i', 'j' or 'n' (for "normal" particles) -'color', which gives the color of the leg -'charge', which gives the charge of the leg -'massless', boolean, true if leg is massless -'spin' which gives the spin of leg -'is_part', boolean, true if leg is an particle -'self_antipart', boolean, true if leg is an self-conjugated particle

Nested Classes [hide private]

Inherited from core.base_objects.PhysicsObject: PhysicsObjectError

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

Inherited from core.base_objects.Leg: __lt__, is_fermion, is_incoming_fermion, is_outgoing_fermion, same

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

Inherited from dict: __cmp__, __contains__, __delitem__, __eq__, __ge__, __getattribute__, __gt__, __iter__, __le__, __len__, __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]

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

get_sorted_keys(self)

source code 

Return particle property names as a nicely sorted list.

Overrides: core.base_objects.PhysicsObject.get_sorted_keys

filter(self, name, value)

source code 

Filter for valid leg property values.

Overrides: core.base_objects.PhysicsObject.filter