Mantid
Loading...
Searching...
No Matches
RemovePromptPulse.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2011 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 "MantidAPI/Run.h"
11#include "MantidAlgorithms/DllConfig.h"
12
13namespace Mantid {
14namespace Algorithms {
15
21class MANTID_ALGORITHMS_DLL RemovePromptPulse : public API::DistributedAlgorithm {
22public:
24 const std::string name() const override;
25
27 int version() const override;
28
30 const std::string category() const override;
31
33 const std::string summary() const override { return "Remove the prompt pulse for a time of flight measurement."; }
34
35private:
37
39 void init() override;
41 void exec() override;
43 double getFrequency(const API::Run &run);
44 std::vector<double> calculatePulseTimes(const double tmin, const double tmax, const double period);
45};
46
47} // namespace Algorithms
48} // namespace Mantid
Base class for algorithms that treat all spectra independently, i.e., we can trivially parallelize ov...
This class stores information regarding an experimental run as a series of log entries.
Definition: Run.h:38
RemovePromptPulse : TODO: DESCRIPTION.
const std::string summary() const override
Summary of algorithms purpose.
Helper class which provides the Collimation Length for SANS instruments.