Skip to content

Commit

Permalink
Fix annulus shape
Browse files Browse the repository at this point in the history
  • Loading branch information
beomki-yeo committed Nov 15, 2023
1 parent a955395 commit ac4c2d2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion simulation/include/traccc/simulation/measurement_smearer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,16 @@ struct measurement_smearer {
std::max(std::abs(matrix_operator().element(meas, 0u, 0u)) +
offset[0],
static_cast<scalar_type>(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();

Expand Down

0 comments on commit ac4c2d2

Please sign in to comment.