Package models :: Module import_ufo :: Class RestrictModel
[hide private]
[frames] | no frames]

Class RestrictModel

source code

                          object --+                
                                   |                
                                dict --+            
                                       |            
madgraph.core.base_objects.PhysicsObject --+        
                                           |        
            madgraph.core.base_objects.Model --+    
                                               |    
                        model_reader.ModelReader --+
                                                   |
                                                  RestrictModel

A class for restricting a model for a given param_card. rules applied:

Nested Classes [hide private]

Inherited from madgraph.core.base_objects.PhysicsObject: PhysicsObjectError

Instance Methods [hide private]
 
default_setup(self)
define default value
source code
 
restrict_model(self, param_card)
apply the model restriction following param_card
source code
 
locate_coupling(self)
create a dict couplings_name -> vertex
source code
 
detect_identical_couplings(self, strict_zero=False)
return a list with the name of all vanishing couplings
source code
 
detect_special_parameters(self)
return the list of (name of) parameter which are zero
source code
 
detect_identical_parameters(self)
return the list of tuple of name of parameter with the same input value
source code
 
merge_iden_couplings(self, couplings)
merge the identical couplings in the interactions
source code
 
merge_iden_parameters(self, parameters)
merge the identical parameters given in argument
source code
 
remove_interactions(self, zero_couplings)
remove the interactions associated to couplings
source code
 
remove_couplings(self, couplings) source code
 
fix_parameter_values(self, zero_parameters, one_parameters)
Remove all instance of the parameters in the model and replace it by zero when needed.
source code

Inherited from model_reader.ModelReader: set_parameters_and_couplings

Inherited from madgraph.core.base_objects.Model: check_majoranas, filter, get, get_coupling_orders, get_first_non_pdg, get_interaction, get_max_WEIGHTED, get_order_hierarchy, get_particle, get_particles_hierarchy, get_sorted_keys, pass_particles_name_in_mg_default, reset_dictionaries, set, write_param_card

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

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

Static Methods [hide private]

Inherited from madgraph.core.base_objects.Model: load_default_name

Class Variables [hide private]

Inherited from dict: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

default_setup(self)

source code 

define default value

Overrides: madgraph.core.base_objects.PhysicsObject.default_setup