pylhe

Python interface to read Les Houches Event (LHE) files.

Classes

LHEEvent(eventinfo, particles, weights, ...)

Store a single event in the LHE format.

LHEEventInfo(nparticles, pid, weight, scale, ...)

Store the event information in the LHE format.

LHEFile

LHEGenerator(name, version, description, ...)

Information about a generator.

LHEHeader(initrwgt, extra_elements, ...)

Represents the header block of an LHE file as a dataclass.

LHEInit(initInfo, procInfo, generators)

Store the <init> block as a dataclass.

LHEInitInfo(beamA, beamB, energyA, energyB, ...)

Store the first line of the <init> block as a dataclass.

LHEInitRWGTWeight(id, name, ...)

Information about a single weight inside or outside of a weight group.

LHEInitRWGTWeightGroup(name, combine, ...)

Information about a weight group.

LHEParticle(id, status, mother1, mother2, ...)

Represents a single particle in the LHE format.

LHEProcInfo(xSection, error, unitWeight, procId)

Store the process info block as a dataclass.