pylhe.LHEInitInfo
- class pylhe.LHEInitInfo(beamA: int, beamB: int, energyA: float, energyB: float, PDFgroupA: int, PDFgroupB: int, PDFsetA: int, PDFsetB: int, weightingStrategy: int, numProcesses: int)[source]
Bases:
objectStore the first line of the <init> block as a dataclass.
- __init__(beamA: int, beamB: int, energyA: float, energyB: float, PDFgroupA: int, PDFgroupB: int, PDFsetA: int, PDFsetB: int, weightingStrategy: int, numProcesses: int) None
Methods
__init__(beamA, beamB, energyA, energyB, ...)fromstring(string)Create an LHEInitInfo instance from a string in LHE format.
tolhe()Return the init info block as a string in LHE format.
Attributes
Beam A PDG ID
Beam B PDG ID
Beam A energy
Beam B energy
PDF group for beam A
PDF group for beam B
PDF set for beam A
PDF set for beam B
Weighting strategy
Number of processes
- PDFgroupA: int
PDF group for beam A
- PDFgroupB: int
PDF group for beam B
- PDFsetA: int
PDF set for beam A
- PDFsetB: int
PDF set for beam B
- beamA: int
Beam A PDG ID
- beamB: int
Beam B PDG ID
- energyA: float
Beam A energy
- energyB: float
Beam B energy
- classmethod fromstring(string: str) LHEInitInfo[source]
Create an LHEInitInfo instance from a string in LHE format.
- numProcesses: int
Number of processes
- tolhe() str[source]
Return the init info block as a string in LHE format.
- Returns:
str: The init info block as a string in LHE format.
- weightingStrategy: int
Weighting strategy