pylhe.LHEEventInfo
- class pylhe.LHEEventInfo(nparticles: int, pid: int, weight: float, scale: float, aqed: float, aqcd: float)[source]
Bases:
objectStore the event information in the LHE format.
- __init__(nparticles: int, pid: int, weight: float, scale: float, aqed: float, aqcd: float) None
Methods
__init__(nparticles, pid, weight, scale, ...)fromstring(string)Create an LHEEventInfo instance from a string in LHE format.
tolhe()Return the event info as a string in LHE format.
Attributes
Number of particles in the event
Process ID for the event
Event weight
Energy scale of the event
QED coupling constant alpha_QED
QCD coupling constant alpha_QCD
- aqcd: float
QCD coupling constant alpha_QCD
- aqed: float
QED coupling constant alpha_QED
- classmethod fromstring(string: str) LHEEventInfo[source]
Create an LHEEventInfo instance from a string in LHE format.
- nparticles: int
Number of particles in the event
- pid: int
Process ID for the event
- scale: float
Energy scale of the event
- tolhe() str[source]
Return the event info as a string in LHE format.
- Returns:
str: The event info as a string in LHE format.
- weight: float
Event weight