Mantid
Loading...
Searching...
No Matches
RotateInstrumentComponent.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2007 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 "MantidDataHandling/DllConfig.h"
12
13namespace Mantid {
14
15namespace DataHandling {
43class MANTID_DATAHANDLING_DLL RotateInstrumentComponent : public API::DistributedAlgorithm {
44public:
48 const std::string name() const override { return "RotateInstrumentComponent"; };
50 const std::string summary() const override { return "Rotates an instrument component."; }
51
53 int version() const override { return 1; };
54 const std::vector<std::string> seeAlso() const override {
55 return {"MoveInstrumentComponent", "SetInstrumentParameter"};
56 }
58 const std::string category() const override { return "DataHandling\\Instrument"; }
59
60private:
62 void init() override;
63
65 void exec() override;
66};
67
68} // namespace DataHandling
69} // namespace Mantid
Base class for algorithms that treat all spectra independently, i.e., we can trivially parallelize ov...
DataHandling/RotateInstrumentComponent.h.
const std::string summary() const override
Summary of algorithms purpose.
int version() const override
Algorithm's version for identification overriding a virtual method.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
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 overriding a virtual method.
Helper class which provides the Collimation Length for SANS instruments.