Mantid
Loading...
Searching...
No Matches
LoadHKL.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
10#include "MantidCrystal/DllConfig.h"
12#include <gsl/gsl_blas.h>
13#include <gsl/gsl_poly.h>
14
15namespace Mantid {
16namespace Crystal {
17
24class MANTID_CRYSTAL_DLL LoadHKL final : public API::Algorithm {
25public:
27 const std::string name() const override { return "LoadHKL"; };
29 const std::string summary() const override { return "Loads an ASCII .hkl file to a PeaksWorkspace."; }
30
32 int version() const override { return 1; };
33 const std::vector<std::string> seeAlso() const override { return {"SaveHKL"}; }
35 const std::string category() const override { return "Crystal\\DataHandling;DataHandling\\Text"; }
36
37private:
39 void init() override;
41 void exec() override;
42};
43
44} // namespace Crystal
45} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
LoadHKL : Load an ISAW-style .hkl file into a PeaksWorkspace.
Definition: LoadHKL.h:24
const std::string category() const override
Algorithm's category for identification.
Definition: LoadHKL.h:35
int version() const override
Algorithm's version for identification.
Definition: LoadHKL.h:32
const std::string summary() const override
Summary of algorithms purpose.
Definition: LoadHKL.h:29
const std::string name() const override
Algorithm's name for identification.
Definition: LoadHKL.h:27
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
Definition: LoadHKL.h:33
Helper class which provides the Collimation Length for SANS instruments.