Mantid
Loading...
Searching...
No Matches
Framework
Algorithms
src
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 +
7
#include "
MantidAlgorithms/EventWorkspaceAccess.h
"
8
9
namespace
Mantid::Algorithms
{
10
13
decltype
(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
EventWorkspaceAccess.h
Mantid::DataObjects::EventWorkspace::getSpectrum
EventList & getSpectrum(const size_t index) override
Return the underlying ISpectrum ptr at the given workspace index.
Definition:
EventWorkspace.h:75
Mantid::Algorithms
Definition:
AbsorptionCorrection.h:28
Mantid::Algorithms::EventWorkspaceAccess::eventList
static decltype(std::mem_fn((DataObjects::EventList &(DataObjects::EventWorkspace::*)(const std::size_t)) &DataObjects::EventWorkspace::getSpectrum)) eventList
Definition:
EventWorkspaceAccess.h:15
Generated on Tue Jan 3 2023 11:57:18 for Mantid by
1.9.5