Mantid
Loading...
Searching...
No Matches
ApplyTransmissionCorrection.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 {
51class MANTID_ALGORITHMS_DLL ApplyTransmissionCorrection final : public API::Algorithm {
52public:
54 const std::string name() const override { return "ApplyTransmissionCorrection"; }
56 const std::string summary() const override { return "Apply a transmission correction to 2D SANS data."; }
57
59 int version() const override { return (1); }
60 const std::vector<std::string> seeAlso() const override {
61 return {"CalculateTransmission", "CalculateTransmissionBeamSpreader"};
62 }
64 const std::string category() const override { return "SANS;CorrectionFunctions\\TransmissionCorrections"; }
65
66private:
68 void init() override;
70 std::map<std::string, std::string> validateInputs() override;
72 void exec() override;
73};
74
75} // namespace Algorithms
76} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Apply angle-dependent transmission correction from zero-angle transmission measurement.
const std::string category() const override
Algorithm's category for identification.
int version() const override
Algorithm's version.
const std::string name() const override
Algorithm's name.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
const std::string summary() const override
Summary of algorithms purpose.
Helper class which provides the Collimation Length for SANS instruments.