Mantid
Loading...
Searching...
No Matches
ConvertToDiffractionMDWorkspace3.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
11namespace Mantid {
12namespace MDAlgorithms {
13
24class MANTID_MDALGORITHMS_DLL ConvertToDiffractionMDWorkspace3
26public:
28 int version() const override { return 3; }
29 const std::vector<std::string> seeAlso() const override { return {"ConvertToMD", "SetSpecialCoordinates"}; }
30
31private:
32 void init() override;
33
34private:
35 // method to covnert extents to the properties of ConvertMD
36 void convertExtents(const std::vector<double> &Extents, std::vector<double> &minVal,
37 std::vector<double> &maxVal) override;
38
39 // method to calculate the extents of the data from the input workspace
40 void calculateExtentsFromData(std::vector<double> &minVal, std::vector<double> &maxVal);
41};
42
43} // namespace MDAlgorithms
44} // namespace Mantid
ConvertToDiffractionMDWorkspace3 : Create a MDEventWorkspace with events in reciprocal space (Qx,...
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
int version() const override
Algorithm's version for identification.
Helper class which provides the Collimation Length for SANS instruments.