PyREx

pyrex.Event.get_children

Event.get_children(parent)

Get the children of the given parent Particle object.

Parameters
parentParticle

Particle object in the tree.

Returns
list of Particle

List of the Particle objects which are 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