pylhe.LHEProcInfo
- class pylhe.LHEProcInfo(xSection: float, error: float, unitWeight: float, procId: int)[source]
Bases:
objectStore the process info block as a dataclass.
- __init__(xSection: float, error: float, unitWeight: float, procId: int) None
Methods
__init__(xSection, error, unitWeight, procId)fromstring(string)Create an LHEProcInfo instance from a string in LHE format.
tolhe()Return the process info block as a string in LHE format.
Attributes
Cross section of the process
Uncertainty/error of the cross section
Unit weight of the process
Process ID
- error: float
Uncertainty/error of the cross section
- classmethod fromstring(string: str) LHEProcInfo[source]
Create an LHEProcInfo instance from a string in LHE format.
- procId: int
Process ID
- tolhe() str[source]
Return the process info block as a string in LHE format.
- Returns:
str: The process info block as a string in LHE format.
- unitWeight: float
Unit weight of the process
- xSection: float
Cross section of the process