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::DistributedAlgorithm {
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
Base class for algorithms that treat all spectra independently, i.e., we can trivially parallelize ov...
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.