16#include <boost/optional.hpp>
21namespace DataObjects {
35 boost::optional<std::shared_ptr<const Geometry::ReferenceFrame>> refFrame = boost::none);
46#if defined(_MSC_VER) && _MSC_VER <= 1910
57 std::shared_ptr<const Geometry::ReferenceFrame> getReferenceFrame()
const override;
59 int getCol()
const override;
60 int getRow()
const override;
65 void setQSampleFrame(
const Mantid::Kernel::V3D &QSampleFrame, boost::optional<double> = boost::none)
override;
67 void setQLabFrame(
const Mantid::Kernel::V3D &qLab, boost::optional<double> = boost::none)
override;
69 void setWavelength(
double wavelength)
override;
70 double getWavelength()
const override;
71 double getScattering()
const override;
72 double getAzimuthal()
const override;
73 double getDSpacing()
const override;
74 double getTOF()
const override;
76 double getInitialEnergy()
const override;
77 double getFinalEnergy()
const override;
78 double getEnergyTransfer()
const override;
79 void setInitialEnergy(
double m_initialEnergy)
override;
80 void setFinalEnergy(
double m_finalEnergy)
override;
82 double getL1()
const override;
83 double getL2()
const override;
89 void setReferenceFrame(std::shared_ptr<const Geometry::ReferenceFrame> frame);
97 std::shared_ptr<const Geometry::ReferenceFrame>
m_refFrame;
Structure describing a single-crystal peak.
Structure describing a single-crystal peak.
std::shared_ptr< const Geometry::ReferenceFrame > m_refFrame
static Mantid::Kernel::Logger g_log
Static logger.
double m_wavelength
Wavelength of neutrons at the peak.
LeanElasticPeak(const LeanElasticPeak &other)
Copy constructor.
Mantid::Kernel::V3D m_Qsample
Q_sample vector.
LeanElasticPeak(LeanElasticPeak &&) noexcept=default
Structure describing a single-crystal peak.
The Logger class is in charge of the publishing messages from the framework through various channels.
Helper class which provides the Collimation Length for SANS instruments.