Celeritas  0.5.0-86+4a8eea4
Public Types | Public Member Functions | Public Attributes | List of all members
celeritas::SimpleCaloStateData< W, M > Struct Template Reference

Accumulated calorimeter data for a set of tracks. More...

#include <SimpleCaloData.hh>

Public Types

template<class T >
using DetItems = celeritas::Collection< T, W, M, DetectorId >
 
using EnergyUnits = units::Mev
 

Public Member Functions

CELER_FUNCTION size_type size () const
 Number of states.
 
CELER_FUNCTION operator bool () const
 True if constructed.
 
template<Ownership W2, MemSpace M2>
SimpleCaloStateDataoperator= (SimpleCaloStateData< W2, M2 > &other)
 Assign from another set of states.
 

Public Attributes

DetItems< real_typeenergy_deposition
 
size_type num_track_slots {}
 

Detailed Description

template<Ownership W, MemSpace M>
struct celeritas::SimpleCaloStateData< W, M >

Accumulated calorimeter data for a set of tracks.

This should be specific to a single StreamId but will be integrated over all tracks on that stream. Depending on whether the goal is to obtain a statistical average of energy deposition, or to find energy deposition for a particular event, the detector data can be reset at the end of each event, at the end of a batch of events, or at the end of the simulation.


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