Mantid
Loading...
Searching...
No Matches
CalculateUMatrix.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2011 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
21class MANTID_CRYSTAL_DLL CalculateUMatrix final : public API::Algorithm {
22public:
24 const std::string name() const override { return "CalculateUMatrix"; };
26 const std::string summary() const override {
27 return "Calculate the U matrix from a peaks workspace, given lattice "
28 "parameters.";
29 }
30
32 int version() const override { return 1; };
33 const std::vector<std::string> seeAlso() const override { return {"SetUB"}; }
35 const std::string category() const override { return "Crystal\\UBMatrix"; }
36
37private:
39 void init() override;
41 void exec() override;
42};
43
44} // namespace Crystal
45} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
CalculateUMatrix : Algorithm to calculate the U matrix, given lattice parameters and a list of peaks.
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.
int version() const override
Algorithm's version for identification.
const std::string name() const override
Algorithm's name for identification.
const std::string category() const override
Algorithm's category for identification.
Helper class which provides the Collimation Length for SANS instruments.