Mantid
Loading...
Searching...
No Matches
ParallaxCorrection.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 "MantidAlgorithms/DllConfig.h"
11
12namespace Mantid {
13namespace Algorithms {
14
18class MANTID_ALGORITHMS_DLL ParallaxCorrection final : public API::Algorithm {
19public:
20 const std::string name() const override;
21 int version() const override;
22 const std::string category() const override;
23 const std::string summary() const override;
24
25private:
26 void init() override;
27 void exec() override;
28 std::map<std::string, std::string> validateInputs() override;
29 void performCorrection(const API::MatrixWorkspace_sptr &, const std::vector<size_t> &, const std::string &,
30 const std::string &, const double);
31};
32
33} // namespace Algorithms
34} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
ParallaxCorrection : Performs geometrical correction for parallax effect in tube based SANS instrumen...
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.