Mantid
Loading...
Searching...
No Matches
ParallelEventLoader.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2017 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 <string>
10#include <vector>
11
12#include "MantidDataHandling/DllConfig.h"
13
14namespace Mantid {
15namespace DataObjects {
16class EventWorkspace;
17}
18namespace DataHandling {
19
28class MANTID_DATAHANDLING_DLL ParallelEventLoader {
29public:
30 static void loadMPI(DataObjects::EventWorkspace &ws, const std::string &filename, const std::string &groupName,
31 const std::vector<std::string> &bankNames, const bool eventIDIsSpectrumNumber);
32
33 static void loadMultiProcess(DataObjects::EventWorkspace &ws, const std::string &filename,
34 const std::string &groupName, const std::vector<std::string> &bankNames,
35 const bool eventIDIsSpectrumNumber, const bool precalcEvents);
36};
37
38} // namespace DataHandling
39} // namespace Mantid
Loader for event data from Nexus files with parallelism based on multiple processes (MPI or MultiProc...
This class is intended to fulfill the design specified in <https://github.com/mantidproject/documents...
Helper class which provides the Collimation Length for SANS instruments.