11#include "MantidDataHandling/DllConfig.h"
17namespace DataHandling {
28 const std::string
name()
const override {
return "LoadDspacemap"; };
30 const std::string
summary()
const override {
31 return "Loads a Dspacemap file (POWGEN binary, VULCAN binary or ascii "
32 "format) into an OffsetsWorkspace.";
36 int version()
const override {
return 1; };
38 const std::string
category()
const override {
return "DataHandling\\Text"; }
46 void readVulcanAsciiFile(
const std::string &fileName, std::map<detid_t, double> &vulcan);
47 void readVulcanBinaryFile(
const std::string &fileName, std::map<detid_t, double> &vulcan);
49 void CalculateOffsetsFromDSpacemapFile(
const std::string &DFileName,
52 void CalculateOffsetsFromVulcanFactors(std::map<detid_t, double> &vulcan,
Base class from which all concrete algorithm classes should be derived.
Loads a Dspacemap file (POWGEN binary, VULCAN binary or ascii format) into an OffsetsWorkspace.
const std::string summary() const override
Summary of algorithms purpose.
const std::string name() const override
Algorithm's name for identification.
const std::string category() const override
Algorithm's category for identification.
int version() const override
Algorithm's version for identification.
std::shared_ptr< OffsetsWorkspace > OffsetsWorkspace_sptr
shared pointer to the OffsetsWorkspace class
Helper class which provides the Collimation Length for SANS instruments.