Mantid
Loading...
Searching...
No Matches
GenerateGoniometerIndependentBackground.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2023 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 {
14namespace Algorithms {
15
18class MANTID_ALGORITHMS_DLL GenerateGoniometerIndependentBackground : public API::Algorithm {
19public:
20 const std::string name() const override;
21 int version() const override;
22 const std::string category() const override;
23 const std::string summary() const override;
24 std::map<std::string, std::string> validateInputs() override;
25
26private:
27 void init() override;
28 void exec() override;
29 template <class T>
30 void filterAndAddEvents(const std::vector<T> &events, Mantid::DataObjects::EventList &outSpec,
31 const Mantid::API::EventType eventType, const double start, const double end);
32};
33} // namespace Algorithms
34} // namespace Mantid
std::string name
Definition Run.cpp:60
Base class from which all concrete algorithm classes should be derived.
Definition Algorithm.h:76
GenerateGoniometerIndependentBackground : TODO: DESCRIPTION.
A class for holding :
Definition EventList.h:57
EventType
What kind of event list is being stored.
Definition IEventList.h:18
Helper class which provides the Collimation Length for SANS instruments.