Mantid
Loading...
Searching...
No Matches
LoadEventAndCompress.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#include "MantidWorkflowAlgorithms/DllConfig.h"
12
13#include <cstddef>
14
15namespace Mantid {
16namespace WorkflowAlgorithms {
17
20class MANTID_WORKFLOWALGORITHMS_DLL LoadEventAndCompress : public API::DataProcessorAlgorithm {
21public:
22 const std::string name() const override;
23 int version() const override;
24 const std::vector<std::string> seeAlso() const override { return {"LoadEventNexus", "CompressEvents"}; }
25 const std::string category() const override;
26 const std::string summary() const override;
27
28protected:
29 API::ITableWorkspace_sptr determineChunk(const std::string &filename) override;
30 API::MatrixWorkspace_sptr loadChunk(const size_t rowIndex) override;
31
32private:
33 void init() override;
34 void exec() override;
35
38};
39
40} // namespace WorkflowAlgorithms
41} // namespace Mantid
std::string name
Definition Run.cpp:60
Data processor algorithm to be used as a parent to workflow algorithms.
LoadEventAndCompress : TODO: DESCRIPTION.
const std::vector< std::string > seeAlso() const override
std::shared_ptr< ITableWorkspace > ITableWorkspace_sptr
shared pointer to Mantid::API::ITableWorkspace
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.