Mantid
Loading...
Searching...
No Matches
HardThresholdBackground.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2014 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
11#include "MantidCrystal/DllConfig.h"
12
13namespace Mantid {
14namespace Crystal {
15
19class MANTID_CRYSTAL_DLL HardThresholdBackground : public BackgroundStrategy {
20public:
22 HardThresholdBackground(const double thresholdSignal, const Mantid::API::MDNormalization normalization);
23
25 bool isBackground(Mantid::API::IMDIterator *iterator) const override;
26
28 void configureIterator(Mantid::API::IMDIterator *const iterator) const override;
29
31 HardThresholdBackground *clone() const override;
32
33private:
38};
39
40} // namespace Crystal
41} // namespace Mantid
This is an interface to an iterator of an IMDWorkspace.
Definition: IMDIterator.h:39
BackgroundStrategy : Abstract class used for identifying elements of a IMDWorkspace that are not cons...
HardThresholdBackground : Implementation of BackgroundStrategy using a fixed background signal value ...
Mantid::API::MDNormalization m_normalization
Normalization.
MDNormalization
Enum describing different ways to normalize the signal in a MDWorkspace.
Definition: IMDIterator.h:25
Helper class which provides the Collimation Length for SANS instruments.