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 "MantidKernel/System.h"
12
13namespace Mantid {
14namespace WorkflowAlgorithms {
15
19public:
20 const std::string name() const override;
21 int version() const override;
22 const std::vector<std::string> seeAlso() const override { return {"LoadEventNexus", "CompressEvents"}; }
23 const std::string category() const override;
24 const std::string summary() const override;
25
26protected:
27 API::ITableWorkspace_sptr determineChunk(const std::string &filename) override;
28 API::MatrixWorkspace_sptr loadChunk(const size_t rowIndex) override;
30
31 Parallel::ExecutionMode
32 getParallelExecutionMode(const std::map<std::string, Parallel::StorageMode> &storageModes) const override;
33
34private:
35 void init() override;
36 void exec() override;
37
40};
41
42} // namespace WorkflowAlgorithms
43} // namespace Mantid
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
Definition: System.h:53
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.