Celeritas 0.7+cc8801873
Loading...
Searching...
No Matches
Public Types | Public Attributes | List of all members
celeritas::optical::DetectorActionState Struct Reference

Persistent per-stream storage for pruned detector hits on device. More...

#include <DetectorAction.hh>

Inheritance diagram for celeritas::optical::DetectorActionState:
Inheritance graph
[legend]

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.
 
AuxStateInterfaceoperator= (AuxStateInterface const &)=default
 Default destructor.
 
 AuxStateInterface (AuxStateInterface &&)=default
 Default destructor.
 
AuxStateInterfaceoperator= (AuxStateInterface &&)=default
 Default destructor.
 

Detailed Description

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.


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