|
CORSIKA
@c8_version@
The framework to simulate particle cascades for astroparticle physics
|
Memory implementation of the most simple particle stack object. More...
#include <VectorStack.hpp>
Public Types | |
| typedef std::vector< Code > | code_vector_type |
| typedef std::vector< HEPEnergyType > | kinetic_energy_vector_type |
| typedef std::vector< Point > | point_vector_type |
| typedef std::vector< TimeType > | time_vector_type |
| typedef std::vector< DirectionVector > | direction_vector_type |
Public Member Functions | |
| VectorStackImpl (VectorStackImpl const &other)=default | |
| VectorStackImpl (VectorStackImpl &&other)=default | |
| VectorStackImpl & | operator= (VectorStackImpl const &other)=default |
| VectorStackImpl & | operator= (VectorStackImpl &&other)=default |
| void | dump () const |
| void | clear () |
| unsigned int | getSize () const |
| unsigned int | getCapacity () const |
| void | setPID (size_t i, Code const id) |
| void | setKineticEnergy (size_t i, HEPEnergyType const &e) |
| void | setDirection (size_t i, DirectionVector const &v) |
| void | setPosition (size_t i, Point const &v) |
| void | setTime (size_t i, TimeType const &v) |
| Code | getPID (size_t i) const |
| HEPEnergyType | getKineticEnergy (size_t i) const |
| DirectionVector const & | getDirection (size_t i) const |
| Point const & | getPosition (size_t i) const |
| TimeType | getTime (size_t i) const |
| void | copy (size_t const i1, size_t const i2) |
| Function to copy particle at location i2 in stack to i1. | |
| void | swap (size_t const i1, size_t const i2) |
| Function to copy particle at location i2 in stack to i1. | |
| void | incrementSize () |
| void | decrementSize () |
Memory implementation of the most simple particle stack object.
Definition at line 174 of file VectorStack.hpp.