16#include "MantidMDAlgorithms/DllConfig.h"
20namespace MDAlgorithms {
32 const std::string
name()
const override {
return "LoadDNSSCD"; }
35 const std::string
summary()
const override {
return "Load a list of DNS .d_dat files into a MDEventWorkspace."; }
38 int version()
const override {
return 1; }
41 const std::string
category()
const override {
return "MDAlgorithms\\DataHandling"; }
43 const std::vector<std::string>
seeAlso()
const override {
44 return {
"LoadDNSLegacy",
"LoadWANDSCD",
"ConvertWANDSCDtoQ"};
78 std::vector<std::vector<double>>
signal;
87 int splitIntoColumns(std::list<std::string> &columns, std::string &str);
88 void read_data(
const std::string &fname, std::map<std::string, std::string> &str_metadata,
89 std::map<std::string, double> &num_metadata);
90 void fillOutputWorkspace(
double wavelength);
91 void fillOutputWorkspaceRaw(
double wavelength);
94 template <
class T>
void updateProperties(
API::Run &run, std::map<std::string, T> &metadata, std::string time);
Defines an interface to an algorithm that loads a file so that it can take part in the automatic sele...
This class stores information regarding an experimental run as a series of log entries.
Defines a wrapper around an open file.
LoadDNSSCD : Load a list of DNS .d_dat files into a MDEventWorkspace.
double m_normfactor
factor to multiply the error^2 for normalization
size_t m_nDims
number of workspace dimensions
std::string m_normtype
type of normalization;
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::string m_columnSep
The column separator.
Mantid::API::IMDEventWorkspace_sptr m_OutWS
Output IMDEventWorkspace.
const std::string summary() const override
Summary of algorithms purpose.
const std::string category() const override
Algorithm's category for identification.
std::vector< ExpData > m_data
int version() const override
Algorithm's version for identification.
const std::string name() const override
Algorithm's name for identification.
double m_tof_max
maximal TOF (for extends)
std::shared_ptr< IMDEventWorkspace > IMDEventWorkspace_sptr
Shared pointer to Mantid::API::IMDEventWorkspace.
std::shared_ptr< ITableWorkspace > ITableWorkspace_sptr
shared pointer to Mantid::API::ITableWorkspace
Helper class which provides the Collimation Length for SANS instruments.
structure for experimental data
std::vector< std::vector< double > > signal