Mantid
Loading...
Searching...
No Matches
OptimizeCrystalPlacement.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2012 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/*
8 * OptimizeCrystalPlacement.h
9 *
10 * Created on: Jan 26, 2013
11 * Author: ruth
12 */
13
14#pragma once
15
16#include "MantidAPI/Algorithm.h"
17#include "MantidCrystal/DllConfig.h"
18
19namespace Mantid {
20namespace Crystal {
21
33class MANTID_CRYSTAL_DLL OptimizeCrystalPlacement final : public API::Algorithm {
34public:
35 const std::string name() const override { return "OptimizeCrystalPlacement"; };
37 const std::string summary() const override {
38 return "This algorithm optimizes goniometer settings and sample "
39 "orientation to better index the peaks.";
40 }
41
42 int version() const override { return 1; };
43
44 const std::string category() const override { return "Crystal\\Corrections"; };
45
46private:
47 void init() override;
48
49 void exec() override;
50};
51} // namespace Crystal
52} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
const std::string summary() const override
Summary of algorithms purpose.
int version() const override
function to return a version of the algorithm, must be overridden in all algorithms
const std::string category() const override
function to return a category of the algorithm.
const std::string name() const override
function to return a name of the algorithm, must be overridden in all algorithms
Helper class which provides the Collimation Length for SANS instruments.