|
ACTS
Experiment-independent tracking
|
The binned surface material accumulator. More...
#include <Acts/Material/BinnedSurfaceMaterialAccumulator.hpp>
Classes | |
| struct | Config |
| Nested config struct. More... | |
| struct | State |
| Nested state struct. More... | |
Public Member Functions | |
| BinnedSurfaceMaterialAccumulator (const Config &cfg, std::unique_ptr< const Logger > mlogger=getDefaultLogger("BinnedSurfaceMaterialAccumulator", Logging::INFO)) | |
| Constructor. | |
| void | accumulate (ISurfaceMaterialAccumulator::State &state, const GeometryContext &gctx, const std::vector< MaterialInteraction > &interactions, const std::vector< IAssignmentFinder::SurfaceAssignment > &surfacesWithoutAssignment) const override |
| Accumulate the material interaction on the surface. | |
| std::unique_ptr< ISurfaceMaterialAccumulator::State > | createState (const GeometryContext &gctx) const override |
| Factory for creating the state. | |
| std::map< GeometryIdentifier, std::shared_ptr< const ISurfaceMaterial > > | finalizeMaterial (ISurfaceMaterialAccumulator::State &state, const GeometryContext &gctx) const override |
| Finalize the surface material maps. | |
| Public Member Functions inherited from Acts::ISurfaceMaterialAccumulator | |
| virtual | ~ISurfaceMaterialAccumulator ()=default |
| Virtual destructor. | |
The binned surface material accumulator.
It consumes the assigned material interactions and then accumulates the material on the surfaces in prepared binned containers for averaging
|
explicit |
Constructor.
| cfg | the configuration struct |
| mlogger | the logger |
|
overridevirtual |
Accumulate the material interaction on the surface.
| state | is the state of the accumulator |
| gctx | is the geometry context |
| interactions | is the material interactions, with assigned surfaces |
| surfacesWithoutAssignment | are the surfaces without assignment |
Implements Acts::ISurfaceMaterialAccumulator.
|
overridevirtual |
Factory for creating the state.
| gctx | is the geometry context |
Implements Acts::ISurfaceMaterialAccumulator.
|
overridevirtual |
Finalize the surface material maps.
| state | the state of the accumulator |
| gctx | is the geometry context |
Implements Acts::ISurfaceMaterialAccumulator.