14#include "MantidAlgorithms/DllConfig.h"
46 const std::string
name()
const override {
return "CopyInstrumentParameters"; }
48 const std::string
summary()
const override {
49 return "Transfers an instrument from on workspace to another workspace "
50 "with same base instrument.";
54 int version()
const override {
return (1); }
55 const std::vector<std::string>
seeAlso()
const override {
return {
"ClearInstrumentParameters"}; }
57 const std::string
category()
const override {
return "DataHandling\\Instrument"; }
63 Parallel::ExecutionMode
64 getParallelExecutionMode(
const std::map<std::string, Parallel::StorageMode> &storageModes)
const override;
72 void checkProperties();
80 bool m_different_instrument_sp =
false;
Base class from which all concrete algorithm classes should be derived.
Transfers an instrument from one workspace to another workspace with the same base instrument.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
const std::string name() const override
Algorithm's name.
bool isInstrumentDifferent() const
method indicates that base source instrument is the same or different from base target instrument (ma...
API::MatrixWorkspace_sptr m_givingWorkspace
The giving workspace.
int version() const override
Algorithm's version.
const std::string summary() const override
Summary of algorithms purpose.
API::MatrixWorkspace_sptr m_receivingWorkspace
The receiving workspace.
const std::string category() const override
Algorithm's category for identification.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.