10#include "MantidCrystal/DllConfig.h"
28 const std::string
name()
const override {
return "LoadIsawPeaks"; }
31 const std::string
summary()
const override {
return "Load an ISAW-style .peaks file into a PeaksWorkspace."; }
34 int version()
const override {
return 1; }
35 const std::vector<std::string>
seeAlso()
const override {
return {
"SaveIsawPeaks"}; }
38 const std::string
category()
const override {
return "Crystal\\DataHandling;DataHandling\\Isaw"; }
46 std::vector<double> m_offset1 = {0.0, 0.0, 0.0};
47 std::vector<double> m_offset2 = {0.0, 0.0, 0.0};
48 std::vector<double> m_offset3 = {0.0, 0.0, 0.0};
61 int &seqNum,
const std::string &bankName,
double qSign);
66 std::string readPeakBlockHeader(std::string lastStr, std::ifstream &in,
int &run,
int &detName,
double &chi,
67 double &phi,
double &omega,
double &monCount);
77 std::map<std::string, std::shared_ptr<const Geometry::IComponent>>
m_banks;
80 std::shared_ptr<const Geometry::IComponent>
81 getCachedBankByName(
const std::string &bankname,
const std::shared_ptr<const Geometry::Instrument> &inst);
Defines an interface to an algorithm that loads a file so that it can take part in the automatic sele...
Load an ISAW-style .peaks or .integrate file into a PeaksWorkspace.
const std::string category() const override
Algorithm's category for identification.
const std::string name() const override
Algorithm's name for identification.
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.
bool m_isModulatedStructure
Flag for reading modulated structures.
const std::string summary() const override
Summary of algorithms purpose.
std::map< std::string, std::shared_ptr< const Geometry::IComponent > > m_banks
Local cache of bank IComponents used in file.
Structure describing a single-crystal peak.
Defines a wrapper around an open file.
std::shared_ptr< PeaksWorkspace > PeaksWorkspace_sptr
Typedef for a shared pointer to a peaks workspace.
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.