Mantid
Loading...
Searching...
No Matches
SelectCellOfType.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2012 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 {
22class MANTID_CRYSTAL_DLL SelectCellOfType final : public API::Algorithm {
23public:
25 const std::string name() const override { return "SelectCellOfType"; };
26
28 int version() const override { return 1; };
29 const std::vector<std::string> seeAlso() const override {
30 return {"FindUBUsingFFT", "FindUBUsingIndexedPeaks", "FindUBUsingLatticeParameters"};
31 }
32
34 const std::string category() const override { return "Crystal\\Cell"; }
35
37 const std::string summary() const override {
38 return "Select a conventional cell with a specific lattice type and "
39 "centering, corresponding to the UB stored with the sample for this "
40 "peaks works space.";
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
ShowPossibleCells : Algorithm to display a list of possible conventional cells corresponding to the U...
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....
const std::string category() const override
Algorithm's category for identification.
int version() const override
Algorithm's version for identification.
const std::string name() const override
Algorithm's name for identification.
Helper class which provides the Collimation Length for SANS instruments.