PyREx

pyrex.Event.get_from_level

Event.get_from_level(level)

Get all Particle objects some level deep into the event tree.

Parameters
levelint

Level of the event tree to scan. Root Particle objects at level zero.

Returns
list of Particle

All Particle objects at the given level in the 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