Package madgraph :: Package madevent :: Module sum_html :: Class RunStatistics
[hide private]
[frames] | no frames]

Class RunStatistics

source code

object --+    
         |    
      dict --+
             |
            RunStatistics

A class to store statistics about a MadEvent run.

Instance Methods [hide private]
new empty dictionary

__init__(self, *args, **opts)
Initialize the run dictionary.
source code
 
aggregate_statistics(self, new_stats)
Update the current statitistics with the new_stats specified.
source code
 
load_statistics(self, xml_node)
Load the statistics from an xml node.
source code
 
nice_output(self, G, no_warning=False)
Returns a one-line string summarizing the run statistics gathered for the channel G.
source code
 
has_warning(self)
return if any stat needs to be reported as a warning When this is True, the print_warning doit retourner un warning
source code
 
get_warning_text(self)
get a string with all the identified warning
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__

Class Variables [hide private]

Inherited from dict: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **opts)
(Constructor)

source code 

Initialize the run dictionary. For now, the same as a regular dictionary, except that we specify some default statistics.

Returns:
new empty dictionary

Overrides: object.__init__