10#include "MantidCrystal/DllConfig.h"
26 const std::string
name()
const override {
return "SaveHKL"; }
28 const std::string
summary()
const override {
return "Save a PeaksWorkspace to a ASCII .hkl file."; }
31 int version()
const override {
return 1; }
32 const std::vector<std::string>
seeAlso()
const override {
return {
"LoadHKL",
"SaveHKLCW"}; }
34 const std::string
category()
const override {
return "Crystal\\DataHandling;DataHandling\\Text"; }
42 double absorbSphere(
double radius,
double twoth,
double wl,
double &tbar);
43 double spectrumCalc(
double TOF,
int iSpec, std::vector<std::vector<double>> time,
44 std::vector<std::vector<double>> spectra,
size_t id);
45 void sizeBanks(
const std::string &bankName,
int &nCols,
int &nRows);
50 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.