Mantid
Loading...
Searching...
No Matches
FilterBadPulses.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2008 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"
12
13namespace Mantid {
14
15namespace Algorithms {
16
33class MANTID_ALGORITHMS_DLL FilterBadPulses : public API::Algorithm {
34public:
35 const std::string name() const override;
37 const std::string summary() const override {
38 return "Filters out events associated with pulses that happen when proton "
39 "charge is lower than a given percentage of the average.";
40 }
41
42 int version() const override;
43 const std::vector<std::string> seeAlso() const override { return {"FilterByTime", "FilterByLogValue"}; }
44
45 const std::string category() const override;
46
47private:
48 // Implement abstract Algorithm methods
49 void init() override;
50 void exec() override;
51};
52
53} // namespace Algorithms
54} // namespace Mantid
std::string name
Definition Run.cpp:60
Base class from which all concrete algorithm classes should be derived.
Definition Algorithm.h:76
Filters out events associated with pulses that happen when proton charge is lower than a given percen...
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
const std::string summary() const override
Summary of algorithms purpose.
Helper class which provides the Collimation Length for SANS instruments.