class graphicle.data.MomentumElement(NamedTuple)[source]

Named tuple container for the four-momentum of a single particle.

New in version 0.2.0.

Public members

static MomentumElement(_cls, x: float, y: float, z: float, e: float)[source]

Create new instance of MomentumElement(x, y, z, e)

__repr__()[source]

Return a nicely formatted representation string

__getnewargs__()[source]

Return self as a plain tuple. Used by copy and pickle.

x : float[source]

Alias for field number 0

y : float[source]

Alias for field number 1

z : float[source]

Alias for field number 2

e : float[source]

Alias for field number 3


Last update: Jun 27, 2025