- class graphicle.data.ParticleSet(graphicle.base.ParticleBase)[source]
Composite of data structures containing particle set description.
New in version 0.1.0.
- Parameters:¶
- pdg : PdgArray
PDG codes.
- pmu : MomentumArray
Four momenta.
- color : ColorArray
Color / anti-color pairs.
- helicity : HelicityArray
Helicity values.
- status : StatusArray
Status codes from Monte-Carlo event generator.
- final : MaskArray
Boolean array indicating final state in particle set.
Public members¶
- copy() ParticleSet[source]
Copies the underlying data into a new ParticleSet instance.
- classmethod 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.
- classmethod from_numpy(...) ParticleSet[source]
Creates a ParticleSet instance directly from numpy arrays.
- serialize() ParticleSetSerialized[source]
Returns serialized data as a dictionary.
-
ParticleSet(pdg: PdgArray =
NOTHING, ...)[source] Method generated by attrs for class ParticleSet.
Last update:
Jun 27, 2025