classmethod graphicle.data.ParticleSet.from_lhe_event(event: LheEventInterface) ParticleSet[source]

Creates a ParticleSet instance directly from a data structure holding LHE data. This is useful when you want to study the hard process, without needing to shower or hadronize.

New in version 0.4.0.

Parameters:
event : LheEventInterface

A data structure with attributes “pdg”, “pmu”, “color”, “helicity”, and “status”. These attributes provide access to numpy arrays, which hold the underlying Les Houches event data.

Returns:

A composite object, wrapping the data provided in Graphicle objects, and providing a unified interface to them.

Return type:

ParticleSet


Last update: Jun 27, 2025