EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/sPHENIX/Core/include/Acts/Material/AccumulatedVolumeMaterial.hpp>
Public Member Functions | |
void | accumulate (const MaterialSlab &mat) |
Add one entry with the given material properties. | |
const Material & | average () |
Private Attributes | |
MaterialSlab | m_average |
Accumulate and average volume-based material properties.
This class is intended to be used during the mapping process.
Definition at line 18 of file AccumulatedVolumeMaterial.hpp.
View newest version in sPHENIX GitHub at line 18 of file AccumulatedVolumeMaterial.hpp
void Acts::AccumulatedVolumeMaterial::accumulate | ( | const MaterialSlab & | mat | ) |
Add one entry with the given material properties.
Definition at line 13 of file AccumulatedVolumeMaterial.cpp.
View newest version in sPHENIX GitHub at line 13 of file AccumulatedVolumeMaterial.cpp
References Acts::detail::combineSlabs(), and m_average.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), and Acts::VolumeMaterialMapper::finalizeMaps().
|
inline |
Compute the average material collected so far.
Definition at line 26 of file AccumulatedVolumeMaterial.hpp.
View newest version in sPHENIX GitHub at line 26 of file AccumulatedVolumeMaterial.hpp
References m_average, and Acts::MaterialSlab::material().
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), and Acts::VolumeMaterialMapper::finalizeMaps().
|
private |
Definition at line 29 of file AccumulatedVolumeMaterial.hpp.
View newest version in sPHENIX GitHub at line 29 of file AccumulatedVolumeMaterial.hpp
Referenced by accumulate(), and average().