diff --git a/simulation/include/traccc/simulation/measurement_smearer.hpp b/simulation/include/traccc/simulation/measurement_smearer.hpp index 5544effe86..7145732195 100644 --- a/simulation/include/traccc/simulation/measurement_smearer.hpp +++ b/simulation/include/traccc/simulation/measurement_smearer.hpp @@ -96,12 +96,16 @@ struct measurement_smearer { std::max(std::abs(matrix_operator().element(meas, 0u, 0u)) + offset[0], static_cast(0.f)); + } else if (mask_t::shape::name == "(stereo) annulus2D") { + iomeas.local1 = + matrix_operator().element(meas, 0u, 0u) + offset[0]; } else { iomeas.local0 = matrix_operator().element(meas, 0u, 0u) + offset[0]; } + } - } else if (meas_dim == 2u) { + else if (meas_dim == 2u) { const auto proj = subs.projector<2u>(); matrix_type<2u, 1u> meas = proj * bound_params.vector();