Mantid
Loading...
Searching...
No Matches
AppendSpectra.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2012 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9//----------------------------------------------------------------------
10// Includes
11//----------------------------------------------------------------------
13
14namespace Mantid {
15namespace Algorithms {
16
29class MANTID_ALGORITHMS_DLL AppendSpectra : public WorkspaceJoiners {
30public:
31 const std::string name() const override;
32 int version() const override;
33 const std::vector<std::string> seeAlso() const override { return {"ConjoinSpectra"}; }
34
35private:
36 // Overridden Algorithm methods
37 void init() override;
38 void exec() override;
39
40 void fixSpectrumNumbers(const API::MatrixWorkspace &ws1, const API::MatrixWorkspace &ws2,
41 API::MatrixWorkspace &output) override;
42 void combineLogs(const API::Run &lhs, const API::Run &rhs, API::Run &ans);
43};
44
45} // namespace Algorithms
46} // namespace Mantid
const std::vector< double > & rhs
Base MatrixWorkspace Abstract Class.
This class stores information regarding an experimental run as a series of log entries.
Definition: Run.h:38
Joins two partial, non-overlapping workspaces into one.
Definition: AppendSpectra.h:29
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
Definition: AppendSpectra.h:33
A base class to hold code common to two algorithms that bolt two workspaces together spectra-wise - C...
Helper class which provides the Collimation Length for SANS instruments.