Celeritas 0.7-develop+980877a
Loading...
Searching...
No Matches
Public Attributes | List of all members
celeritas::optical::DetectorActionState Struct Reference

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

#include <DetectorAction.hh>

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

Public Attributes

AsyncCompactedCopy< DetectorHit > hits
 Compaction and copy of device hits.
 

Additional Inherited Members

- Public Types inherited from celeritas::AuxStateInterface
using SPState = std::shared_ptr< AuxStateInterface >
 Default destructor.
 
- 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.
 

Detailed Description

Persistent per-stream storage for compacted detector hits on device.

The device scratch and pinned host buffers are 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: