16#include "MantidMDAlgorithms/DllConfig.h"
22namespace MDAlgorithms {
32 const std::string
name()
const override {
return "IntegratePeaksMD"; };
34 const std::string
summary()
const override {
35 return "Integrate single-crystal peaks in reciprocal space, for "
36 "MDEventWorkspaces. \n\n"
37 "Sphere is the default shape: tick Ellipsoid or Cylinder "
42 int version()
const override {
return 2; };
43 const std::vector<std::string>
seeAlso()
const override {
44 return {
"CentroidPeaksMD",
"IntegratePeaksHybrid",
"IntegratePeaksMDHKL",
"IntegratePeaksUsingClusters",
45 "IntegratePeaksCWSD"};
48 const std::string
category()
const override {
return "MDAlgorithms\\Peaks;Crystal\\Integration"; }
56 std::map<std::string, std::string> validateInputs()
override;
65 template <
typename MDE,
size_t nd>
68 const coord_t &radiusSquared,
const bool &qAxisBool,
const bool &useCentroid,
69 const double &bgDensity, std::vector<Mantid::Kernel::V3D> &eigenvects,
72 void calcCovar(
const std::vector<std::pair<Mantid::Kernel::V3D, double>> &peak_events,
const Mantid::Kernel::V3D &pos,
73 const coord_t &radiusSquared,
const bool &qAxisIsFixed,
const bool &useCentroid,
74 std::vector<Mantid::Kernel::V3D> &eigenvects, std::vector<double> &eigenvals,
84 const std::string &values);
Base class from which all concrete algorithm classes should be derived.
std::shared_ptr< MDEventWorkspace< MDE, nd > > sptr
Typedef for a shared pointer of this kind of event workspace.
Geometry::DetectorInfo is an intermediate step towards a DetectorInfo that is part of Instrument-2....
Integrate single-crystal peaks in reciprocal-space.
std::vector< Kernel::V3D > E1Vec
save for all detector pixels
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
int version() const override
Algorithm's version for identification.
const std::string summary() const override
Summary of algorithms purpose.
Mantid::API::IMDEventWorkspace_sptr inWS
Input MDEventWorkspace.
const std::string name() const override
Algorithm's name for identification.
const std::string category() const override
Algorithm's category for identification.
std::shared_ptr< IMDEventWorkspace > IMDEventWorkspace_sptr
Shared pointer to Mantid::API::IMDEventWorkspace.
std::shared_ptr< IPeaksWorkspace > IPeaksWorkspace_sptr
shared pointer to Mantid::API::IPeaksWorkspace
std::shared_ptr< PeaksWorkspace > PeaksWorkspace_sptr
Typedef for a shared pointer to a peaks workspace.
SpecialCoordinateSystem
Special coordinate systems for Q3D.
Helper class which provides the Collimation Length for SANS instruments.
float coord_t
Typedef for the data type to use for coordinate axes in MD objects such as MDBox, MDEventWorkspace,...