14 float pathCorrection) {
23 if (useEmptyTrack or (0 < m_trackAverage.thickness())) {
24 if (m_totalCount == 0
u) {
25 m_totalAverage = m_trackAverage;
27 double weightTotal = m_totalCount / (m_totalCount + 1.0);
28 double weightTrack = 1 / (m_totalCount + 1.0);
31 weightTotal * m_totalAverage.thickness());
33 weightTrack * m_trackAverage.thickness());
42 std::pair<Acts::MaterialSlab, unsigned int>
44 return {m_totalAverage, m_totalCount};