Mantid
Loading...
Searching...
No Matches
EQSANSPatchSensitivity.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
9//----------------------------------------------------------------------
10// Includes
11//----------------------------------------------------------------------
12#include "MantidAPI/Algorithm.h"
13#include "MantidWorkflowAlgorithms/DllConfig.h"
14
15namespace Mantid {
16namespace WorkflowAlgorithms {
21class MANTID_WORKFLOWALGORITHMS_DLL EQSANSPatchSensitivity final : public API::Algorithm {
22public:
24 const std::string name() const override { return "EQSANSPatchSensitivity"; }
26 const std::string summary() const override { return "Patch EQSANS sensitivity correction."; }
28 int version() const override { return (1); }
30 const std::string category() const override { return "Workflow\\SANS"; }
31
32private:
34 void init() override;
36 void exec() override;
37};
38
39} // namespace WorkflowAlgorithms
40} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition Algorithm.h:76
Calculate the detector sensitivity and patch the pixels that are masked in a second workspace.
int version() const override
Algorithm's version.
const std::string category() const override
Algorithm's category for identification.
const std::string name() const override
Algorithm's name.
const std::string summary() const override
Summary of algorithms purpose.
Helper class which provides the Collimation Length for SANS instruments.