|
ACTS
Experiment-independent tracking
|
Class that implements the material mapping procedure. More...
#include <Acts/Material/MaterialMapper.hpp>
Classes | |
| struct | Config |
| nested configuration struct More... | |
| struct | Options |
| nested options struct holds some options for the delegated calls More... | |
| struct | State |
| nested state struct More... | |
Public Member Functions | |
| MaterialMapper (const Config &cfg, std::unique_ptr< const Logger > mlogger=getDefaultLogger("BinnedSurfaceMaterialAccumulator", Logging::INFO)) | |
| MaterialMapper constructor. | |
| std::unique_ptr< State > | createState (const GeometryContext &gctx) const |
| Factory for creating the state. | |
| TrackingGeometryMaterial | finalizeMaps (const State &state, const GeometryContext &gctx) const |
| Finalize the maps. | |
| std::pair< RecordedMaterialTrack, RecordedMaterialTrack > | mapMaterial (State &state, const GeometryContext &gctx, const MagneticFieldContext &mctx, const RecordedMaterialTrack &rmTrack, const Options &options=Options{}) const |
| Map the material interactions to the surfaces. | |
| std::vector< std::pair< RecordedMaterialTrack, RecordedMaterialTrack > > | mapMaterial (State &state, const GeometryContext &gctx, const MagneticFieldContext &mctx, std::span< const RecordedMaterialTrack *const > rmTracks, const Options &options=Options{}) const |
| Map the material interactions of a batch of tracks. | |
Class that implements the material mapping procedure.
|
explicit |
MaterialMapper constructor.
| cfg | the configuration struct |
| mlogger | the logger instance |
| std::unique_ptr< State > Acts::MaterialMapper::createState | ( | const GeometryContext & | gctx | ) | const |
Factory for creating the state.
| gctx | the geometry context |
| TrackingGeometryMaterial Acts::MaterialMapper::finalizeMaps | ( | const State & | state, |
| const GeometryContext & | gctx ) const |
Finalize the maps.
| state | Material mapping state containing collected data |
| gctx | Geometry context for finalization |
| std::pair< RecordedMaterialTrack, RecordedMaterialTrack > Acts::MaterialMapper::mapMaterial | ( | State & | state, |
| const GeometryContext & | gctx, | ||
| const MagneticFieldContext & | mctx, | ||
| const RecordedMaterialTrack & | rmTrack, | ||
| const Options & | options = Options{} ) const |
Map the material interactions to the surfaces.
| state | the state object holding the sub states |
| gctx | the geometry context |
| mctx | the magnetic field context |
| rmTrack | the recorded material track |
| options | the call options (see above) |
| std::vector< std::pair< RecordedMaterialTrack, RecordedMaterialTrack > > Acts::MaterialMapper::mapMaterial | ( | State & | state, |
| const GeometryContext & | gctx, | ||
| const MagneticFieldContext & | mctx, | ||
| std::span< const RecordedMaterialTrack *const > | rmTracks, | ||
| const Options & | options = Options{} ) const |
Map the material interactions of a batch of tracks.
The assignment of the tracks runs concurrently on the configured number of threads, the accumulation is delegated to the batch accumulation of the surface material accumulator. The result is identical to calling the single-track mapMaterial for every track in order.
| state | the state object holding the sub states |
| gctx | the geometry context |
| mctx | the magnetic field context |
| rmTracks | the recorded material tracks, which are not copied |
| options | the call options (see above) |