Mantid
Loading...
Searching...
No Matches
DgsRemap.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#pragma once
8
10#include "MantidKernel/System.h"
11
12namespace Mantid {
13namespace WorkflowAlgorithms {
14
19class DLLExport DgsRemap final : public API::Algorithm {
20public:
21 const std::string name() const override;
23 const std::string summary() const override { return "Mask and/or group the given workspace."; }
24
25 int version() const override;
26 const std::string category() const override;
27
28private:
29 void init() override;
30 void exec() override;
31 void execGrouping(const API::MatrixWorkspace_sptr &iWS, API::MatrixWorkspace_sptr &oWS);
32 void execMasking(const API::MatrixWorkspace_sptr &iWS);
33};
34
35} // namespace WorkflowAlgorithms
36} // namespace Mantid
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
Definition: System.h:53
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
DgsRemap : This algorithm takes a workspace and masks and groups that workspace if appropriate inform...
Definition: DgsRemap.h:19
const std::string summary() const override
Summary of algorithms purpose.
Definition: DgsRemap.h:23
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.