Mantid
Loading...
Searching...
No Matches
ChangePulsetime2.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 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 {
14
20class MANTID_ALGORITHMS_DLL ChangePulsetime2 final : public API::Algorithm {
21public:
23 const std::string name() const override { return "ChangePulsetime2"; };
25 const std::string summary() const override {
26 return "Adds a constant time value, in seconds, to the pulse time of "
27 "events in an EventWorkspace. ";
28 }
29
31 int version() const override { return 1; };
33 const std::string category() const override { return "Events;Transforms\\Axes"; }
34
35private:
37 void init() override;
39 void exec() override;
40};
41
42} // namespace Algorithms
43} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
ChangePulsetime : TODO: DESCRIPTION.
int version() const override
Algorithm's version for identification.
const std::string name() const override
Algorithm's name for identification.
const std::string summary() const override
Summary of algorithms purpose.
const std::string category() const override
Algorithm's category for identification.
Helper class which provides the Collimation Length for SANS instruments.