Mantid
Loading...
Searching...
No Matches
MagFormFactorCorrection.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 {
32class MANTID_ALGORITHMS_DLL MagFormFactorCorrection final : public API::Algorithm {
33public:
35 const std::string name() const override { return "MagFormFactorCorrection"; }
37 const std::string summary() const override {
38 return "MagFormFactorCorrection corrects a workspace for the magnetic form "
39 "factor F(Q) by dividing S(Q,w) by F(Q)^2.";
40 }
41
43 int version() const override { return (1); }
44 const std::vector<std::string> seeAlso() const override { return {"SofQW"}; }
46 const std::string category() const override { return "CorrectionFunctions"; }
47
48private:
50 void init() override;
52 void exec() override;
53};
54
55} // namespace Algorithms
56} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
MagneticFormFactors scales the input workspace by the 1/F(Q) where F(Q) is the magnetic form factor f...
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
int version() const override
Algorithm's version.
const std::string category() const override
Algorithm's category for identification.
const std::string name() const override
Algorithm's name.
const std::string summary() const override
Summary of algorithms purpose.
Helper class which provides the Collimation Length for SANS instruments.