|
Celeritas 0.7.0-dev.157+develop.4240ae39b
|
Store calorimeter results based on pre-step volume instance names. More...
#include <ExampleInstanceCalo.hh>

Classes | |
| struct | Result |
Public Types | |
Type aliases | |
| 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 (VecLabel vol_labels) | |
| Construct with detector labels. | |
| 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. | |
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 |
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.