Mantid
Loading...
Searching...
No Matches
LorentzCorrection.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2014 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"
11
12namespace Mantid {
13namespace Algorithms {
14
18class MANTID_ALGORITHMS_DLL LorentzCorrection final : public API::Algorithm {
19public:
20 const std::string name() const override;
21 int version() const override;
22 const std::vector<std::string> seeAlso() const override { return {"AnvredCorrection"}; }
23 const std::string category() const override;
24 const std::string summary() const override;
25 std::map<std::string, std::string> validateInputs() override;
26
27private:
28 void init() override;
29 void exec() override;
30 void processTOF_SCD(Mantid::API::MatrixWorkspace_sptr &wksp, Mantid::API::Progress &prog);
31 void processTOF_PD(Mantid::API::MatrixWorkspace_sptr &wksp, Mantid::API::Progress &prog);
32};
33
34} // namespace Algorithms
35} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Helper class for reporting progress from algorithms.
Definition: Progress.h:25
LorentzCorrection : Algorithm Performs a lorentz correction (sin(theta)^2)/(wavelength^4) on a Matrix...
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.