24#include "MantidMDAlgorithms/DllConfig.h"
27namespace MDAlgorithms {
69 std::vector<std::string>
getDimNames()
const {
return m_DimNames; }
70 std::vector<std::string>
getDimIDs()
const {
return m_DimIDs; }
71 std::vector<std::string>
getDimUnits()
const {
return m_DimUnits; }
72 std::vector<double>
getDimMin()
const {
return m_DimMin; }
73 std::vector<double>
getDimMax()
const {
return m_DimMax; }
74 std::vector<size_t>
getNBins()
const {
return m_NBins; }
75 std::vector<coord_t>
getAddCoord()
const {
return m_AddCoord; }
76 std::string getEModeStr()
const;
82 double absMin()
const {
return m_AbsMin; }
83 void getMinMax(std::vector<double> &min, std::vector<double> &max)
const;
90 const std::string &
getWSName()
const {
return m_InWS->getName(); }
91 bool isPowder()
const;
92 bool isQ3DMode()
const;
93 bool hasLattice()
const;
95 std::shared_ptr<Geometry::OrientedLattice>
getLattice()
const {
return getOrientedLattice(m_InWS); }
97 bool hasGoniometer()
const;
111 const std::vector<std::string> &dimPropertyNames = std::vector<std::string>());
114 void checkWSCorresponsMDWorkspace(
const MDWSDescription &NewMDWorkspaceD);
116 void setMinMax(
const std::vector<double> &minVal,
const std::vector<double> &maxVal);
117 void setDimName(
unsigned int nDim,
const std::string &Name);
120 void setDimUnit(
unsigned int nDim,
const std::string &
Unit);
127 static void checkMinMaxNdimConsistent(
const std::vector<double> &minVal,
const std::vector<double> &maxVal);
131 const std::vector<std::string> &dimPropertyNames, std::vector<coord_t> &AddCoord);
133 static std::shared_ptr<Geometry::OrientedLattice>
141 void setFrame(
const std::string &frameKey);
146 void setNumBins(
const std::vector<int> &nBins_toSplit);
182 void resizeDimDescriptions(
unsigned int nDimensions,
size_t nBins = 10);
This class contains the information about the log entries.
The base units (abstract) class.
helper class describes the properties of target MD workspace, which should be obtained as the result ...
std::shared_ptr< Geometry::OrientedLattice > getLattice() const
double m_AbsMin
hole near origin of Q
std::vector< std::string > m_DimNames
the names for the target workspace dimensions and properties of input MD workspace
bool m_buildingNewWorkspace
Kernel::DeltaEMode::Type m_Emode
energy transfer analysis mode
std::vector< std::string > m_DimUnits
the units of target workspace dimensions and properties of input MD workspace dimensions
std::vector< std::string > getDimIDs() const
std::string m_frameKey
Frame key. For frame to use.
API::MatrixWorkspace_const_sptr getInWS() const
Mantid::Kernel::SpecialCoordinateSystem m_coordinateSystem
Coordinate system.
std::vector< std::string > getDimNames() const
bool isLorentsCorrections() const
check if one needs to perform Lorentz corrections
std::vector< size_t > getNBins() const
std::vector< coord_t > m_AddCoord
the vector of MD coordinates, which are obtained from workspace properties.
bool m_LorentzCorr
if one needs to calculate Lorentz corrections
std::vector< size_t > m_NBins
if defined, specifies number of bins split in each dimension
std::vector< double > m_DimMax
std::string AlgID
the string which describes ChildAlgorithm, used to convert source ws to target MD ws.
std::vector< std::string > getDimUnits() const
unsigned int m_NDims
the variable which describes the number of the dimensions, in the target workspace.
Kernel::DeltaEMode::Type getEMode() const
unsigned int nDimensions() const
std::vector< coord_t > getAddCoord() const
void setAbsMin(double absMin)
const std::string & getWSName() const
std::vector< double > getDimMin() const
Kernel::DblMatrix m_Wtransf
std::vector< std::string > m_DimIDs
the ID-s for the target workspace, which allow to identify the dimensions according to their ID
API::MatrixWorkspace_sptr m_InWS
std::vector< double > m_RotMatrix
DataObjects::TableWorkspace_const_sptr m_PreprDetTable
std::string getQMode() const
void setLorentsCorr(bool On=false)
do we need to perform Lorentz corrections
std::vector< double > getTransfMatrix() const
std::vector< double > getDimMax() const
std::shared_ptr< const IMDEventWorkspace > IMDEventWorkspace_const_sptr
Shared pointer to Mantid::API::IMDEventWorkspace (const version)
std::shared_ptr< const MatrixWorkspace > MatrixWorkspace_const_sptr
shared pointer to the matrix workspace base class (const version)
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
std::shared_ptr< const TableWorkspace > TableWorkspace_const_sptr
shared pointer to Mantid::DataObjects::TableWorkspace (const version)
std::unique_ptr< MDFrame > MDFrame_uptr
SpecialCoordinateSystem
Special coordinate systems for Q3D.
Helper class which provides the Collimation Length for SANS instruments.
Type
Define the available energy transfer modes It is important to assign enums proper numbers,...