Celeritas  0.5.0-56+6b053cd
Classes | Public Member Functions | List of all members
celeritas::optical::ParticleTrackView Class Reference

Properties of a single particle track. 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 ParticleTrackViewoperator= (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.
 

Detailed Description

Properties of a single particle track.


The documentation for this class was generated from the following file: