10#include "MantidDataHandling/DllConfig.h"
15namespace HistogramData {
18namespace DataHandling {
22 const std::string name()
const override;
24 const std::string
summary()
const override {
return "Create a blank workspace for a given instrument."; }
26 int version()
const override;
27 const std::string category()
const override;
34 void createInstrument();
36 void createOutputWorkspace();
38 size_t createDetectorMapping();
40 void createOneToOneMapping();
42 void loadMappingFromFile(
const std::string &filename);
44 void loadMappingFromRAW(
const std::string &filename);
46 void loadMappingFromISISNXS(
const std::string &filename);
48 void createGroupingsFromTables(
const int *specTable,
const int *udetTable,
int ndets);
50 HistogramData::BinEdges createBinBoundaries()
const;
52 void applyDetectorMapping();
54 void adjustInstrument(
const std::string &filename);
IPeaksWorkspace_sptr workspace
Base class from which all concrete algorithm classes should be derived.
API::MatrixWorkspace_sptr m_outputWS
Pointer to the new workspace.
std::shared_ptr< API::Progress > m_progress
Pointer to a progress object.
std::map< specnum_t, std::set< detid_t > > m_detGroups
List of detector groupings.
const std::string summary() const override
Summary of algorithms purpose.
Geometry::Instrument_const_sptr m_instrument
Pointer to the new instrument.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
std::shared_ptr< const Instrument > Instrument_const_sptr
Shared pointer to an const instrument object.
Helper class which provides the Collimation Length for SANS instruments.