Mantid
Loading...
Searching...
No Matches
ISISRunLogs.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2012 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 "MantidDataHandling/DllConfig.h"
11
12#include "MantidAPI/Run.h"
13
14#include <memory>
15
16namespace Mantid {
17namespace DataHandling {
18
28class MANTID_DATAHANDLING_DLL ISISRunLogs {
29public:
32 ISISRunLogs(const API::Run &icpRun);
34 void addStatusLog(API::Run &exptRun);
36 void addPeriodLogs(const int period, API::Run &exptRun);
38 void addPeriodLog(const int period, API::Run &exptRun);
39
41 static std::vector<std::string> getLogNamesExcludedFromFiltering(const API::Run &run);
42
44 static void applyLogFiltering(Mantid::API::Run &exptRun);
45
46private:
48 std::unique_ptr<Kernel::LogParser> m_logParser;
49};
50
51} // namespace DataHandling
52} // namespace Mantid
This class stores information regarding an experimental run as a series of log entries.
Definition: Run.h:38
Defines a class to aid in creating ISIS specific run logs for periods, status etc.
Definition: ISISRunLogs.h:28
std::unique_ptr< Kernel::LogParser > m_logParser
A LogParser object.
Definition: ISISRunLogs.h:48
Helper class which provides the Collimation Length for SANS instruments.