Celeritas
0.5.0-56+6b053cd
|
Data storage/access for particle properties. More...
#include <ParticleData.hh>
Public Types | |
template<class T > | |
using | Items = celeritas::StateCollection< T, W, M > |
Public Member Functions | |
CELER_FUNCTION | operator bool () const |
Whether the interface is assigned. | |
CELER_FUNCTION TrackSlotId::size_type | size () const |
State size. | |
template<Ownership W2, MemSpace M2> | |
ParticleStateData & | operator= (ParticleStateData< W2, M2 > &other) |
Assign from another set of data. | |
Public Attributes | |
Items< ParticleId > | particle_id |
Type of particle (electron, gamma, ...) | |
Items< real_type > | particle_energy |
Kinetic energy [MeV]. | |
Data storage/access for particle properties.