Mantid
Loading...
Searching...
No Matches
ApplyDiffCal.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2020 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#include "MantidDataHandling/DllConfig.h"
14
15namespace Mantid {
16namespace DataHandling {
17
20class MANTID_DATAHANDLING_DLL ApplyDiffCal final : public API::Algorithm {
21public:
22 const std::string name() const override;
23 int version() const override;
24 const std::vector<std::string> seeAlso() const override {
25 return {"AlignDetectors", "ConvertDiffCal", "ConvertUnits", "LoadDiffCal"};
26 }
27 const std::string category() const override;
28 const std::string summary() const override;
30 std::map<std::string, std::string> validateInputs() override;
31
32private:
33 void init() override;
34 void exec() override;
35
36 void loadCalFile(const Mantid::API::Workspace_sptr &inputWS, const std::string &filename);
37 void getCalibrationWS(const Mantid::API::Workspace_sptr &inputWS);
38
40};
41
42} // namespace DataHandling
43} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
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: ApplyDiffCal.h:24
Mantid::API::ITableWorkspace_sptr m_calibrationWS
Definition: ApplyDiffCal.h:39
std::shared_ptr< ITableWorkspace > ITableWorkspace_sptr
shared pointer to Mantid::API::ITableWorkspace
std::shared_ptr< Workspace > Workspace_sptr
shared pointer to Mantid::API::Workspace
Definition: Workspace_fwd.h:20
Helper class which provides the Collimation Length for SANS instruments.