Mantid
Loading...
Searching...
No Matches
CombinePeaksWorkspaces.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
10#include "MantidCrystal/DllConfig.h"
11
12namespace Mantid {
13namespace Crystal {
14
24class MANTID_CRYSTAL_DLL CombinePeaksWorkspaces final : public API::Algorithm {
25public:
26 const std::string name() const override;
28 const std::string summary() const override {
29 return "Combines the sets of peaks in two peaks workspaces, optionally "
30 "omitting duplicates.";
31 }
32
33 int version() const override;
34 const std::vector<std::string> seeAlso() const override { return {"CreatePeaksWorkspace"}; }
35 const std::string category() const override;
36
37private:
38 void init() override;
39 void exec() override;
40};
41
42} // namespace Crystal
43} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
An algorithm that combines the sets of peaks in two peaks workspaces.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
const std::string summary() const override
Summary of algorithms purpose.
Helper class which provides the Collimation Length for SANS instruments.