Mantid
Loading...
Searching...
No Matches
CropToComponent.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2016 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
17class MANTID_ALGORITHMS_DLL CropToComponent final : public API::DistributedAlgorithm {
18public:
19 const std::string name() const override final;
20 int version() const override final;
21 const std::vector<std::string> seeAlso() const override { return {"CropWorkspace"}; }
22 const std::string category() const override final;
23 const std::string summary() const override final;
24
25protected:
26 std::map<std::string, std::string> validateInputs() override;
27
28private:
29 void init() override final;
30 void exec() override final;
31};
32
33} // namespace Algorithms
34} // namespace Mantid
Base class for algorithms that treat all spectra independently, i.e., we can trivially parallelize ov...
CropToComponent : Crops a workspace to a set of components.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
Helper class which provides the Collimation Length for SANS instruments.
STL namespace.