Mantid
Loading...
Searching...
No Matches
SaveLauenorm.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"
13
14namespace Mantid {
15namespace Crystal {
16
24class MANTID_CRYSTAL_DLL SaveLauenorm final : public API::Algorithm {
25public:
27 const std::string name() const override { return "SaveLauenorm"; };
29 const std::string summary() const override { return "Save a PeaksWorkspace to a ASCII file for each detector."; }
30
32 int version() const override { return 1; };
34 const std::string category() const override { return "Crystal\\DataHandling;DataHandling\\Text"; }
35
36private:
38 void init() override;
40 void exec() override;
41
43 void sizeBanks(const std::string &bankName, int &nCols, int &nRows);
44
45 const std::vector<std::string> m_typeList{"TRICLINIC", "MONOCLINIC", "ORTHORHOMBIC", "TETRAGONAL",
46 "HEXAGONAL", "RHOMBOHEDRAL", "CUBIC"};
47
48 const std::vector<std::string> m_centeringList{"P", "A", "B", "C", "I", "F", "R"};
49};
50
51} // namespace Crystal
52} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Save a PeaksWorkspace to a lauenorm format http://www.ccp4.ac.uk/cvs/viewvc.cgi/laue/doc/lauenorm....
Definition: SaveLauenorm.h:24
const std::string name() const override
Algorithm's name for identification.
Definition: SaveLauenorm.h:27
int version() const override
Algorithm's version for identification.
Definition: SaveLauenorm.h:32
const std::string category() const override
Algorithm's category for identification.
Definition: SaveLauenorm.h:34
DataObjects::PeaksWorkspace_sptr ws
Definition: SaveLauenorm.h:42
const std::string summary() const override
Summary of algorithms purpose.
Definition: SaveLauenorm.h:29
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.