10#include "MantidCrystal/DllConfig.h"
26 const std::string
name()
const override {
return "CentroidPeaks"; };
28 const std::string
summary()
const override {
29 return "Find the centroid of single-crystal peaks in a 2D Workspace, in "
30 "order to refine their positions.";
34 int version()
const override {
return 1; };
35 const std::vector<std::string>
seeAlso()
const override {
return {
"CentroidPeaksMD",
"PeakIntegration"}; }
37 const std::string
category()
const override {
return "Crystal\\Peaks"; }
45 void integrateEvent();
46 int findPixelID(
const std::string &bankName,
int col,
int row);
48 void sizeBanks(
const std::string &bankName,
int &nCols,
int &nRows);
Base class from which all concrete algorithm classes should be derived.
Find the centroid of single-crystal peaks in a 2D Workspace, in order to refine their positions.
int version() const override
Algorithm's version for identification.
const std::string name() const override
Algorithm's name for identification.
const std::string category() const override
Algorithm's category for identification.
API::MatrixWorkspace_sptr inWS
Input 2D Workspace.
Mantid::detid2index_map wi_to_detid_map
Geometry::Instrument_const_sptr inst
const std::string summary() const override
Summary of algorithms purpose.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
DataObjects::EventWorkspace_const_sptr eventW
The class PeaksWorkspace stores information about a set of SCD peaks.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
std::shared_ptr< const EventWorkspace > EventWorkspace_const_sptr
shared pointer to a const Workspace2D
std::shared_ptr< const Instrument > Instrument_const_sptr
Shared pointer to an const instrument object.
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.