File AccumulatedVolumeMaterial.hpp¶
-
namespace Acts
Set the Geometry Context PLUGIN.
Set the Calibration Context PLUGIN.
Convenience functions to ease creation of and Acts::InterpolatedMaterialMap and to avoid code duplication.
Set the Mangetic Field Context PLUGIN.
Convenience functions to ease creation of and Acts::InterpolatedBFieldMap and to avoid code duplication.
Currently implemented for the two most common formats: rz and xyz.
-
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