Mantid
Loading...
Searching...
No Matches
SignalOverError.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2011 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"
12
13namespace Mantid {
14namespace Algorithms {
15
20class MANTID_ALGORITHMS_DLL SignalOverError : public UnaryOperation {
21public:
23
24 const std::string name() const override;
26 const std::string summary() const override { return "Replace Y by Y/E for a MatrixWorkspace"; }
27
28 int version() const override;
29 const std::string category() const override;
30
31private:
32 // Overridden UnaryOperation methods
33 void performUnaryOperation(const double XIn, const double YIn, const double EIn, double &YOut, double &EOut) override;
34};
35
36} // namespace Algorithms
37} // namespace Mantid
Calculate Y/E for a Workspace2D.
const std::string summary() const override
Summary of algorithms purpose.
UnaryOperation supports the implementation of a Unary operation on an input workspace.
Helper class which provides the Collimation Length for SANS instruments.