Celeritas 0.6.0-dev.115+3b60a5fd
|
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 > |
![]() | |
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). | |
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. | |
![]() |
Additional Inherited Members | |
![]() | |
~StepInterface ()=default | |
Detector filtering required for this interface. | |
Store calorimeter results based on pre-step volume instance names.
|
finalvirtual |
Map volume names to detector IDs and exclude tracks with no deposition.
Implements celeritas::StepInterface.
|
finalvirtual |
Process CPU-generated hit data.
Implements celeritas::StepInterface.
|
finalvirtual |
Process detector tallies (CPU).
Process detector tallies (GPU).
Implements celeritas::StepInterface.
|
finalvirtual |
Only save energy deposition and pre-step volume.
Implements celeritas::StepInterface.