|
Celeritas 0.7+cc8801873
|
Persistent per-stream storage for pruned detector hits on device. More...
#include <DetectorAction.hh>

Public Types | |
| using | VecHit = std::vector< DetectorHit, PinnedAllocator< DetectorHit > > |
Public Types inherited from celeritas::AuxStateInterface | |
| using | SPState = std::shared_ptr< AuxStateInterface > |
| Default destructor. | |
Public Attributes | |
| VecHit | hits |
Additional Inherited Members | |
Public Member Functions inherited from celeritas::AuxStateInterface | |
| virtual | ~AuxStateInterface () |
| Default destructor. | |
Protected Member Functions inherited from celeritas::AuxStateInterface | |
| AuxStateInterface ()=default | |
| AuxStateInterface (AuxStateInterface const &)=default | |
| Default destructor. | |
| AuxStateInterface & | operator= (AuxStateInterface const &)=default |
| Default destructor. | |
| AuxStateInterface (AuxStateInterface &&)=default | |
| Default destructor. | |
| AuxStateInterface & | operator= (AuxStateInterface &&)=default |
| Default destructor. | |
Persistent per-stream storage for pruned detector hits on device.
The pinned buffer is allocated and sized once in DetectorAction::create_state so that no reallocation occurs during stepping.
This is only done when running on device; in host memory, we operate directly on the hit vector.