|
Celeritas 0.7.0-dev.169+develop.bdc0041f6
|
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.