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

Class DiagramList

source code

   object --+        
            |        
         list --+    
                |    
PhysicsObjectList --+
                    |
                   DiagramList

List of Diagram objects

Nested Classes [hide private]

Inherited from PhysicsObjectList: PhysicsObjectListError

Instance Methods [hide private]
 
is_valid_element(self, obj)
Test if object obj is a valid Diagram for the list.
source code
 
nice_string(self, indent=0)
Returns a nicely formatted string
source code
 
get_max_order(self, order)
Return the order of the diagram in the list with the maximum coupling order for the coupling specified
source code
 
apply_negative_sq_order(self, ref_diag_list, order, value, order_type)
This function returns a fitlered version of the diagram list self which satisfy the negative squared_order constraint 'order' with negative value 'value' and of type 'order_type', assuming that the diagram_list it must be squared against is 'reg_diag_list'.
source code
 
apply_positive_sq_orders(self, ref_diag_list, sq_orders, sq_order_types)
This function returns a filtered version of self which contain only the diagram which satisfy the positive squared order constraints sq_orders of type sq_order_types and assuming that the diagrams are multiplied with those of the reference diagram list ref_diag_list.
source code
 
filter_constrained_orders(self, order, value, operator)
This function modifies the current object and remove the diagram which do not obey the condition
source code
 
get_min_order(self, order)
Return the order of the diagram in the list with the mimimum coupling order for the coupling specified
source code
 
get_order_values(self, order)
Return the list of possible values appearing in the diagrams of this list for the order given in argument
source code

Inherited from PhysicsObjectList: __init__, __str__, append

Inherited from list: __add__, __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __iadd__, __imul__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __repr__, __reversed__, __rmul__, __setitem__, __setslice__, __sizeof__, count, extend, index, insert, pop, remove, reverse, sort

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __subclasshook__

Class Variables [hide private]

Inherited from list: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

is_valid_element(self, obj)

source code 

Test if object obj is a valid Diagram for the list.

Overrides: PhysicsObjectList.is_valid_element

apply_negative_sq_order(self, ref_diag_list, order, value, order_type)

source code 

This function returns a fitlered version of the diagram list self which satisfy the negative squared_order constraint 'order' with negative value 'value' and of type 'order_type', assuming that the diagram_list it must be squared against is 'reg_diag_list'. It also returns the new postive target squared order which correspond to this negative order constraint. Example: u u~ > d d~ QED^2<=-2 means that one wants to pick terms only up to the the next-to-leading order contributiong in QED, which is QED=2 in this case, so that target_order=4 is returned.