24 IEventWorkspace(
const Parallel::StorageMode storageMode = Parallel::StorageMode::Cloned)
36 const std::string
id()
const override {
return "IEventWorkspace"; }
46 bool skipError =
false)
const override = 0;
48 virtual void setAllX(
const HistogramData::BinEdges &x) = 0;
std::map< DeltaEMode::Type, std::string > index
IEventList : Interface to Mantid::DataObjects::EventList class, used to expose to PythonAPI.
This class provides an interface to an EventWorkspace.
virtual void resetAllXToSingleBin()=0
virtual Mantid::Types::Core::DateAndTime getTimeAtSampleMin(double tofOffset=0) const =0
IEventWorkspace * doClone() const override=0
Virtual clone method. Not implemented to force implementation in children.
IEventWorkspace_uptr clone() const
Returns a clone of the workspace.
virtual void setAllX(const HistogramData::BinEdges &x)=0
virtual EventType getEventType() const =0
virtual Mantid::Types::Core::DateAndTime getPulseTimeMax() const =0
IEventWorkspace * doCloneEmpty() const override=0
Virtual cloneEmpty method.
const IEventList & getSpectrum(const size_t index) const override=0
Return the underlying ISpectrum ptr (const version) at the given workspace index.
virtual double getTofMin() const =0
const std::string toString() const override
Serializes the object to a string.
virtual Mantid::Types::Core::DateAndTime getPulseTimeMin() const =0
virtual double getTofMax() const =0
IEventWorkspace & operator=(const IEventWorkspace &)=delete
IEventWorkspace(const IEventWorkspace &)=default
Protected copy constructor. May be used by childs for cloning.
virtual void clearMRU() const =0
IEventList & getSpectrum(const size_t index) override=0
Return the underlying ISpectrum ptr at the given workspace index.
IEventWorkspace(const Parallel::StorageMode storageMode=Parallel::StorageMode::Cloned)
const std::string id() const override
Return the workspace typeID.
void generateHistogram(const std::size_t index, const MantidVec &X, MantidVec &Y, MantidVec &E, bool skipError=false) const override=0
Generate the histogram or rebin the existing histogram.
virtual Mantid::Types::Core::DateAndTime getTimeAtSampleMax(double tofOffset=0) const =0
IEventList & getSpectrumWithoutInvalidation(const size_t index) override=0
virtual std::size_t getNumberEvents() const =0
IEventWorkspace_uptr cloneEmpty() const
Returns a default-initialized clone of the workspace.
Base MatrixWorkspace Abstract Class.
std::unique_ptr< IEventWorkspace > IEventWorkspace_uptr
unique pointer to Mantid::API::IEventWorkspace
EventType
What kind of event list is being stored.
Helper class which provides the Collimation Length for SANS instruments.
std::vector< double > MantidVec
typedef for the data storage used in Mantid matrix workspaces