Mantid
Loading...
Searching...
No Matches
MayersSampleCorrection.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2015 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"
11namespace Mantid {
12namespace Algorithms {
13
19class MANTID_ALGORITHMS_DLL MayersSampleCorrection final : public API::Algorithm {
20public:
22
23 const std::string name() const override;
24 int version() const override;
25 const std::string category() const override;
26 const std::string summary() const override;
27 const std::vector<std::string> seeAlso() const override {
28 return {"MonteCarloAbsorption", "CarpenterSampleCorrection"};
29 }
30
31private:
32 void init() override;
33 void exec() override;
34
35 Kernel::IValidator_sptr createInputWSValidator() const;
36};
37
38} // namespace Algorithms
39} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Corrects for the effects of absorption and multiple scattering using the algorithm of Jerry Mayers.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
std::shared_ptr< IValidator > IValidator_sptr
A shared_ptr to an IValidator.
Definition: IValidator.h:26
Helper class which provides the Collimation Length for SANS instruments.