Celeritas
0.5.0-86+4a8eea4
|
Gathered data for a single step for many tracks in parallel. More...
#include <StepData.hh>
Public Types | |
using | StepPointData = StepPointStateData< W, M > |
template<class T > | |
using | StateItems = celeritas::StateCollection< T, W, M > |
using | Energy = units::MevEnergy |
Public Member Functions | |
CELER_FUNCTION | operator bool () const |
True if constructed and correctly sized. | |
CELER_FUNCTION TrackSlotId::size_type | size () const |
State size. | |
template<Ownership W2, MemSpace M2> | |
StepStateDataImpl & | operator= (StepStateDataImpl< W2, M2 > &other) |
Assign from another set of states. | |
Public Attributes | |
EnumArray< StepPoint, StepPointData > | points |
StateItems< TrackId > | track_id |
Track ID is always assigned (but will be false for inactive tracks) | |
StateItems< DetectorId > | detector |
Detector ID is non-empty if params.detector is nonempty. | |
StateItems< EventId > | event_id |
StateItems< TrackId > | parent_id |
StateItems< ActionId > | action_id |
StateItems< size_type > | track_step_count |
StateItems< real_type > | step_length |
StateItems< ParticleId > | particle |
StateItems< Energy > | energy_deposition |
Gathered data for a single step for many tracks in parallel.
StepSelection
.detector
field is set based on the pre-step geometric volume. Data members will have unspecified values if the detector ID is "false" (i.e. no information is being collected). The detector ID for inactive threads is always "false".