Mantid
Loading...
Searching...
No Matches
AndMD.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2011 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
12
13namespace Mantid {
14namespace MDAlgorithms {
15
20class MANTID_MDALGORITHMS_DLL AndMD : public BooleanBinaryOperationMD {
21public:
22 const std::string name() const override;
23 int version() const override;
24 const std::vector<std::string> seeAlso() const override { return {"XorMD", "OrMD", "NotMD"}; }
25
26private:
27 void execHistoHisto(Mantid::DataObjects::MDHistoWorkspace_sptr out,
29};
30
31} // namespace MDAlgorithms
32} // namespace Mantid
AndMD : Perform the And boolean operation on two MDHistoWorkspaces.
Definition: AndMD.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: AndMD.h:24
BooleanBinaryOperationMD : base class for boolean-type operations on MDHistoWorkspaces.
std::shared_ptr< MDHistoWorkspace > MDHistoWorkspace_sptr
A shared pointer to a MDHistoWorkspace.
std::shared_ptr< const MDHistoWorkspace > MDHistoWorkspace_const_sptr
A shared pointer to a const MDHistoWorkspace.
Helper class which provides the Collimation Length for SANS instruments.