37 return Axes::Units::RADIANS;
45 throw std::runtime_error(
46 "SpecularDetector1D::getAxisName(size_t index) -> Error! index > 0");
Defines a detector for specular simulations.
Interface for one-dimensional axes.
Abstract detector interface.
void addAxis(const IAxis &axis)
void setName(const std::string &name)
1D detector for specular simulations.
virtual ~SpecularDetector1D()
SpecularDetector1D(const IAxis &axis)
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.