Celeritas
0.5.0-56+6b053cd
|
Store calorimeter results based on pre-step volume instance names. More...
#include <ExampleInstanceCalo.hh>
Classes | |
struct | Result |
Public Types | |
Type aliases | |
using | SPConstGeo = std::shared_ptr< GeoParams const > |
using | VecLabel = std::vector< Label > |
Public Types inherited from celeritas::StepInterface | |
using | HostStepState = StepState< MemSpace::host > |
Detector filtering required for this interface. | |
using | DeviceStepState = StepState< MemSpace::device > |
Detector filtering required for this interface. | |
using | MapVolumeDetector = std::map< VolumeId, DetectorId > |
Detector filtering required for this interface. | |
Public Member Functions | |
ExampleInstanceCalo (SPConstGeo geo, VecLabel vol_labels) | |
Construct with geometry. | |
Filters | filters () const final |
Map volume names to detector IDs and exclude tracks with no deposition. | |
StepSelection | selection () const final |
Only save energy deposition and pre-step volume. | |
void | process_steps (HostStepState) final |
Process detector tallies (CPU). More... | |
void | process_steps (DeviceStepState) final |
Process CPU-generated hit data. | |
void | process_steps (DetectorStepOutput const &) |
Accumulate energy into the volume instance name. | |
Result | result () const |
Get unfolded name/energy. | |
Public Member Functions inherited from celeritas::StepInterface |
Additional Inherited Members | |
Protected Member Functions inherited from celeritas::StepInterface | |
~StepInterface ()=default | |
Detector filtering required for this interface. | |
Store calorimeter results based on pre-step volume instance names.
|
finalvirtual |
Process detector tallies (CPU).
Process detector tallies (GPU).
Implements celeritas::StepInterface.