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

Class Leg

source code

object --+        
         |        
      dict --+    
             |    
 PhysicsObject --+
                 |
                Leg
Known Subclasses:

Leg object: id (Particle), number, I/F state, flag from_group

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 leg property values.
source code
 
get_sorted_keys(self)
Return particle property names as a nicely sorted list.
source code
 
is_fermion(self, model)
Returns True if the particle corresponding to the leg is a fermion
source code
 
is_incoming_fermion(self, model)
Returns True if leg is an incoming fermion, i.e., initial particle or final antiparticle
source code
 
is_outgoing_fermion(self, model)
Returns True if leg is an outgoing fermion, i.e., initial antiparticle or final particle
source code
 
same(self, leg)
Returns true if the leg in argument has the same ID and the same numer
source code
 
__lt__(self, other)
x<y
source code

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

filter(self, name, value)

source code 

Filter for valid leg 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

__lt__(self, other)
(Less-than operator)

source code 

x<y

Overrides: dict.__lt__
(inherited documentation)