|
Celeritas 0.7.0-dev.179+develop.ec08af0c9
|
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> | |
| SimpleCaloStateData & | operator= (SimpleCaloStateData< W2, M2 > &other) |
| Assign from another set of states. | |
Public Attributes | |
| DetItems< real_type > | energy_deposition |
| size_type | num_track_slots {} |
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.