11#include <boost/optional.hpp>
15namespace DataObjects {
23 std::string algorithmName = std::string(),
int algorithmVersion = -1);
25 PeakShapeSpherical(
const double &peakRadius,
const double &peakInnerRadius,
const double &peakOuterRadius,
27 int algorithmVersion = -1);
29 std::string toJSON()
const override;
33 std::string shapeName()
const override;
37 boost::optional<double>
radius(
RadiusType type = RadiusType::Radius)
const override;
39 boost::optional<double> backgroundOuterRadius()
const;
41 boost::optional<double> backgroundInnerRadius()
const;
43 static const std::string sphereShapeName();
PeakShapeBase : Base class for concrete PeakShapes containing common code.
PeakShapeSpherical : PeakShape for a spherical peak.
double m_radius
Peak radius.
boost::optional< double > m_backgroundInnerRadius
Background inner radius;.
boost::optional< double > m_backgroundOuterRadius
Background outer radius.
RadiusType
For selecting different radius types.
SpecialCoordinateSystem
Special coordinate systems for Q3D.
Helper class which provides the Collimation Length for SANS instruments.
constexpr bool operator==(const wide_integer< Bits, Signed > &lhs, const wide_integer< Bits2, Signed2 > &rhs)