Mantid
Loading...
Searching...
No Matches
PointByPointVCorrection.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2009 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 {
23class MANTID_ALGORITHMS_DLL PointByPointVCorrection final : public API::Algorithm {
24public:
28 const std::string name() const override { return "PointByPointVCorrection"; }
30 const std::string summary() const override {
31 return "Spectrum by spectrum division for vanadium normalisation "
32 "correction.";
33 }
34
36 int version() const override { return 1; }
38 const std::string category() const override {
39 return "Diffraction\\Corrections;CorrectionFunctions\\SpecialCorrections";
40 }
41
42private:
43 // Overridden Algorithm methods
44 void init() override;
45 void exec() override;
48 void check_masks(const API::MatrixWorkspace_const_sptr &w1, const API::MatrixWorkspace_const_sptr &w2,
49 const int &index) const;
50};
51
52} // namespace Algorithms
53} // namespace Mantid
std::map< DeltaEMode::Type, std::string > index
Definition: DeltaEMode.cpp:19
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
First attempt at spectrum by spectrum division for vanadium normalisation correction.
const std::string summary() const override
Summary of algorithms purpose.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
int version() const override
Algorithm's version for identification overriding a virtual method.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
std::shared_ptr< const MatrixWorkspace > MatrixWorkspace_const_sptr
shared pointer to the matrix workspace base class (const version)
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.