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
12namespace Mantid {
13namespace Crystal {
14
21class MANTID_CRYSTAL_DLL SetGoniometer final : public API::Algorithm {
22public:
24 const std::string name() const override { return "SetGoniometer"; };
26 const std::string summary() const override {
27 return "Define the goniometer motors used in an experiment by giving the "
28 "axes and directions of rotations.";
29 }
30
32 int version() const override { return 1; };
33 const std::vector<std::string> seeAlso() const override { return {"GoniometerAnglesFromPhiRotation"}; }
35 const std::string category() const override { return "Crystal\\Goniometer"; }
36
37private:
39 void init() override;
41 void exec() override;
42};
43
44} // namespace Crystal
45} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Define the goniometer used in an experiment by giving the axes and directions of rotations.
Definition: SetGoniometer.h:21
const std::string name() const override
Algorithm's name for identification.
Definition: SetGoniometer.h:24
const std::string category() const override
Algorithm's category for identification.
Definition: SetGoniometer.h:35
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: SetGoniometer.h:33
int version() const override
Algorithm's version for identification.
Definition: SetGoniometer.h:32
const std::string summary() const override
Summary of algorithms purpose.
Definition: SetGoniometer.h:26
Helper class which provides the Collimation Length for SANS instruments.