Celeritas
0.5.0-86+4a8eea4
|
CPU results for many in-detector tracks at a single step iteration. More...
#include <DetectorSteps.hh>
Public Types | |
using | Energy = units::MevEnergy |
template<class T > | |
using | PinnedVec = std::vector< T, PinnedAllocator< T > > |
Public Member Functions | |
size_type | size () const |
Number of elements in the detector output. | |
operator bool () const | |
Whether the size is nonzero. | |
Public Attributes | |
EnumArray< StepPoint, DetectorStepPointOutput > | points |
PinnedVec< DetectorId > | detector |
PinnedVec< TrackId > | track_id |
PinnedVec< EventId > | event_id |
PinnedVec< TrackId > | parent_id |
PinnedVec< size_type > | track_step_count |
PinnedVec< real_type > | step_length |
PinnedVec< ParticleId > | particle |
PinnedVec< Energy > | energy_deposition |
size_type | volume_instance_depth {0} |
CPU results for many in-detector tracks at a single step iteration.
This convenience class can be used to postprocess the results from sensitive detectors on CPU. The data members will be available based on the selection
of the StepInterface
class that gathered the data.
Unlike StepStateData
, which leaves gaps for inactive or filtered tracks, every entry of these vectors will be valid and correspond to a single DetectorId.