Mantid
Loading...
Searching...
No Matches
SetUncertainties.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
10#include "MantidAlgorithms/DllConfig.h"
11
12namespace Mantid {
13namespace Algorithms {
24class MANTID_ALGORITHMS_DLL SetUncertainties : public API::ParallelAlgorithm {
25public:
27 const std::string name() const override;
29 const std::string summary() const override {
30 return "This algorithm creates a workspace which is the duplicate of the "
31 "input, but where the error value for every bin has been set to "
32 "zero.";
33 }
34
36 int version() const override;
37
39 const std::string category() const override { return "Arithmetic\\Errors"; }
40
41private:
43 void init() override;
45 void exec() override;
46};
47
48} // namespace Algorithms
49} // namespace Mantid
Base class for algorithms that can run in parallel on all MPI ranks but not in a distributed fashion.
Set the uncertainties of the data to zero.
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.
Helper class which provides the Collimation Length for SANS instruments.