Mantid
Loading...
Searching...
No Matches
FlippingRatioCorrectionMD.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2019 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 "MantidMDAlgorithms/DllConfig.h"
12
13namespace Mantid {
14namespace MDAlgorithms {
15
19class MANTID_MDALGORITHMS_DLL FlippingRatioCorrectionMD final : public API::Algorithm {
20public:
21 const std::string name() const override;
22 int version() const override;
23 const std::string category() const override;
24 const std::string summary() const override;
25
26private:
27 void init() override;
28 void exec() override;
29 std::map<std::string, std::string> validateInputs() override;
30 template <typename MDE, size_t nd>
31 void executeTemplatedMDE(typename Mantid::DataObjects::MDEventWorkspace<MDE, nd>::sptr ws);
32 std::vector<double> m_factor;
33};
34
35} // namespace MDAlgorithms
36} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
std::shared_ptr< MDEventWorkspace< MDE, nd > > sptr
Typedef for a shared pointer of this kind of event workspace.
FlippingRatioCorrectionMD : Algorithm to correct MDEvents for flipping ratio.
Helper class which provides the Collimation Length for SANS instruments.