Package madgraph :: Package various :: Module lhe_parser :: Class Event
[hide private]
[frames] | no frames]

Class Event

source code

object --+    
         |    
      list --+
             |
            Event

Class storing a single event information (list of particles + global information)

Instance Methods [hide private]
new empty list
__init__(self, text=None)
The initialization of an empty Event (or one associate to a text file)
source code
 
parse(self, text)
Take the input file and create the structured information
source code
 
parse_reweight(self)
Parse the re-weight information in order to return a dictionary {key: value}.
source code
 
check(self)
check various property of the events
source code
 
assign_scale_line(self, line)
read the line corresponding to global event line format of the line is: Nexternal IEVENT WEIGHT SCALE AEW AS
source code
 
get_tag_and_order(self)
Return the unique tag identifying the SubProcesses for the generation.
source code
 
check_color_structure(self)
check the validity of the color structure
source code
 
__str__(self)
return a correctly formatted LHE event
source code
 
get_momenta_str(self, get_order, allow_reversed=True)
return the momenta str in the order asked for
source code

Inherited from list: __add__, __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __iadd__, __imul__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __repr__, __reversed__, __rmul__, __setitem__, __setslice__, __sizeof__, append, count, extend, index, insert, pop, remove, reverse, sort

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

Class Variables [hide private]

Inherited from list: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, text=None)
(Constructor)

source code 

The initialization of an empty Event (or one associate to a text file)

Returns: new empty list
Overrides: object.__init__

parse_reweight(self)

source code 

Parse the re-weight information in order to return a dictionary {key: value}. If no group is define group should be ''

get_tag_and_order(self)

source code 

Return the unique tag identifying the SubProcesses for the generation. Usefull for program like MadSpin and Reweight module.

__str__(self)
(Informal representation operator)

source code 

return a correctly formatted LHE event

Overrides: object.__str__