Mantid
Loading...
Searching...
No Matches
BackgroundStrategy.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
9namespace Mantid {
10namespace API {
11class IMDIterator;
12}
13namespace Crystal {
18public:
19 virtual bool isBackground(Mantid::API::IMDIterator *const iterator) const = 0;
20 virtual void configureIterator(Mantid::API::IMDIterator *const iterator) const = 0;
21 virtual BackgroundStrategy *clone() const = 0;
22 virtual ~BackgroundStrategy() = default;
23};
24} // namespace Crystal
25} // 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...
virtual void configureIterator(Mantid::API::IMDIterator *const iterator) const =0
virtual BackgroundStrategy * clone() const =0
virtual bool isBackground(Mantid::API::IMDIterator *const iterator) const =0
Helper class which provides the Collimation Length for SANS instruments.