Celeritas 0.6.0-rc.2.40+develop.df0b0c3b
|
Accesss the 2D fields (i.e., {track slot, level}) of OrangeStateData. More...
#include <LevelStateAccessor.hh>
Public Types | |
using | StateRef = NativeRef< OrangeStateData > |
Public Member Functions | |
CELER_FUNCTION | LevelStateAccessor (StateRef const *states, TrackSlotId tid, LevelId level_id) |
Construct from states and indices. | |
LevelStateAccessor (LevelStateAccessor const &)=default | |
LevelStateAccessor (LevelStateAccessor &&)=default | |
CELER_FUNCTION LevelStateAccessor & | operator= (LevelStateAccessor const &other) |
Copy data from another LSA. | |
CELER_FUNCTION LocalVolumeId & | vol () |
CELER_FUNCTION Real3 & | pos () |
CELER_FUNCTION Real3 & | dir () |
CELER_FUNCTION UniverseId & | universe () |
CELER_FUNCTION LocalVolumeId const & | vol () const |
CELER_FUNCTION Real3 const & | pos () const |
CELER_FUNCTION Real3 const & | dir () const |
CELER_FUNCTION UniverseId const & | universe () const |
Accesss the 2D fields (i.e., {track slot, level}) of OrangeStateData.
Type aliases