11#include "MantidCrystal/DllConfig.h"
32 const std::string
name()
const override {
return "PredictSatellitePeaks"; };
34 const std::string
summary()
const override {
35 return "The offsets can be from hkl values in a range of hkl values or "
36 "from peaks in the input PeaksWorkspace";
40 int version()
const override {
return 1; };
41 const std::vector<std::string>
seeAlso()
const override {
return {
"PredictPeaks"}; }
44 const std::string
category()
const override {
return "Crystal\\Peaks"; }
52 std::shared_ptr<Geometry::IPeak> createPeakForOutputWorkspace(
const Kernel::Matrix<double> &peakGoniometerMatrix,
55 void addPeakToOutputWorkspace(
const std::shared_ptr<Geometry::IPeak> &iPeak,
57 const Kernel::V3D &satelliteHKL,
const int runNumber,
58 std::vector<std::vector<int>> &alreadyDonePeaks,
const Kernel::V3D &mnp);
60 const size_t MAX_NUMBER_HKLS = 10000000000;
70 Kernel::V3D getOffsetVector(
const std::string &label);
72 void predictOffsets(
const int indexModulatedVector,
const Kernel::V3D &offsets,
const int maxOrder,
75 const bool includeOrderZero, std::vector<std::vector<int>> &alreadyDonePeaks);
78 const int maxOrder,
const int RunNumber,
81 const bool includeOrderZero, std::vector<std::vector<int>> &alreadyDonePeaks);
Base class from which all concrete algorithm classes should be derived.
PredictSatellitePeaks : Algorithm to create a PeaksWorkspace with peaks corresponding to fractional h...
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 summary() const override
Summary of algorithms purpose.
double m_qConventionFactor
const std::string name() const override
Algorithm's name for identification.
API::IPeaksWorkspace_sptr outPeaks
int version() const override
Algorithm's version for identification.
const std::string category() const override
Algorithm's category for identification.
API::IPeaksWorkspace_sptr Peaks
std::shared_ptr< IPeaksWorkspace > IPeaksWorkspace_sptr
shared pointer to Mantid::API::IPeaksWorkspace
Helper class which provides the Collimation Length for SANS instruments.