Celeritas  0.5.0-86+4a8eea4
Public Member Functions | Static Public Member Functions | List of all members
celeritas::StepCollector Class Reference

Gather and transfer track states at each step. More...

#include <StepCollector.hh>

Public Types

Type aliases
using SPStepInterface = std::shared_ptr< StepInterface >
 
using SPConstGeo = std::shared_ptr< GeoParams const >
 
using VecInterface = std::vector< SPStepInterface >
 

Public Member Functions

 StepCollector (SPConstGeo geo, VecInterface &&callbacks, AuxParamsRegistry *aux_registry, ActionRegistry *action_registry)
 Construct with options and register pre and/or post-step actions.
 
StepSelection const & selection () const
 See which data are being gathered.
 

Static Public Member Functions

static std::shared_ptr< StepCollectormake_and_insert (CoreParams const &core, VecInterface callbacks)
 Construct and add to core params.
 

Detailed Description

Gather and transfer track states at each step.

This defines the interface to set up and manage a generic class for interfacing with the GPU track states at the beginning and/or end of every step.

Todo:
The step collector serves two purposes: supporting "sensitive detectors" (mapping volume IDs to detector IDs and ignoring unmapped volumes) and supporting unfiltered output for "MC truth" . Right now only one or the other can be used, not both.

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