class showerpipe.generator.PythiaEvent(showerpipe.base.EventAdapter)[source]

Interface wrapping Pythia8 events, providing access to the event data via NumPy arrays.

Public members

__len__() int[source]

The number of particles in the event.

__str__() str[source]

Return str(self).

property edges : ndarray[Any, dtype[Any]][source]

Describes the heritage of the particle set as a DAG, formatted as a COO adjacency list.

property pmu : ndarray[Any, dtype[Any]][source]

Four-momenta of the particle set.

property color : ndarray[Any, dtype[Any]][source]

Colour codes assigned to each generated particle.

property pdg : ndarray[Any, dtype[int32]][source]

Particle Data Group id codes for the particle set.

property final : ndarray[Any, dtype[bool_]][source]

Boolean mask over the particle set, identifying final resulting particles at the end of the simulation. The leaves of the DAG representation.

property helicity : ndarray[Any, dtype[int16]][source]

Helicity eigenvalues for the particle set.

property status : ndarray[Any, dtype[int16]][source]

Status codes annotating each particle with a description of its method of creation and purpose. See https://pythia.org/latest-manual/ParticleProperties.html.

copy() PythiaEvent[source]

Returns a copy of the event.

PythiaEvent(_event: Event)[source]

Initialize self. See help(type(self)) for accurate signature.

__repr__()[source]

Return repr(self).

__eq__(other)[source]

Return self==value.

classmethod __subclasshook__(C)[source]

Abstract classes can override this to customize issubclass().

PythiaEvent[params][source]
classmethod __init_subclass__(*args, **kwargs)[source]

This method is called when a class is subclassed.


Last update: Jun 27, 2025