Mantid
Loading...
Searching...
No Matches
AddTimeSeriesLog.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2014 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 "MantidAlgorithms/DllConfig.h"
11namespace Mantid {
12
13namespace API {
14class Run;
15}
16
17namespace Algorithms {
18
19class MANTID_ALGORITHMS_DLL AddTimeSeriesLog final : public API::Algorithm {
20public:
21 const std::string name() const override;
23 const std::string summary() const override { return "Creates/updates a time-series log"; }
24
25 int version() const override;
26 const std::vector<std::string> seeAlso() const override {
27 return {"AddSampleLog", "GetTimeSeriesLogInformation", "MergeLogs"};
28 }
29 const std::string category() const override;
30
31private:
32 void init() override;
33 void exec() override;
34
36 void removeExisting(API::MatrixWorkspace_sptr &logWS, const std::string &name);
38 void createOrUpdate(API::Run &run, const std::string &name);
39};
40
41} // namespace Algorithms
42} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
This class stores information regarding an experimental run as a series of log entries.
Definition: Run.h:38
const std::string summary() const override
Summary of algorithms purpose.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.