Mantid
Loading...
Searching...
No Matches
FindEPP.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2017 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
12#include "MantidAlgorithms/DllConfig.h"
13
14namespace Mantid {
15namespace Algorithms {
16
20class MANTID_ALGORITHMS_DLL FindEPP final : public API::Algorithm {
21public:
22 const std::string name() const override;
23 int version() const override;
24 const std::string category() const override;
25 const std::string summary() const override;
26
27private:
28 void init() override;
29 void exec() override;
30 void fitGaussian(int64_t);
31 void initWorkspace();
32
35 std::unique_ptr<Mantid::API::Progress> m_progress;
36};
37
38} // namespace Algorithms
39} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Performs Gaussian fits over each spectrum to find the Elastic Peak Position (EPP).
Definition: FindEPP.h:20
Mantid::API::ITableWorkspace_sptr m_outWS
Definition: FindEPP.h:34
Mantid::API::MatrixWorkspace_sptr m_inWS
Definition: FindEPP.h:33
std::unique_ptr< Mantid::API::Progress > m_progress
Definition: FindEPP.h:35
std::shared_ptr< ITableWorkspace > ITableWorkspace_sptr
shared pointer to Mantid::API::ITableWorkspace
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.