Mantid
Loading...
Searching...
No Matches
CountReflections.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2017 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"
14
15namespace Mantid {
16namespace Crystal {
17
24class MANTID_CRYSTAL_DLL CountReflections final : public API::Algorithm {
25public:
26 const std::string name() const override;
27 int version() const override;
28 const std::vector<std::string> seeAlso() const override { return {"PredictPeaks", "SortHKL"}; }
29 const std::string category() const override;
30 const std::string summary() const override;
31
32private:
33 void init() override;
34 void exec() override;
35
36 DataObjects::PeaksWorkspace_sptr getPeaksWorkspace(const DataObjects::PeaksWorkspace_sptr &templateWorkspace,
38 const Geometry::PointGroup_sptr &pointGroup) const;
39};
40
41} // namespace Crystal
42} // namespace Mantid
std::string name
Definition Run.cpp:60
Base class from which all concrete algorithm classes should be derived.
Definition Algorithm.h:76
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
This class computes all possible unique reflections within the specified d-limits,...
std::shared_ptr< PeaksWorkspace > PeaksWorkspace_sptr
Typedef for a shared pointer to a peaks workspace.
std::shared_ptr< PointGroup > PointGroup_sptr
Shared pointer to a PointGroup.
Definition PointGroup.h:69
Helper class which provides the Collimation Length for SANS instruments.