Mantid
Loading...
Searching...
No Matches
SortPeaksWorkspace.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2013 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"
12
13namespace Mantid {
14namespace Crystal {
15
19class MANTID_CRYSTAL_DLL SortPeaksWorkspace final : public API::Algorithm {
20public:
21 const std::string name() const override;
23 const std::string summary() const override { return "Sort a peaks workspace by a column of the workspace"; }
24
25 int version() const override;
26 const std::vector<std::string> seeAlso() const override { return {"CreatePeaksWorkspace"}; }
27 const std::string category() const override;
28
29private:
30 void init() override;
31 void exec() override;
32};
33
34} // namespace Crystal
35} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
SortPeaksWorkspace : Sort a PeaksWorkspace by a range of properties.
const std::string summary() const override
Summary of algorithms purpose.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
Helper class which provides the Collimation Length for SANS instruments.