Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Mantid::Crystal::HardThresholdBackground Class Reference

HardThresholdBackground : Implementation of BackgroundStrategy using a fixed background signal value as the threshold. More...

#include <HardThresholdBackground.h>

Inheritance diagram for Mantid::Crystal::HardThresholdBackground:
Mantid::Crystal::BackgroundStrategy Mantid::Crystal::PeakBackground

Public Member Functions

HardThresholdBackgroundclone () 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 BackgroundStrategyclone () 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...
 

Detailed Description

HardThresholdBackground : Implementation of BackgroundStrategy using a fixed background signal value as the threshold.

Definition at line 19 of file HardThresholdBackground.h.

Constructor & Destructor Documentation

◆ HardThresholdBackground()

Mantid::Crystal::HardThresholdBackground::HardThresholdBackground ( const double  thresholdSignal,
const Mantid::API::MDNormalization  normalization 
)

Contructor.

Constructor.

Definition at line 15 of file HardThresholdBackground.cpp.

Member Function Documentation

◆ clone()

HardThresholdBackground * Mantid::Crystal::HardThresholdBackground::clone ( ) const
overridevirtual

Virtual constructor.

Implements Mantid::Crystal::BackgroundStrategy.

Reimplemented in Mantid::Crystal::PeakBackground.

Definition at line 19 of file HardThresholdBackground.cpp.

◆ configureIterator()

void Mantid::Crystal::HardThresholdBackground::configureIterator ( Mantid::API::IMDIterator *const  iterator) const
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().

◆ isBackground()

bool Mantid::Crystal::HardThresholdBackground::isBackground ( Mantid::API::IMDIterator iterator) const
overridevirtual

Member Data Documentation

◆ m_normalization

Mantid::API::MDNormalization Mantid::Crystal::HardThresholdBackground::m_normalization
private

Normalization.

Definition at line 37 of file HardThresholdBackground.h.

Referenced by configureIterator().

◆ m_thresholdSignal

double Mantid::Crystal::HardThresholdBackground::m_thresholdSignal
private

Cutoff.

Definition at line 35 of file HardThresholdBackground.h.

Referenced by isBackground().


The documentation for this class was generated from the following files: