Package models :: Module model_reader :: Class ModelReader
[hide private]
[frames] | no frames]

Class ModelReader

source code

                          object --+            
                                   |            
                                dict --+        
                                       |        
madgraph.core.base_objects.PhysicsObject --+    
                                           |    
            madgraph.core.base_objects.Model --+
                                               |
                                              ModelReader
Known Subclasses:

Object to read all parameters and couplings of a model

Nested Classes [hide private]

Inherited from madgraph.core.base_objects.PhysicsObject: PhysicsObjectError

Instance Methods [hide private]
 
default_setup(self)
The particles is changed to ParticleList
source code
 
set_parameters_and_couplings(self, param_card=None)
Read a param_card and calculate all parameters and couplings.
source code

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 

The particles is changed to ParticleList

Overrides: madgraph.core.base_objects.PhysicsObject.default_setup

set_parameters_and_couplings(self, param_card=None)

source code 

Read a param_card and calculate all parameters and couplings. Set values directly in the parameters and couplings, plus add new dictionary coupling_dict from parameter name to value.