Mantid
Loading...
Searching...
No Matches
EventWorkspaceAccess.cpp
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 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 +
8
9namespace Mantid::Algorithms {
10
13decltype(std::mem_fn((DataObjects::EventList & (DataObjects::EventWorkspace::*)(const std::size_t)) &
14 DataObjects::EventWorkspace::getSpectrum)) EventWorkspaceAccess::eventList =
15 std::mem_fn((DataObjects::EventList & (DataObjects::EventWorkspace::*)(const std::size_t)) &
16 DataObjects::EventWorkspace::getSpectrum);
18} // namespace Mantid::Algorithms
STL namespace.