15namespace MDAlgorithms {
23 const std::string
name()
const override;
24 int version()
const override;
25 const std::string category()
const override;
26 const std::string summary()
const override;
27 const std::vector<std::string>
seeAlso()
const override {
28 return {
"CropWorkspaceForMDNorm",
"MDNormSCD",
"MDNormDirectSC",
"RecalculateTrajectoriesExtents",
29 "ConvertHFIRSCDtoMDE"};
35 void validateBinningForTemporaryDataWorkspace(
const std::map<std::string, std::string> &,
37 std::map<std::string, std::string> validateInputs() override final;
38 std::
string QDimensionName(
std::vector<
double> projection);
39 std::
string QDimensionNameQSample(
int i);
40 std::map<
std::
string,
std::
string> getBinParameters();
41 void createBackgroundNormalizationWS(const DataObjects::
MDHistoWorkspace &dataWS);
50 const
std::
string &temporaryWSPropertyName,
51 const
std::
string &outputWSPropertyName,
53 const
std::map<
std::
string,
std::
string> ¶meters);
64 void determineBasisVector(const
size_t &qindex, const
std::
string &
value, const Kernel::
DblMatrix &Qtransform,
65 std::vector<
double> &projection,
std::stringstream &basisVector,
66 std::vector<
size_t> &qDimensionIndices);
67 inline
void setQUnit(const
std::vector<
size_t> &qDimensionIndices,
70 std::vector<
coord_t> getValuesFromOtherDimensions(
bool &skipNormalization, uint16_t expInfoIndex = 0) const;
73 const
std::
string &outputwsname, const
double &startProgress,
74 const
double &endProgress);
79 std::vector<
double> m_Q0Basis{1., 0., 0.}, m_Q1Basis{0., 1., 0.}, m_Q2Basis{0., 0., 1.};
const std::vector< double > & rhs
double value
The value of the point.
Crystallographic symmetry operations are composed of a rotational component, which is represented by ...
Base class for the three MDNorm, MDNormDirectSC and MDNormSCD algorithms with the common normalizatio...
MDNormalization : Bin single crystal diffraction or direct geometry inelastic data and calculate the ...
size_t m_numSymmOps
number of symmetry operations
bool m_monochromatic
Flag indicating a pre-computed MonoSCDNormalizationWorkspace was provided (monochromatic single cryst...
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
std::shared_ptr< IMDEventWorkspace > IMDEventWorkspace_sptr
Shared pointer to Mantid::API::IMDEventWorkspace.
std::shared_ptr< IMDHistoWorkspace > IMDHistoWorkspace_sptr
shared pointer to Mantid::API::IMDHistoWorkspace
std::shared_ptr< IMDWorkspace > IMDWorkspace_sptr
Shared pointer to the IMDWorkspace base class.
std::shared_ptr< MDHistoWorkspace > MDHistoWorkspace_sptr
A shared pointer to a MDHistoWorkspace.
Helper class which provides the Collimation Length for SANS instruments.
float coord_t
Typedef for the data type to use for coordinate axes in MD objects such as MDBox, MDEventWorkspace,...