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)) &
15 std::mem_fn((DataObjects::EventList & (DataObjects::EventWorkspace::*)(const std::size_t)) &
18} // namespace Mantid::Algorithms
EventList & getSpectrum(const size_t index) override
Return the underlying ISpectrum ptr at the given workspace index.
static decltype(std::mem_fn((DataObjects::EventList &(DataObjects::EventWorkspace::*)(const std::size_t)) &DataObjects::EventWorkspace::getSpectrum)) eventList