Mantid
Loading...
Searching...
No Matches
ChopData.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 {
23class MANTID_ALGORITHMS_DLL ChopData final : public API::Algorithm {
24public:
25 const std::string name() const override { return "ChopData"; }
26 const std::string category() const override { return "Transforms\\Splitting"; }
27 int version() const override { return (1); }
28
29 const std::vector<std::string> seeAlso() const override { return {"ExtractSpectra"}; }
31 const std::string summary() const override {
32 return "Splits an input workspace into a grouped workspace, where each "
33 "spectra "
34 "if 'chopped' at a certain point (given in 'Step' input value) "
35 "and the X values adjusted to give all the workspace in the group "
36 "the same binning.";
37 }
38
39private:
40 void init() override;
41 void exec() override;
42};
43} // namespace Algorithms
44} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
For use in TOSCA reduction.
Definition: ChopData.h:23
const std::string summary() const override
Algorithm's summary.
Definition: ChopData.h:31
const std::string category() const override
Definition: ChopData.h:26
const std::string name() const override
Definition: ChopData.h:25
int version() const override
Definition: ChopData.h:27
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
Definition: ChopData.h:29
Helper class which provides the Collimation Length for SANS instruments.