Mantid
Loading...
Searching...
No Matches
CalculatePeaksHKL.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"
11
12namespace Mantid {
13namespace Crystal {
14
19class MANTID_CRYSTAL_DLL CalculatePeaksHKL final : public API::Algorithm {
20public:
21 const std::string name() const override;
23 const std::string summary() const override {
24 return "Calculates Miller indices for each peak. No rounding or UB "
25 "optimization.";
26 }
27
28 int version() const override;
29 const std::vector<std::string> seeAlso() const override { return {"AddPeak"}; }
30 const std::string category() const override;
31
32private:
33 void init() override;
34 void exec() override;
35};
36
37} // namespace Crystal
38} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
CalculatePeaksHKL : Calculate the HKL value for each peak without any rounding or optimization of the...
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.