Mantid
Loading...
Searching...
No Matches
LogValueFinder.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2016 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
9#include "DllOption.h"
11
12#include <string>
13#include <vector>
14
15namespace MantidQt {
16namespace MantidWidgets {
17
22public:
24 explicit LogValueFinder(std::vector<std::string> wsNames);
26 std::vector<std::string> getLogNames() const;
28 double getLogValue(const std::string &logName, const Mantid::Kernel::Math::StatisticType &function, int index) const;
30 double getLogValue(const std::string &logName, const Mantid::Kernel::Math::StatisticType &function,
31 const std::string &wsName) const;
32
33private:
35 const std::vector<std::string> m_wsNames;
36};
37
38} // namespace MantidWidgets
39} // namespace MantidQt
#define EXPORT_OPT_MANTIDQT_COMMON
Definition DllOption.h:15
std::map< DeltaEMode::Type, std::string > index
MDFLogValueFinder : Holds a collection of workspace names, and finds log values from them.
const std::vector< std::string > m_wsNames
Workspace names.
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...
StatisticType
Maps a "statistic" to a number.
Definition Statistics.h:18