Mantid
Loading...
Searching...
No Matches
SofTwoThetaTOF.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 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 "MantidWorkflowAlgorithms/DllConfig.h"
11
12namespace Mantid {
13namespace WorkflowAlgorithms {
14
18class MANTID_WORKFLOWALGORITHMS_DLL SofTwoThetaTOF : public API::DataProcessorAlgorithm {
19public:
20 const std::string name() const override;
21 int version() const override;
22 const std::string category() const override;
23 const std::string summary() const override;
24
25private:
26 void init() override;
27 void exec() override;
28 double clarifyAngleStep(API::MatrixWorkspace const &ws);
31 API::MatrixWorkspace_sptr groupByTwoTheta(API::MatrixWorkspace_sptr &ws, double const twoThetaStep);
34};
35
36} // namespace WorkflowAlgorithms
37} // namespace Mantid
std::string name
Definition Run.cpp:60
Data processor algorithm to be used as a parent to workflow algorithms.
Base MatrixWorkspace Abstract Class.
SofTwoThetaTOF : Convert a S(spectrum number, TOF) workspace to S(twoTheta, TOF) workspace.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.