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 void appendYAxisLabels(const API::MatrixWorkspace &ws1, const API::MatrixWorkspace &ws2,
44 const API::MatrixWorkspace &output);
45};
46
47} // namespace Algorithms
48} // namespace Mantid
std::string name
Definition Run.cpp:60
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:35
Joins two partial, non-overlapping workspaces into one.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
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.