Mantid
|
HardThresholdBackground : Implementation of BackgroundStrategy using a fixed background signal value as the threshold. More...
#include <HardThresholdBackground.h>
Public Member Functions | |
HardThresholdBackground * | clone () const override |
Virtual constructor. More... | |
void | configureIterator (Mantid::API::IMDIterator *const iterator) const override |
Overriden configureIterator. More... | |
HardThresholdBackground (const double thresholdSignal, const Mantid::API::MDNormalization normalization) | |
Contructor. More... | |
bool | isBackground (Mantid::API::IMDIterator *iterator) const override |
Overriden isBackground. More... | |
Public Member Functions inherited from Mantid::Crystal::BackgroundStrategy | |
virtual BackgroundStrategy * | clone () const =0 |
virtual void | configureIterator (Mantid::API::IMDIterator *const iterator) const =0 |
virtual bool | isBackground (Mantid::API::IMDIterator *const iterator) const =0 |
virtual | ~BackgroundStrategy ()=default |
Private Attributes | |
Mantid::API::MDNormalization | m_normalization |
Normalization. More... | |
double | m_thresholdSignal |
Cutoff. More... | |
HardThresholdBackground : Implementation of BackgroundStrategy using a fixed background signal value as the threshold.
Definition at line 19 of file HardThresholdBackground.h.
Mantid::Crystal::HardThresholdBackground::HardThresholdBackground | ( | const double | thresholdSignal, |
const Mantid::API::MDNormalization | normalization | ||
) |
|
overridevirtual |
Virtual constructor.
Implements Mantid::Crystal::BackgroundStrategy.
Reimplemented in Mantid::Crystal::PeakBackground.
Definition at line 19 of file HardThresholdBackground.cpp.
|
overridevirtual |
Overriden configureIterator.
Implements Mantid::Crystal::BackgroundStrategy.
Reimplemented in Mantid::Crystal::PeakBackground.
Definition at line 21 of file HardThresholdBackground.cpp.
References m_normalization, and Mantid::API::IMDIterator::setNormalization().
|
overridevirtual |
Overriden isBackground.
Implements Mantid::Crystal::BackgroundStrategy.
Reimplemented in Mantid::Crystal::PeakBackground.
Definition at line 25 of file HardThresholdBackground.cpp.
References Mantid::API::IMDIterator::getNormalizedSignal(), and m_thresholdSignal.
Referenced by Mantid::Crystal::PeakBackground::isBackground().
|
private |
Normalization.
Definition at line 37 of file HardThresholdBackground.h.
Referenced by configureIterator().
|
private |