Mantid
Loading...
Searching...
No Matches
CalculatePlaczekSelfScattering2.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2021 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
11#include "MantidAlgorithms/DllConfig.h"
12
13namespace Mantid {
14namespace Algorithms {
15
18class MANTID_ALGORITHMS_DLL CalculatePlaczekSelfScattering2 final : public API::Algorithm {
19public:
21 virtual const std::string name() const override { return "CalculatePlaczekSelfScattering"; }
22 virtual int version() const override { return (2); }
23 const std::vector<std::string> seeAlso() const override { return {"FitIncidentSpectrum", "CalculatePlaczek"}; }
24 const std::string category() const override { return "CorrectionFunctions"; };
25 const std::string summary() const override {
26 return "Calculates the Placzek self scattering correction of an incident "
27 "spectrum";
28 };
29
30private:
31 void init() override;
32 void exec() override;
33};
34
35} // namespace Algorithms
36} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
CalculatePlaczekSelfScattering2 : TODO: DESCRIPTION.
const std::string summary() const override
function returns a summary message that will be displayed in the default GUI, and in the help.
const std::string category() const override
function to return a category of the algorithm.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
virtual int version() const override
function to return a version of the algorithm, must be overridden in all algorithms
virtual const std::string name() const override
function to return a name of the algorithm, must be overridden in all algorithms
Helper class which provides the Collimation Length for SANS instruments.