7#ifndef MANTID_DATAHANDLING_LOADCSNSNEXUS_H_
8#define MANTID_DATAHANDLING_LOADCSNSNEXUS_H_
11#include "MantidDataHandling/DllConfig.h"
13#include <nexus/NeXusFile.hpp>
17namespace DataHandling {
23 const std::string name()
const override;
25 const std::string
summary()
const override {
return "Loads an CSNS NeXus file into a group workspace."; }
27 int version()
const override;
28 const std::vector<std::string>
seeAlso()
const override {
return {
""}; }
29 const std::string category()
const override;
31 Types::Core::DateAndTime getExperimentTime(
const std::string &typeName);
33 std::vector<std::string> getModules(
const std::string &inst,
const std::vector<std::string> &inputNames);
34 bool checkBanknames(
const std::vector<std::string> &inputNames);
35 std::vector<std::string> getGPPDModules(
const std::string &bankName);
36 std::vector<int64_t> getPixelId(
const std::vector<std::string> &inputList);
37 std::vector<uint32_t> getTimeBin(
const std::string &typeName);
38 std::vector<uint32_t> getHistData(
const std::vector<std::string> &inputList);
40 const std::vector<uint32_t> &histData);
42 std::multimap<uint32_t, std::pair<float, int64_t>> getEventData(
const std::vector<std::string> &inputList,
43 const std::vector<uint32_t> &startList,
44 const std::vector<uint32_t> &endList,
45 const std::vector<int64_t> &pids);
47 size_t pidNums,
const std::multimap<uint32_t, std::pair<float, int64_t>> &evtData);
52 std::unique_ptr<::NeXus::File>
m_file;
IPeaksWorkspace_sptr workspace
Base class from which all concrete algorithm classes should be derived.
LoadCSNSNexus : TODO: DESCRIPTION.
std::vector< std::string > m_modules
const std::string summary() const override
Summary of algorithms purpose.
std::unique_ptr<::NeXus::File > m_file
std::vector< std::string > m_monitors
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::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
std::shared_ptr< EventWorkspace > EventWorkspace_sptr
shared pointer to the EventWorkspace class
Helper class which provides the Collimation Length for SANS instruments.