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#include "MantidKernel/V3D.h"
15
16namespace Mantid {
17namespace Crystal {
18
25class MANTID_CRYSTAL_DLL CountReflections final : public API::Algorithm {
26public:
27 const std::string name() const override;
28 int version() const override;
29 const std::vector<std::string> seeAlso() const override { return {"PredictPeaks", "SortHKL"}; }
30 const std::string category() const override;
31 const std::string summary() const override;
32
33private:
34 void init() override;
35 void exec() override;
36
37 DataObjects::PeaksWorkspace_sptr getPeaksWorkspace(const DataObjects::PeaksWorkspace_sptr &templateWorkspace,
39 const Geometry::PointGroup_sptr &pointGroup) const;
40};
41
42} // namespace Crystal
43} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
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:67
Helper class which provides the Collimation Length for SANS instruments.