|
Celeritas 0.7.0-dev.252+develop.478e7a17
|
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 | |
| ParticleTrackView (NativeRef< ParticleStateData > const &, TrackSlotId) | |
| Construct from dynamic particle properties. | |
| ParticleTrackView & | operator= (Initializer const &) |
| Initialize the particle. | |
| Energy | energy () const |
| Access the kinetic energy [MeV]. | |
| Real3 const & | polarization () const |
| Access the polarization. | |
| void | energy (Energy) |
| Change the particle's kinetic energy. | |
| void | polarization (Real3 const &) |
| Change the particle's polarization. | |
Properties of a single optical photon.