Celeritas  0.5.0-86+4a8eea4
Classes | Public Member Functions | List of all members
celeritas::test::ExampleMctruth Class Referencefinal

Store all step data in an AOS. More...

#include <ExampleMctruth.hh>

Inheritance diagram for celeritas::test::ExampleMctruth:
Inheritance graph
[legend]

Classes

struct  Step
 

Public Member Functions

Filters filters () const final
 Selection of data required for this interface.
 
StepSelection selection () const final
 Selection of data required for this interface.
 
void process_steps (HostStepState) final
 Process CPU-generated hit data.
 
void process_steps (DeviceStepState) final
 Process CPU-generated hit data.
 
void sort ()
 
Span< Step const > steps () const
 Access all steps.
 
void clear ()
 Reset after output or whatever.
 
- Public Member Functions inherited from celeritas::StepInterface

Additional Inherited Members

- 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.
 
- Protected Member Functions inherited from celeritas::StepInterface
 ~StepInterface ()=default
 Detector filtering required for this interface.
 

Detailed Description

Store all step data in an AOS.

Construct a StepCollector with this callback interface to tally data during execution. At the end of the run, for testing, call sort to reorder the data by event/track/step, and then access the data with steps .


The documentation for this class was generated from the following files: