Mantid
Loading...
Searching...
No Matches
FindCenterOfMassPosition.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
9//----------------------------------------------------------------------
10// Includes
11//----------------------------------------------------------------------
12#include "MantidAPI/Algorithm.h"
13#include "MantidAlgorithms/DllConfig.h"
14
15namespace Mantid {
16namespace Algorithms {
48class MANTID_ALGORITHMS_DLL FindCenterOfMassPosition final : public API::Algorithm {
49public:
51 const std::string name() const override { return "FindCenterOfMassPosition"; }
53 const std::string summary() const override { return "Finds the beam center in a 2D SANS data set."; }
54
56 int version() const override { return (1); }
58 const std::string category() const override { return "SANS"; }
59
60private:
62 void init() override;
64 void exec() override;
65};
66
67} // namespace Algorithms
68} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
const std::string name() const override
Algorithm's name.
int version() const override
Algorithm's version.
const std::string summary() const override
Summary of algorithms purpose.
const std::string category() const override
Algorithm's category for identification.
Helper class which provides the Collimation Length for SANS instruments.