Package madgraph :: Package madweight :: Module MW_info :: Class MW_info
[hide private]
[frames] | no frames]

Class MW_info

source code

object --+    
         |    
      dict --+
             |
    P_info --+
             |
            MW_info

class containing all the option/information from the run

Instance Methods [hide private]
new empty dictionary

__init__(self, card_name)
init all the param for the run
source code
 
init_run_opt(self, value=1)
init all the run scheduling paramater to value
source code
 
check_info(self)
assign default value if not defined already and check the input type those default value and the type are defined in MW_param_default.inc structure of this file: block tag type value #comment additionaly check if the mw_parameter['?3'] is a list
source code
 
check_mw_parameter_list_type(self)
check that self['mw_parameter']['?3'] is a list
source code
 
take_run_name(self)
take the run name in run_card
source code
 
update_nb_card(self)
take the info from MW_runcard.dat
source code
 
number_of_P_run(self)
take the info from the existing card in Cards
source code
 
load_events(self)
detect the number of events for P and MW run
source code
 
give_block_param_info(self)
return the number of modified parameter and the number of different value for each
source code
 
CardNb_to_ParameterTag(self, num_card)
find from th card number, to which value for each block this card belong num_card is the number of the card in the last generation.
source code
 
set_run_opt(self, option)
analyze option for the run
source code
 
control_opt(self)
analyze option for the run to have coherent input
source code
 
def_actif_param(self)
find which card are still actif
source code
 
find_existing_events(self, directory='', card_nb='')
find how much event are already defined
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__

Inherited from P_info: P_lisdir, detect_SubProcess

Class Variables [hide private]

Inherited from dict: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, card_name)
(Constructor)

source code 

init all the param for the run

Returns:
new empty dictionary

Overrides: object.__init__

CardNb_to_ParameterTag(self, num_card)

source code 

find from th card number, to which value for each block this card belong num_card is the number of the card in the last generation. card in previous generation are not accessible by this routine (and are not related to this MadWeight card anyway)