9#include "MantidAPI/DllConfig.h"
22class SpectrumDefinition;
63 const SpectrumDefinition &spectrumDefinition(
const size_t index)
const;
66 bool isMonitor(
const size_t index)
const;
67 bool isMasked(
const size_t index)
const;
68 double l2(
const size_t index)
const;
70 double signedTwoTheta(
const size_t index)
const;
71 double azimuthal(
const size_t index)
const;
76 double phi(
const size_t index)
const;
77 double phiOffset(
const size_t index,
const double offset)
const;
82 double difcUncalibrated(
const size_t index)
const;
83 bool hasDetectors(
const size_t index)
const;
84 bool hasUniqueDetector(
const size_t index)
const;
86 size_t firstDetectorIndex(
const size_t index)
const;
89 void setMasked(
const size_t index,
bool masked);
105 void createDetectorIdLogMessages(
const std::vector<detid_t> &detids, int64_t wsIndex)
const;
115 [[deprecated(
"SpectrumInfo::getDetector has been deprecated in Mantid 7.1."
116 "See the 'Instrument Access via SpectrumInfo, DetectorInfo, ComponentInfo' concept page, "
117 "located at: https://docs.mantidproject.org/nightly/concepts/InstrumentAccessLayers.html")]]
119 const SpectrumDefinition &checkAndGetSpectrumDefinition(
const size_t index)
const;
std::map< DeltaEMode::Type, std::string > index
PyObject * geographicalAngles(const SpectrumInfo &spectrumInfo, const size_t index)
This class is shared by a few Workspace types and holds information related to a particular experimen...
API::SpectrumInfo is an intermediate step towards a SpectrumInfo that is part of Instrument-2....
const ExperimentInfo & m_experimentInfo
Geometry::DetectorInfo & m_detectorInfo
std::vector< std::shared_ptr< const Geometry::IDetector > > m_lastDetector
std::vector< size_t > m_lastIndex
const Beamline::SpectrumInfo & m_spectrumInfo
A simple structure that defines an axis-aligned cuboid shaped bounding box for a geometrical object.
Geometry::DetectorInfo is an intermediate step towards a DetectorInfo that is part of Instrument-2....
Interface class for detector objects.
The base units (abstract) class.
Implements a copy on write data template.
SpectrumInfoIterator< const SpectrumInfo > SpectrumInfoConstIt
SpectrumInfoIterator< SpectrumInfo > SpectrumInfoIt
std::unordered_map< UnitParams, double > UnitParametersMap
Helper class which provides the Collimation Length for SANS instruments.
int32_t detid_t
Typedef for a detector ID.
Generate a tableworkspace to store the calibration results.
Type
Define the available energy transfer modes It is important to assign enums proper numbers,...