13#include "MantidCrystal/DllConfig.h"
30 const std::string
name()
const override {
return "MaskPeaksWorkspace"; }
32 int version()
const override {
return 1; }
33 const std::vector<std::string>
seeAlso()
const override {
return {
"CreatePeaksWorkspace"}; }
35 const std::string
category()
const override {
return "Crystal\\Peaks"; }
38 const std::string
summary()
const override {
return "Masks a peaks workspace."; }
48 void getTofRange(
double &tofMin,
double &tofMax,
const double tofPeak,
const HistogramData::HistogramX &tof);
49 int findPixelID(
const std::string &bankName,
int col,
int row);
52 void retrieveProperties();
Base class from which all concrete algorithm classes should be derived.
Find the offsets for each detector.
double m_tofMin
The start of the box around the peak in tof.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
int m_xMin
The start of the X range for fitting.
int m_yMax
The end of the Y range for fitting.
int version() const override
Algorithm's version for identification overriding a virtual method.
double m_tofMax
The end of the box around the peak in tof.
const std::string summary() const override
Summary of algorithms purpose.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
API::MatrixWorkspace_sptr m_inputW
A pointer to the input workspace.
int m_xMax
The end of the X range for fitting.
int m_yMin
The start of the Y range for fitting.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
std::shared_ptr< const IComponent > IComponent_const_sptr
Typdef of a shared pointer to a const IComponent.
Helper class which provides the Collimation Length for SANS instruments.
std::unordered_map< detid_t, size_t > detid2index_map
Map with key = detector ID, value = workspace index.