10#include "MantidDataHandling/DllConfig.h"
11#include <nexus/NeXusFile.hpp>
22namespace DataHandling {
42 const std::string
name()
const override {
return "LoadNexusLogs"; }
44 const std::string
summary()
const override {
45 return "Loads run logs (temperature, pulse charges, etc.) from a NeXus "
46 "file and adds it to the run information in a workspace.";
50 int version()
const override {
return 1; }
51 const std::vector<std::string>
seeAlso()
const override {
return {
"LoadLog",
"MergeLogs"}; }
53 const std::string
category()
const override {
return "DataHandling\\Logs;DataHandling\\Nexus"; }
61 void execLoader()
override;
70 void loadLogs(::NeXus::File &file,
const std::string &absolute_entry_name,
const std::string &entry_class,
71 const std::shared_ptr<API::MatrixWorkspace> &
workspace,
const std::vector<std::string> &allow_list,
72 const std::vector<std::string> &block_list)
const;
81 void loadNXLog(::NeXus::File &file,
const std::string &absolute_entry_name,
const std::string &entry_class,
82 const std::shared_ptr<API::MatrixWorkspace> &
workspace)
const;
90 void loadSELog(::NeXus::File &file,
const std::string &absolute_entry_name,
91 const std::shared_ptr<API::MatrixWorkspace> &
workspace)
const;
92 void loadVetoPulses(::NeXus::File &file,
const std::shared_ptr<API::MatrixWorkspace> &
workspace)
const;
93 void loadNPeriods(::NeXus::File &file,
const std::shared_ptr<API::MatrixWorkspace> &
workspace)
const;
IPeaksWorkspace_sptr workspace
Loads the run logs from a NeXus file.
std::vector< std::string > m_logsWithInvalidValues
std::shared_ptr< API::Progress > m_progress
Progress reporting object.
LoadNexusLogs()
Default constructor.
int confidence(Kernel::NexusHDF5Descriptor &) const override
Returns a confidence value that this algorithm can load a file.
int version() const override
Algorithm's version for identification overriding a virtual method.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
std::string freqStart
Use frequency start for Monitor19 and Special1_19 logs with "No Time" for SNAP.
const std::string summary() const override
Summary of algorithms purpose.
Helper class which provides the Collimation Length for SANS instruments.