Mantid
Loading...
Searching...
No Matches
SetUB.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
23class MANTID_CRYSTAL_DLL SetUB final : public API::Algorithm {
24public:
25 const std::string name() const override;
27 const std::string summary() const override {
28 return "Set the UB matrix, given either lattice parametersand orientation "
29 "vectors or the UB matrix elements";
30 }
31
32 int version() const override;
33 const std::vector<std::string> seeAlso() const override {
34 return {"FindUBUsingFFT", "FindUBUsingIndexedPeaks", "FindUBUsingLatticeParameters", "FindUBUsingMinMaxD"};
35 }
36 const std::string category() const override;
37
38private:
39 void init() override;
40 void exec() override;
41};
42
43} // namespace Crystal
44} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
SetUB : Algorithm to set the UB matrix, given lattice parameters and u and v vectors as defined in: h...
Definition: SetUB.h:23
const std::string summary() const override
Summary of algorithms purpose.
Definition: SetUB.h:27
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: SetUB.h:33
Helper class which provides the Collimation Length for SANS instruments.