Mantid
Loading...
Searching...
No Matches
ConvertToDiffractionMDWorkspace2.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 ConvertToDiffractionMDWorkspace2
26public:
28 int version() const override { return 2; }
29
30private:
31 void init() override;
32
33protected: // for testing
34 // method to convert the extents specified for the
35 // ConvertToDiffractionMDWorksapce into the min-max properties names of the
36 // ConvertToMD
37 void convertExtents(const std::vector<double> &Extents, std::vector<double> &minVal,
38 std::vector<double> &maxVal) override;
39};
40
41} // namespace MDAlgorithms
42} // namespace Mantid
ConvertToDiffractionMDWorkspace2 : Create a MDEventWorkspace with events in reciprocal space (Qx,...
int version() const override
Algorithm's version for identification.
Helper class which provides the Collimation Length for SANS instruments.