9#include "MantidDataObjects/DllConfig.h"
17#include <boost/optional.hpp>
23class InstrumentRayTracer;
26namespace DataObjects {
45#if defined(_MSC_VER) && _MSC_VER <= 1910
56 int getRunNumber()
const override;
57 void setRunNumber(
int m_runNumber)
override;
59 double getMonitorCount()
const override;
60 void setMonitorCount(
double m_monitorCount)
override;
62 double getH()
const override;
63 double getK()
const override;
64 double getL()
const override;
66 bool isIndexed()
const override;
69 void setH(
double m_H)
override;
70 void setK(
double m_K)
override;
71 void setL(
double m_L)
override;
72 void setHKL(
double H,
double K,
double L)
override;
78 void setSamplePos(
double samX,
double samY,
double samZ)
override;
81 double getIntensity()
const override;
82 double getSigmaIntensity()
const override;
83 double getIntensityOverSigma()
const override;
85 void setIntensity(
double m_intensity)
override;
86 void setSigmaIntensity(
double m_sigmaIntensity)
override;
88 double getBinCount()
const override;
89 void setBinCount(
double m_binCount)
override;
95 void setPeakNumber(
int m_peakNumber)
override;
96 int getPeakNumber()
const override;
98 virtual double getValueByColName(std::string colName)
const;
112 void setAbsorptionWeightedPathLength(
double pathLength)
override;
113 double getAbsorptionWeightedPathLength()
const override;
Structure describing a single-crystal peak.
BasePeak(BasePeak &&) noexcept=default
int m_runNumber
Originating run number for this peak.
Mantid::Kernel::Matrix< double > m_GoniometerMatrix
Orientation matrix of the goniometer angles.
double m_absorptionWeightedPathLength
absorption weighted path length (aka t bar)
double m_intensity
Integrated peak intensity.
static Mantid::Kernel::Logger g_log
Static logger.
double m_sigmaIntensity
Error (sigma) on peak intensity.
Mantid::Kernel::V3D m_samplePos
Cached sample position.
double m_binCount
Count in the bin at the peak.
Mantid::Kernel::Matrix< double > m_InverseGoniometerMatrix
Inverse of the goniometer rotation matrix; used to go from Q in lab frame to Q in sample frame.
Mantid::Kernel::V3D m_intHKL
Mantid::Geometry::PeakShape_const_sptr m_peakShape
Peak shape.
Mantid::Kernel::V3D m_intMNP
double m_monitorCount
Integrated monitor count over TOF range for this run.
Structure describing a single-crystal peak.
PeakShape : Abstract type to describes the shape of a peak.
The Logger class is in charge of the publishing messages from the framework through various channels.
std::shared_ptr< const PeakShape > PeakShape_const_sptr
Helper class which provides the Collimation Length for SANS instruments.