forked from AmbaPant/mantid
-
Notifications
You must be signed in to change notification settings - Fork 1
/
MDAlgorithmsTestHelper.h
31 lines (25 loc) · 1.35 KB
/
MDAlgorithmsTestHelper.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source,
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
// SPDX - License - Identifier: GPL - 3.0 +
/*********************************************************************************
* PLEASE READ THIS!!!!!!!
*
* This header MAY ONLY be included in the MDalgorithms package
*********************************************************************************/
#pragma once
#include "MantidDataObjects/MDEventFactory.h"
namespace Mantid {
namespace MDAlgorithms {
namespace MDAlgorithmsTestHelper {
DataObjects::MDEventWorkspace3Lean::sptr makeFileBackedMDEW(const std::string &wsName, bool fileBacked,
long numEvents = 10000,
Kernel::SpecialCoordinateSystem coord = Kernel::None);
DataObjects::MDEventWorkspace3Lean::sptr
makeFileBackedMDEWwithMDFrame(const std::string &wsName, bool fileBacked, const Mantid::Geometry::MDFrame &frame,
long numEvents = 10000, Kernel::SpecialCoordinateSystem coord = Kernel::None);
} // namespace MDAlgorithmsTestHelper
} // namespace MDAlgorithms
} // namespace Mantid