Mantid
Loading...
Searching...
No Matches
FilterByXValue.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2013 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
21class MANTID_ALGORITHMS_DLL FilterByXValue final : public API::Algorithm {
22public:
23 const std::string name() const override;
25 const std::string summary() const override { return "Filters events according to a min and/or max value of X."; }
26
27 int version() const override;
28 const std::vector<std::string> seeAlso() const override {
29 return {"FilterByTime", "FilterByLogValue", "FilterBadPulses"};
30 }
31 const std::string category() const override;
32
33 std::map<std::string, std::string> validateInputs() override;
34
35private:
36 void init() override;
37 void exec() override;
38};
39
40} // namespace Algorithms
41} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Filters the events in an event workspace according to a minimum and/or maximum value of X.
const std::string summary() const override
Summary of algorithms purpose.
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.