|
CORSIKA8
0.0.0
The framework to simulate particle cascades for astroparticle physics
|
Memory implementation of the most simple (stupid) 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 | getDirection (size_t i) const |
| Point | getPosition (size_t i) const |
| TimeType | getTime (size_t i) const |
| void | copy (size_t i1, size_t i2) |
| Function to copy particle at location i2 in stack to i1. | |
| void | swap (size_t i1, size_t i2) |
| Function to copy particle at location i2 in stack to i1. | |
| void | incrementSize () |
| void | decrementSize () |
Memory implementation of the most simple (stupid) particle stack object.
Definition at line 186 of file VectorStack.hpp.