SubprocArgs

class madspace.SubprocArgs(self: madspace._madspace_py.SubprocArgs, process_id: SupportsInt = 0, topologies: collections.abc.Sequence[madspace._madspace_py.Topology] = [], permutations: collections.abc.Sequence[collections.abc.Sequence[collections.abc.Sequence[SupportsInt]]] = [], diagram_indices: collections.abc.Sequence[collections.abc.Sequence[SupportsInt]] = [], diagram_color_indices: collections.abc.Sequence[collections.abc.Sequence[collections.abc.Sequence[SupportsInt]]] = [], color_flows: collections.abc.Sequence[collections.abc.Sequence[tuple[SupportsInt, SupportsInt]]] = [], pdg_color_types: collections.abc.Mapping[SupportsInt, SupportsInt] = {}, helicities: collections.abc.Sequence[collections.abc.Sequence[SupportsFloat]] = [], pdg_ids: collections.abc.Sequence[collections.abc.Sequence[collections.abc.Sequence[SupportsInt]]] = [], diagram_propagator_pdgs: collections.abc.Sequence[collections.abc.Sequence[collections.abc.Sequence[SupportsInt]]] = [])

Bases: pybind11_object

Per-subprocess topology, permutation, color and flavor bookkeeping needed to complete its events.

property color_flows

Color-line assignment of each sampled color configuration.

property diagram_color_indices

Color-configuration indices available to each diagram.

property diagram_indices

Sampled-diagram index available to each channel.

property diagram_propagator_pdgs

Per-diagram PDG override, indexed like diagram_color_indices then by Topology::Decay::flat_propagator_index.

Falls back to Topology::Decay::pdg_id if empty.

property helicities

Per-particle helicity of each sampled helicity configuration.

property pdg_color_types

Color representation (singlet, triplet, octet, …) of each PDG id.

property pdg_ids

Per-particle PDG id of each sampled flavor configuration.

property permutations

Final-state particle permutation of each channel.

property process_id

Process id shared by every event of this subprocess.

property topologies

Decay topology of each diagram channel.