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
 
has_multiparticle_label(self)
A process, not being a ProcessDefinition never carries multiple particles labels
source code
 
set(self, name, value)
Special set for forbidden particles - set to abs value.
source code
 
get_squared_order_type(self, order)
Return what kind of squared order constraint was specified for the order 'order'.
source code
D[k] if k in D, else d
get(self, name)
Special get for legs_with_decays
source code
 
get_sorted_keys(self)
Return process property names as a nicely sorted list.
source code
 
nice_string(self, indent=0, print_weighted=True, prefix=True)
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, pdg_order=False, print_id=True)
Returns process as string with '~' -> 'x', '>' -> '_', '+' -> 'p' and '-' -> 'm', including process number, intermediate s-channels and forbidden particles, pdg_order allow to order to leg order by pid.
source code
 
shell_string_v4(self)
Returns process as v4-compliant string with '~' -> 'x' and '>' -> '_'
source code
 
are_negative_orders_present(self)
Check iteratively that no coupling order constraint include negative values.
source code
 
are_decays_perturbed(self)
Check iteratively that the decayed processes are not perturbed
source code
 
decays_have_squared_orders(self)
Check iteratively that the decayed processes are not perturbed
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_initial_final_ids(self)
return a tuple of two tuple containing the id of the initial/final state particles.
source code
 
get_final_ids_after_decay(self)
Give the pdg code of the process including decay
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
 
get_tag(self)
return the tag for standalone call
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__, 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, 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 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(self, name)

source code 

Special get for legs_with_decays

Returns: D[k] if k in D, else d
Overrides: dict.get

get_sorted_keys(self)

source code 

Return process property names as a nicely sorted list.

Overrides: PhysicsObject.get_sorted_keys

nice_string(self, indent=0, print_weighted=True, prefix=True)

source code 

Returns a nicely formated string about current process content. Since the WEIGHTED order is automatically set and added to the user-defined list of orders, it can be ommitted for some info displays.

get_initial_final_ids(self)

source code 

return a tuple of two tuple containing the id of the initial/final state particles. Each list is ordered

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)