14#include "MantidMDAlgorithms/DllConfig.h"
19namespace MDAlgorithms {
27 const std::string
name()
const override {
return "ConvertSpiceDataToRealSpace"; }
30 const std::string
summary()
const override {
return "Load a HFIR powder diffractometer SPICE file."; }
33 int version()
const override {
return (1); }
36 const std::string
category()
const override {
return "Diffraction\\ConstantWavelength;DataHandling\\Text"; }
57 Types::Core::DateAndTime runstart,
58 std::map<std::string, std::vector<double>> &logvecmap,
59 std::vector<Types::Core::DateAndTime> &vectimes);
66 const std::vector<double> &vecmonitor);
70 size_t &itime, std::vector<std::pair<size_t, size_t>> &anodelist,
71 std::map<std::string, size_t> &samplenameindexmap);
75 std::map<std::string, std::vector<double>> &logvecmap);
80 Types::Core::DateAndTime runstart,
size_t ipt,
size_t irotangle,
81 size_t itime,
const std::vector<std::pair<size_t, size_t>> &anodelist,
86 const std::vector<API::MatrixWorkspace_sptr> &vec_ws2d);
90 const std::map<std::string, std::vector<double>> &logvecmap,
91 const std::vector<Types::Core::DateAndTime> &vectimes);
97 void correctByDetectorEfficiency(std::vector<API::MatrixWorkspace_sptr> vec_ws2d,
98 const std::map<detid_t, double> &detEffMap);
104 size_t m_numSpec = 0;
113 size_t m_nDimensions = 3;
Base class from which all concrete algorithm classes should be derived.
ConvertSpiceDataToRealSpace : Convert data from SPICE file to singals in real space contained in MDEv...
const std::string summary() const override
Summary of algorithms purpose.
DataObjects::TableWorkspace_sptr loadSpiceData(const std::string &spicefilename)
Load data by call.
std::vector< double > m_extentMaxs
x-y-z value maximum
const std::string name() const override
Algorithm's name.
std::deque< std::string > DataCollectionType
Returns a confidence value that this algorithm can load a file.
const std::string category() const override
Algorithm's category for identification.
std::string m_instrumentName
Name of instrument.
int version() const override
Algorithm's version.
std::vector< size_t > m_numBins
Number of bins.
std::vector< double > m_extentMins
x-y-z-value minimum
std::shared_ptr< IMDEventWorkspace > IMDEventWorkspace_sptr
Shared pointer to Mantid::API::IMDEventWorkspace.
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< TableWorkspace > TableWorkspace_sptr
shared pointer to Mantid::DataObjects::TableWorkspace
std::shared_ptr< const TableWorkspace > TableWorkspace_const_sptr
shared pointer to Mantid::DataObjects::TableWorkspace (const version)
Helper class which provides the Collimation Length for SANS instruments.