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

Class Process

source code

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

Process: list of legs (ordered) dictionary of orders model process id

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 process property values.
source code
 
set(self, name, value)
Special set for forbidden particles - set to abs value.
source code
 
get_sorted_keys(self)
Return process property names as a nicely sorted list.
source code
 
nice_string(self, indent=0)
Returns a nicely formated string about current process content
source code
 
input_string(self)
Returns a process string corresponding to the input string in the command line interface.
source code
 
base_string(self)
Returns a string containing only the basic process (w/o decays).
source code
 
shell_string(self, schannel=True, forbid=True, main=True)
Returns process as string with '~' -> 'x', '>' -> '_', '+' -> 'p' and '-' -> 'm', including process number, intermediate s-channels and forbidden particles
source code
 
shell_string_v4(self)
Returns process as v4-compliant string with '~' -> 'x' and '>' -> '_'
source code
 
get_ninitial(self)
Gives number of initial state particles
source code
 
get_initial_ids(self)
Gives the pdg codes for initial state particles
source code
 
get_initial_pdg(self, number)
Return the pdg codes for initial state particles for beam number
source code
 
get_final_legs(self)
Gives the final state legs
source code
 
get_final_ids(self)
Gives the pdg codes for final state particles
source code
 
get_legs_with_decays(self)
Return process with all decay chains substituted in.
source code
 
list_for_sort(self)
Output a list that can be compared to other processes as: [id, sorted(initial leg ids), sorted(final leg ids), sorted(decay list_for_sorts)]
source code
 
compare_for_sort(self, other)
Sorting routine which allows to sort processes for comparison.
source code
 
identical_particle_factor(self)
Calculate the denominator factor for identical final state particles
source code
 
check_expansion_orders(self)
Ensure that maximum expansion orders from the model are properly taken into account in the process
source code
 
__eq__(self, other)
Overloading the equality operator, so that only comparison of process id and legs is being done, using compare_for_sort.
source code
 
__ne__(self, other)
x!=y
source code

Inherited from PhysicsObject: __getitem__, __init__, __repr__, __str__, get, is_valid_prop

Inherited from dict: __cmp__, __contains__, __delitem__, __ge__, __getattribute__, __gt__, __iter__, __le__, __len__, __lt__, __new__, __setitem__, __sizeof__, clear, copy, fromkeys, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values

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 process property values.

Overrides: PhysicsObject.filter

set(self, name, value)

source code 

Special set for forbidden particles - set to abs value.

Overrides: PhysicsObject.set

get_sorted_keys(self)

source code 

Return process property names as a nicely sorted list.

Overrides: PhysicsObject.get_sorted_keys

compare_for_sort(self, other)

source code 

Sorting routine which allows to sort processes for comparison. Compare only process id and legs.

__eq__(self, other)
(Equality operator)

source code 

Overloading the equality operator, so that only comparison of process id and legs is being done, using compare_for_sort.

Overrides: dict.__eq__

__ne__(self, other)

source code 

x!=y

Overrides: dict.__ne__
(inherited documentation)