Mantid
Loading...
Searching...
No Matches
HRPDSlabCanAbsorption.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2010 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 {
55class MANTID_ALGORITHMS_DLL HRPDSlabCanAbsorption final : public API::Algorithm {
56public:
58 const std::string name() const override { return "HRPDSlabCanAbsorption"; }
60 const std::string summary() const override {
61 return "Calculates attenuation due to absorption and scattering in an HRPD "
62 "'slab' can.";
63 }
64
66 int version() const override { return (1); }
67 const std::vector<std::string> seeAlso() const override { return {"AbsorptionCorrection"}; }
69 const std::string category() const override { return "CorrectionFunctions\\AbsorptionCorrections"; }
70
71private:
73 void init() override;
75 void exec() override;
76
78 API::MatrixWorkspace_sptr runFlatPlateAbsorption();
79};
80
81} // namespace Algorithms
82} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Calculates attenuation due to absorption and scattering in an HRPD 'slab' can.
int version() const override
Algorithm's version.
const std::string category() const override
Algorithm's category for identification.
const std::string summary() const override
Summary of algorithms purpose.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
const std::string name() const override
Algorithm's name.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.