Package madgraph :: Package iolibs :: Module import_v4 :: Class ProcCardv4Reader
[hide private]
[frames] | no frames]

Class ProcCardv4Reader

source code

object --+
         |
        ProcCardv4Reader

read a proc_card.dat in the mg4 format and creates the equivalent routine for mg5

Instance Methods [hide private]
 
__init__(self, fsock)
init the variable
source code
 
analyze_v4_proc_card(self, fsock)
read the file and fullfill the variable with mg4 line
source code
 
extract_command_lines(self, model)
Return the MG5 command line corresponding to this proc_card the MG5 command import model is skipped (since the model should be loaded -it is one of the argument-)
source code
 
extract_info_from_model(self, model)
creates the self.particles_name (list of all valid name) and self.couplings_name (list of all couplings)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
 
separate_particle(line, possible_str)
for a list of concatanate variable return a list of particle name
source code
Class Variables [hide private]
  pat_line = re.compile(r'(?s)^\s*(?P<info>[^#]*?)\s*(#|$)')
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, fsock)
(Constructor)

source code 

init the variable

Overrides: object.__init__