Mantid
Loading...
Searching...
No Matches
FindUBUsingLatticeParameters.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 {
20class MANTID_CRYSTAL_DLL FindUBUsingLatticeParameters final : public API::Algorithm {
21public:
23 const std::string name() const override { return "FindUBUsingLatticeParameters"; };
24
26 int version() const override { return 1; };
27 const std::vector<std::string> seeAlso() const override {
28 return {"SetUB", "FindUBUsingFFT", "FindUBUsingIndexedPeaks", "FindUBUsingMinMaxD"};
29 }
30
32 const std::string category() const override { return "Crystal\\UBMatrix"; }
33
35 const std::string summary() const override {
36 return "Calculate the UB matrix from a peaks workspace, given lattice "
37 "parameters.";
38 }
39
40private:
42 void init() override;
43
45 void exec() override;
46};
47
48} // namespace Crystal
49} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
FindUBUsingLatticeParameters : Algorithm to calculate a UB matrix, given lattice parameters and a lis...
const std::string summary() const override
Summary of algorithms purpose.
const std::string name() const override
Algorithm's name for identification.
int version() const override
Algorithm's version for identification.
const std::string category() const override
Algorithm's category for identification.
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.