pylhe.LHEEventInfo

class pylhe.LHEEventInfo(**kwargs)[source]

Bases: object

Store the event information in the LHE format.

__init__(**kwargs)[source]

Methods

__init__(**kwargs)

fromstring(string)

Create an LHEEventInfo instance from a string in LHE format.

tolhe()

Return the event info as a string in LHE format.

Attributes

fieldnames

classmethod fromstring(string: str) LHEEventInfo[source]

Create an LHEEventInfo instance from a string in LHE format.

tolhe()[source]

Return the event info as a string in LHE format.

Returns:

str: The event info as a string in LHE format.