Package madgraph :: Package various :: Module gen_crossxhtml :: Class AllResults
[hide private]
[frames] | no frames]

Class AllResults

source code

object --+    
         |    
      dict --+
             |
            AllResults

Store the results for all the run of a given directory

Instance Methods [hide private]
new empty dictionary

__init__(self, model, process, path)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
def_current(self, run, tag=None)
define the name of the current run The first argument can be a OneTagResults
source code
 
delete_run(self, run_name, tag=None)
delete a run from the database
source code
 
def_web_mode(self, web)
define if we are in web mode or not
source code
 
add_run(self, name, run_card, current=True)
Adding a run to this directory
source code
None
update(self, status, level, makehtml=True, error=False)
update the current run status
source code
 
resetall(self, main_path=None)
check the output status of all run main_path redefines the path associated to the run (allowing to move the directory)
source code
 
clean(self, levels=['all'], run=None, tag=None)
clean the run for the levels
source code
 
save(self)
Save the results of this directory in a pickle file
source code
 
add_detail(self, name, value, run=None, tag=None)
add information to current run (cross/error/event)
source code
 
output(self)
write the output 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, values

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

Class Variables [hide private]
  web = False

Inherited from dict: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, model, process, path)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Returns:
new empty dictionary

Overrides: object.__init__
(inherited documentation)

update(self, status, level, makehtml=True, error=False)

source code 

update the current run status

Returns: None
Overrides: dict.update