Skip to content
Snippets Groups Projects
Commit f0e19019 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

ScatteringSimulation::simCoordSystem simplify

parent cac460c7
No related branches found
No related tags found
1 merge request!1620core simplifications, especially detector iterators
......@@ -40,9 +40,7 @@ ScatteringSimulation::~ScatteringSimulation() = default;
const ICoordSystem* ScatteringSimulation::simCoordSystem() const
{
auto* const det2D = dynamic_cast<const IDetector*>(getDetector());
ASSERT(det2D);
return det2D->scatteringCoords(beam());
return m_detector->scatteringCoords(beam());
}
//... Overridden executors:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment