Mantid
Loading...
Searching...
No Matches
HistogramDomainCreator.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 "MantidCurveFitting/DllConfig.h"
12
13namespace Mantid {
14
15namespace API {
16class FunctionDomain1DHistogram;
17}
18
19namespace CurveFitting {
20
45class MANTID_CURVEFITTING_DLL HistogramDomainCreator : public IMWDomainCreator {
46public:
47 HistogramDomainCreator(Kernel::IPropertyManager &manager, const std::string &workspacePropertyName);
48
49 void createDomain(std::shared_ptr<API::FunctionDomain> &domain, std::shared_ptr<API::FunctionValues> &values,
50 size_t i0 = 0) override;
51 std::shared_ptr<API::Workspace> createOutputWorkspace(const std::string &baseName, API::IFunction_sptr function,
52 std::shared_ptr<API::FunctionDomain> domain,
53 std::shared_ptr<API::FunctionValues> values,
54 const std::string &outputWorkspacePropertyName) override;
55};
56
57} // namespace CurveFitting
58} // namespace Mantid
A base class for domain creators taking 1D data from a spectrum of a matrix workspace.
Interface to PropertyManager.
std::shared_ptr< IFunction > IFunction_sptr
shared pointer to the function base class
Definition IFunction.h:743
Helper class which provides the Collimation Length for SANS instruments.