Celeritas 0.7.0-dev.328+develop.a407567
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
celeritas::optical::DetectorStateData< W, M > Struct Template Reference

State buffer for storing detector hits. More...

#include <DetectorData.hh>

Public Types

Type aliases
template<class T >
using StateItems = StateCollection< T, W, M >
 

Public Member Functions

 operator bool () const
 Whether data is assigned and valid.
 
size_type size () const
 State size.
 
template<Ownership W2, MemSpace M2>
DetectorStateData< W, M > & operator= (DetectorStateData< W2, M2 > &other)
 Assign from another set of data.
 

Public Attributes

StateItems< DetectorHitdetector_hits
 

Detailed Description

template<Ownership W, MemSpace M>
struct celeritas::optical::DetectorStateData< W, M >

State buffer for storing detector hits.

Detector hits is large enough to store a hit for every track at the end of a step. Stored hits may be invalid if the track is not in a detector region.


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