Package madgraph :: Package various :: Module banner :: Class RunCard
[hide private]
[frames] | no frames]

Class RunCard

source code

object --+    
         |    
      dict --+
             |
            RunCard
Known Subclasses:

A class object for the run_card

Instance Methods [hide private]
new empty dictionary

__init__(self, run_card)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
get_default(self, name, default, log_level)
return self[name] if exist otherwise default.
source code
 
write(self, output_file, template=None)
Write the run_card in output_file according to template (a path to a valid run_card)
source code
 
write_include_file(self, output_path)
writing the run_card.inc file
source code
 
add_line(self, card_name, type, default, log=30, fortran_name=None)
get the line for the .inc file
source code

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

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

Static Methods [hide private]
 
format(format, value)
format the value
source code
Class Variables [hide private]
  hidden_param = ['lhaid', 'gridrun', 'fixed_couplings']
  true = ['true', 'True', '.true.', 'T', True, 1, 'TRUE']

Inherited from dict: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, run_card)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Returns:
new empty dictionary

Overrides: object.__init__

get_default(self, name, default, log_level)

source code 

return self[name] if exist otherwise default. log control if we put a warning or not if we use the default value