10#include "MantidDataHandling/DllConfig.h"
19namespace DataHandling {
43 const std::string
name()
const override {
return "MaskDetectors"; };
45 const std::string
summary()
const override {
46 return "An algorithm to mask a detector, or set of detectors, as not to be "
47 "used. The workspace spectra associated with those detectors are "
52 int version()
const override {
return 1; };
53 const std::vector<std::string>
seeAlso()
const override {
54 return {
"MaskDetectorsInShape",
"MaskDetectorsIf",
"MaskSpectra",
"MaskBTP",
"MaskAngle",
"InvertMask"};
57 const std::string
category()
const override {
return "Transforms\\Masking"; }
73 std::vector<size_t> &indexList,
const RangeInfo &rangeInfo);
78 std::vector<size_t> &indexList,
const RangeInfo &rangeInfo);
81 void fillIndexListFromSpectra(std::vector<size_t> &indexList, std::vector<Indexing::SpectrumNumber> spectraList,
83 void appendToDetectorListFromComponentList(std::vector<detid_t> &
detectorList,
84 const std::vector<std::string> &componentList,
87 const RangeInfo &range_info);
90 const std::tuple<size_t, size_t, bool> &range_info);
91 void appendToIndexListFromMaskWS(std::vector<size_t> &indexList,
93 const std::tuple<size_t, size_t, bool> &range_info);
95 void constrainMaskedIndexes(std::vector<size_t> &indexList,
const RangeInfo &range_info);
Base class from which all concrete algorithm classes should be derived.
An algorithm to mask a detector, or set of detectors.
const std::string workspaceMethodName() const override
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
std::tuple< size_t, size_t, bool > RangeInfo
const std::string workspaceMethodInputProperty() const override
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
int version() const override
Algorithm's version for identification overriding a virtual method.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
const std::string summary() const override
Summary of algorithms purpose.
std::shared_ptr< const MatrixWorkspace > MatrixWorkspace_const_sptr
shared pointer to the matrix workspace base class (const version)
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
std::shared_ptr< const MaskWorkspace > MaskWorkspace_const_sptr
shared pointer to a const MaskWorkspace
std::shared_ptr< PeaksWorkspace > PeaksWorkspace_sptr
Typedef for a shared pointer to a peaks workspace.
Helper class which provides the Collimation Length for SANS instruments.