11#include "MantidDataHandling/DllConfig.h"
14#include <boost/function.hpp>
22namespace DataHandling {
34 std::vector<DataObjects::EventWorkspace_sptr>
m_WsVec;
45 void reserveEventListAt(
size_t wi,
size_t size);
46 size_t nPeriods()
const;
51 void setGeometryFlag(
const int flag);
52 void setThickness(
const float flag);
53 void setHeight(
const float flag);
54 void setWidth(
const float flag);
55 void setSpectrumNumbersFromUniqueSpectra(
const std::set<int> &uniqueSpectra);
56 void setSpectrumNumberForAllPeriods(
const size_t spectrumNumber,
const specnum_t specid);
57 void setDetectorIdsForAllPeriods(
const size_t spectrumNumber,
const detid_t
id);
66 size_t getNumberHistograms()
const;
68 std::vector<size_t> getSpectrumToWorkspaceIndexVector(
Mantid::specnum_t &offset)
const;
70 std::vector<size_t> getDetectorIDToWorkspaceIndexVector(
Mantid::specnum_t &offset,
bool dothrow)
const;
71 Types::Core::DateAndTime getFirstPulseTime()
const;
72 void setAllX(
const HistogramData::BinEdges &x);
73 size_t getNumberEvents()
const;
74 void setIndexInfo(
const Indexing::IndexInfo &indexInfo);
76 void setMonitorWorkspace(
const std::shared_ptr<API::MatrixWorkspace> &monitorWS);
78 void setTitle(
const std::string &title);
std::map< DeltaEMode::Type, std::string > index
Class to represent the axis of a workspace.
This class stores information regarding an experimental run as a series of log entries.
This class stores information about the sample used in particular run.
A minimal class to hold the mapping between the spectrum number and its related detector ID numbers f...
EventWorkspaceCollection : Collection of EventWorspaces to give backward-forward compatibility around...
EventWorkspaceCollection(const EventWorkspaceCollection &other)=delete
std::vector< DataObjects::EventWorkspace_sptr > m_WsVec
Vector of EventWorkspaces.
virtual ~EventWorkspaceCollection()=default
EventWorkspaceCollection & operator=(const EventWorkspaceCollection &other)=delete
A specialised Property class for holding a series of time-value pairs.
std::shared_ptr< Workspace > Workspace_sptr
shared pointer to Mantid::API::Workspace
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
std::shared_ptr< EventWorkspaceCollection > EventWorkspaceCollection_sptr
std::unique_ptr< EventWorkspaceCollection > EventWorkspaceCollection_uptr
std::shared_ptr< EventWorkspace > EventWorkspace_sptr
shared pointer to the EventWorkspace class
std::shared_ptr< const Instrument > Instrument_const_sptr
Shared pointer to an const instrument object.
std::enable_if< std::is_pointer< Arg >::value, bool >::type threadSafe(Arg workspace)
Thread-safety check Checks the workspace to ensure it is suitable for multithreaded access.
Helper class which provides the Collimation Length for SANS instruments.
int32_t specnum_t
Typedef for a spectrum Number.