Mantid
Loading...
Searching...
No Matches
QENSFitUtilities.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2015 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
12#include <functional>
13
14namespace Mantid {
15namespace API {
16
17void renameWorkspacesInQENSFit(Algorithm *qensFit, IAlgorithm_sptr renameAlgorithm,
18 const WorkspaceGroup_sptr &outputGroup, std::string const &outputBaseName,
19 std::string const &groupSuffix,
20 std::function<std::string(std::size_t)> const &getNameSuffix);
21
22bool containsMultipleData(const std::vector<MatrixWorkspace_sptr> &workspaces);
23
24} // namespace API
25} // namespace Mantid
std::shared_ptr< IAlgorithm > IAlgorithm_sptr
shared pointer to Mantid::API::IAlgorithm
std::shared_ptr< WorkspaceGroup > WorkspaceGroup_sptr
shared pointer to Mantid::API::WorkspaceGroup
void renameWorkspacesInQENSFit(Algorithm *qensFit, IAlgorithm_sptr renameAlgorithm, const WorkspaceGroup_sptr &outputGroup, std::string const &outputBaseName, std::string const &groupSuffix, std::function< std::string(std::size_t)> const &getNameSuffix)
bool containsMultipleData(const std::vector< MatrixWorkspace_sptr > &workspaces)
Helper class which provides the Collimation Length for SANS instruments.