Mantid
Loading...
Searching...
No Matches
HasUB.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2013 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
11#include "MantidCrystal/DllConfig.h"
12
13namespace Mantid {
14namespace Crystal {
15
20class MANTID_CRYSTAL_DLL HasUB : public ClearUB {
21public:
22 const std::string name() const override;
24 const std::string summary() const override { return "Determines whether the workspace has one or more UB Matrix"; }
25
26 int version() const override;
27 const std::vector<std::string> seeAlso() const override { return {"SetUB", "ClearUB"}; }
28 const std::string category() const override;
29
30private:
31 void init() override;
32 void exec() override;
33};
34
35} // namespace Crystal
36} // namespace Mantid
ClearUB : Clear the UB matrix from a workspace by removing the oriented lattice.
Definition: ClearUB.h:23
HasUB : Determine if a workspace has a UB matrix on any of it's samples.
Definition: HasUB.h:20
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
Definition: HasUB.h:27
const std::string summary() const override
Summary of algorithms purpose.
Definition: HasUB.h:24
Helper class which provides the Collimation Length for SANS instruments.