10#include "MantidCrystal/DllConfig.h"
25 const std::string
name()
const override {
return "SaveHKL"; }
27 const std::string
summary()
const override {
return "Save a PeaksWorkspace to a ASCII .hkl file."; }
30 int version()
const override {
return 1; }
31 const std::vector<std::string>
seeAlso()
const override {
return {
"LoadHKL",
"SaveHKLCW"}; }
33 const std::string
category()
const override {
return "Crystal\\DataHandling;DataHandling\\Text"; }
41 double absorbSphere(
double radius,
double twoth,
double wl,
double &tbar);
42 double spectrumCalc(
double TOF,
int iSpec,
const std::vector<std::vector<double>> &time,
43 const std::vector<std::vector<double>> &spectra,
size_t id);
44 void sizeBanks(
const std::string &bankName,
int &nCols,
int &nRows);
49 double m_power_th = 0.0;
Base class from which all concrete algorithm classes should be derived.
Save a PeaksWorkspace to a Gsas-style ASCII .hkl file.
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....
const std::string category() const override
Algorithm's category for identification.
DataObjects::PeaksWorkspace_sptr m_ws
int version() const override
Algorithm's version for identification.
const std::string name() const override
Algorithm's name for identification.
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.