Mantid
Loading...
Searching...
No Matches
RemoveMaskedSpectra.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2015 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 RemoveMaskedSpectra final : public API::Algorithm {
18public:
19 const std::string name() const override;
20 int version() const override;
21 const std::vector<std::string> seeAlso() const override { return {"ExtractUnmaskedSpectra"}; }
22 const std::string category() const override;
23 const std::string summary() const override;
24
25private:
26 void init() override;
27 void exec() override;
28 void makeIndexList(std::vector<size_t> &indices, const API::MatrixWorkspace *maskedWorkspace);
29};
30
31} // namespace Algorithms
32} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Base MatrixWorkspace Abstract Class.
RemoveMaskedSpectra removes all masked spectra.
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.