43 return Axes::Units::RADIANS;
51 throw std::runtime_error(
52 "SpecularDetector1D::getAxisName(size_t index) -> Error! index > 0");
Defines a detector for specular simulations.
Interface for one-dimensional axes.
Abstract detector interface.
const IAxis & axis(size_t index) const
void addAxis(const IAxis &axis)
void setName(const std::string &name)
1D detector for specular simulations.
void setAxis(const IAxis &axis)
virtual ~SpecularDetector1D()
SpecularDetector1D * clone() const override
std::string axisName(size_t index) const override
Returns the name for the axis with given index.
Axes::Units defaultAxesUnits() const override
Return default axes units.