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

Class RunCardLO

source code

object --+            
         |            
      dict --+        
             |        
    ConfigFile --+    
                 |    
           RunCard --+
                     |
                    RunCardLO

an object to handle in a nice way the run_card information

Instance Methods [hide private]
 
default_setup(self)
default value for the run_card.dat
source code
 
check_validity(self)
check that parameter missing in the card are set to the expected value
source code
 
update_system_parameter_for_include(self)
update hidden system only parameter for the correct writtin in the include
source code
 
create_default_for_process(self, proc_characteristic, history, proc_def)
Rules process 1->N all cut set on off.
source code
 
write(self, output_file, template=None, python_template=False, **opt)
Write the run_card in output_file according to template (a path to a valid run_card)
source code

Inherited from RunCard: __init__, add_param, get_banner_init_information, get_default, get_lhapdf_id, get_pdf_id, read, remove_all_cut, write_include_file

Inherited from ConfigFile: __add__, __contains__, __copy__, __getitem__, __iter__, __radd__, __setitem__, do_help, items, keys, post_set, set

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

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

Static Methods [hide private]

Inherited from RunCard: __new__, f77_formatting, get_idbmup

Inherited from ConfigFile: format_variable, warn

Class Variables [hide private]
  blocks = [block(name='ion_pdf', fields=('nb_neutron1', 'nb_neu...

Inherited from RunCard: default_include_file, filename

Inherited from dict: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

default_setup(self)

source code 

default value for the run_card.dat

Overrides: ConfigFile.default_setup

check_validity(self)

source code 

check that parameter missing in the card are set to the expected value

Overrides: RunCard.check_validity

update_system_parameter_for_include(self)

source code 

update hidden system only parameter for the correct writtin in the include

Overrides: RunCard.update_system_parameter_for_include
(inherited documentation)

create_default_for_process(self, proc_characteristic, history, proc_def)

source code 

Rules process 1->N all cut set on off. loop_induced -> MC over helicity e+ e- beam -> lpp:0 ebeam:500 p p beam -> set maxjetflavor automatically more than one multiplicity: ickkw=1 xqcut=30 use_syst=F

write(self, output_file, template=None, python_template=False, **opt)

source code 

Write the run_card in output_file according to template (a path to a valid run_card)

Overrides: RunCard.write

Class Variable Details [hide private]

blocks

Value:
[block(name='ion_pdf', fields=('nb_neutron1', 'nb_neutron2', 'nb_proto\
n1', 'nb_proton2', 'mass_ion1', 'mass_ion2'), template_on='#**********\
***********************************************************\n# Heavy i\
on PDF / rescaling of PDF                                   *\n#******\
***************************************************************\n  %(n\
b_proton1)s    = nb_proton1 # number of proton for the first beam\n  %\
(nb_neutron1)s    = nb_neutron1 # number of neutron for the first beam\
\n  %(mass_ion1)s = mass_ion1 # mass of the heavy ion (first beam)\n# \
...