Celeritas
0.5.0-86+4a8eea4
|
Properties of a single optical photon. More...
#include <ParticleTrackView.hh>
Classes | |
struct | Initializer |
Data for initializing a particle track. More... | |
Public Types | |
Type aliases | |
using | Energy = units::MevEnergy |
Public Member Functions | |
CELER_FUNCTION | ParticleTrackView (NativeRef< ParticleStateData > const &, TrackSlotId) |
Construct from dynamic particle properties. | |
CELER_FUNCTION ParticleTrackView & | operator= (Initializer const &) |
Initialize the particle. | |
CELER_FORCEINLINE_FUNCTION Energy | energy () const |
Access the kinetic energy [MeV]. | |
CELER_FORCEINLINE_FUNCTION Real3 const & | polarization () const |
Access the polarization. | |
CELER_FUNCTION void | energy (Energy) |
Change the particle's kinetic energy. | |
CELER_FUNCTION void | polarization (Real3 const &) |
Change the particle's polarization. | |
Properties of a single optical photon.