Mantid
Loading...
Searching...
No Matches
FindUBUsingMinMaxD.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
11#include "MantidCrystal/DllConfig.h"
12
13namespace Mantid {
14namespace Crystal {
21class MANTID_CRYSTAL_DLL FindUBUsingMinMaxD final : public API::Algorithm, public API::DeprecatedAlgorithm {
22public:
24
26 const std::string name() const override;
27
29 int version() const override;
30 const std::vector<std::string> seeAlso() const override {
31 return {"SetUB", "FindUBUsingFFT", "FindUBUsingIndexedPeaks", "FindUBUsingLatticeParameters"};
32 }
33
35 const std::string category() const override;
36
38 const std::string summary() const override {
39 return "Calculate the UB matrix from a peaks workspace, given min(a,b,c) "
40 "and max(a,b,c).";
41 }
42
43private:
45 void init() override;
46
48 void exec() override;
49};
50
51} // namespace Crystal
52} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Class for marking algorithms as deprecated.
FindUBUsingMinMaxD : Algorithm to calculate a UB matrix, given bounds on the lattice parameters and a...
const std::string summary() const override
Summary of algorithms purpose.
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.