Mantid
Loading...
Searching...
No Matches
IndexPeaks.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2019 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
9#include "MantidCrystal/DllConfig.h"
10
11namespace Mantid {
12namespace Crystal {
13
18class MANTID_CRYSTAL_DLL IndexPeaks final : public API::Algorithm {
19public:
20 const std::string name() const override { return "IndexPeaks"; }
21 const std::string summary() const override {
22 return "Index the peaks using the UB from the sample. Leave MaxOrder at "
23 "default value 0 to get this value, and ModVectors (unless "
24 "overridden) from the sample.";
25 }
26 int version() const override { return 1; }
27 const std::vector<std::string> seeAlso() const override { return {"IndexSXPeaks"}; }
28 const std::string category() const override { return "Crystal\\Peaks"; }
29 std::map<std::string, std::string> validateInputs() override;
30
31protected:
32 void init() override;
33 void exec() override;
34};
35
36} // namespace Crystal
37} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Implements an algorithm for indexing main and satellites peaks in single crystal peaks.
Definition: IndexPeaks.h:18
int version() const override
function to return a version of the algorithm, must be overridden in all algorithms
Definition: IndexPeaks.h:26
const std::string summary() const override
function returns a summary message that will be displayed in the default GUI, and in the help.
Definition: IndexPeaks.h:21
const std::string category() const override
function to return a category of the algorithm.
Definition: IndexPeaks.h:28
const std::string name() const override
function to return a name of the algorithm, must be overridden in all algorithms
Definition: IndexPeaks.h:20
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
Definition: IndexPeaks.h:27
Helper class which provides the Collimation Length for SANS instruments.