Mantid
Loading...
Searching...
No Matches
NormaliseVanadium.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 "MantidCrystal/DllConfig.h"
15
16namespace Mantid {
17namespace Crystal {
18const double radtodeg_half = 180.0 / M_PI / 2.;
33class MANTID_CRYSTAL_DLL NormaliseVanadium final : public API::Algorithm {
34public:
38 const std::string name() const override { return "NormaliseVanadium"; }
40 const std::string summary() const override { return "Normalises all spectra to a specified wavelength."; }
41
43 int version() const override { return 1; }
45 const std::string category() const override {
46 return "Crystal\\Corrections;CorrectionFunctions\\NormalisationCorrections";
47 }
48
49protected:
56
57protected:
59 void init() override;
61 void exec() override;
62};
63
64} // namespace Crystal
65} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Calculates anvred correction factors for attenuation due to absorption and scattering in a spherical ...
API::MatrixWorkspace_sptr m_inputWS
A virtual function in which additional properties of an algorithm should be declared.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
const std::string summary() const override
Summary of algorithms purpose.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
int version() const override
Algorithm's version for identification overriding a virtual method.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
const double radtodeg_half
Helper class which provides the Collimation Length for SANS instruments.