Mantid
Loading...
Searching...
No Matches
SetGoniometer.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 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#include "MantidKernel/Matrix.h"
12
13namespace Mantid {
14namespace Crystal {
15
22class MANTID_CRYSTAL_DLL SetGoniometer final : public API::Algorithm {
23public:
25 const std::string name() const override { return "SetGoniometer"; };
27 const std::string summary() const override {
28 return "Define the goniometer motors used in an experiment by giving the "
29 "axes and directions of rotations.";
30 }
31
33 int version() const override { return 1; };
34 const std::vector<std::string> seeAlso() const override { return {"GoniometerAnglesFromPhiRotation"}; }
36 const std::string category() const override { return "Crystal\\Goniometer"; }
37
38private:
40 void init() override;
42 void exec() override;
43 std::map<std::string, std::string> validateInputs() override;
44};
45
46} // namespace Crystal
47} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition Algorithm.h:76
Define the goniometer used in an experiment by giving the axes and directions of rotations.
const std::string name() const override
Algorithm's name 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....
int version() const override
Algorithm's version for identification.
const std::string summary() const override
Summary of algorithms purpose.
Helper class which provides the Collimation Length for SANS instruments.