Celeritas  0.5.0-56+6b053cd
Macros | Functions
DetectorSteps.cc File Reference
#include "DetectorSteps.hh"
#include "corecel/Assert.hh"
#include "corecel/cont/Range.hh"
#include "corecel/data/Collection.hh"
#include "corecel/sys/ScopedProfiling.hh"
#include "StepData.hh"

Macros

#define DS_ASSIGN(FIELD)    assign_field(&(output->FIELD), state.data.FIELD, state.data.detector, size)
 

Functions

template<>
void celeritas::copy_steps< MemSpace::host > (DetectorStepOutput *output, StepStateData< Ownership::reference, MemSpace::host > const &state)
 Consolidate results from tracks that interacted with a detector.