PyREx

pyrex.Event.add_children

Event.add_children(parent, children)

Add the given children to the parent Particle object.

Parameters
parentParticle

Particle object in the tree to act as the parent to the children.

childrenParticle or list of Particle

Particle objects to be added as children of the parent.

Raises
ValueError

If the parent is not a part of the event tree.

See also

Particle

Class for storing particle attributes.

PyREx

A Python package for simulation of neutrinos and radio antennas in ice. Version 1.10.0

Navigation