pylhe.LHEParticle
- class pylhe.LHEParticle(**kwargs)[source]
Bases:
object
Represents a single particle in the LHE format.
Methods
__init__
(**kwargs)fromstring
(string)Create an LHEParticle instance from a string in LHE format.
mothers
()Return a list of the particle's mothers.
tolhe
()Return the particle as a string in LHE format.
Attributes
fieldnames
- classmethod fromstring(string: str) LHEParticle [source]
Create an LHEParticle instance from a string in LHE format.
- mothers() list[LHEParticle] [source]
Return a list of the particle’s mothers.