Mantid
Loading...
Searching...
No Matches
DepolarizedAnalyserTransmission.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2024 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::Algorithms {
14
15class MANTID_ALGORITHMS_DLL DepolarizedAnalyserTransmission : public API::Algorithm {
16public:
18 std::string const name() const override { return "DepolarizedAnalyserTransmission"; }
19
21 std::string const summary() const override;
22
24 std::string const category() const override { return "SANS\\PolarizationCorrections"; }
25
27 int version() const override { return 1; }
28
29private:
31 void init() override;
32
34 void exec() override;
35
37 std::map<std::string, std::string> validateInputs() override;
38
40 API::MatrixWorkspace_sptr calcDepolarizedProportion();
41
43 void calcWavelengthDependentTransmission(API::MatrixWorkspace_sptr const &inputWs, std::string const &outputWsName);
44
46};
47} // namespace Mantid::Algorithms
Base class from which all concrete algorithm classes should be derived.
Definition Algorithm.h:76
std::string const name() const override
The string identifier for the algorithm.
int version() const override
The version number of the algorithm.
std::string const category() const override
The category of the algorithm.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class