File AccumulatedVolumeMaterial.hpp¶
-
namespace Acts
Note
This file is foreseen for the
Geometry
module to replaceExtent
-
class AccumulatedVolumeMaterial
- #include <Acts/Material/AccumulatedVolumeMaterial.hpp>
Accumulate and average volume-based material properties.
This class is intended to be used during the mapping process.
Public Functions
-
void accumulate(const MaterialSlab &mat)
Add one entry with the given material properties.
-
inline const Material &average()
Compute the average material collected so far.
- Returns
Vacuum properties if no matter has been accumulated yet.
Private Members
-
MaterialSlab m_average¶
-
void accumulate(const MaterialSlab &mat)
-
class AccumulatedVolumeMaterial