31 throw std::runtime_error(this->
name() +
" can only be run on a MDHistoWorkspace.");
37 throw std::runtime_error(this->
name() +
" can only be run on a MDHistoWorkspace.");
#define DECLARE_ALGORITHM(classname)
ExponentialMD : exponential function on MDHistoWorkspace.
int version() const override
Algorithm's version for identification.
const std::string name() const override
Algorithm's name for identification.
void checkInputs() override
Check the inputs and throw if the algorithm cannot be run.
void execEvent(Mantid::API::IMDEventWorkspace_sptr out) override
Run the algorithm on a MDEventWorkspace.
void execHisto(Mantid::DataObjects::MDHistoWorkspace_sptr out) override
Run the algorithm with a MDHistoWorkspace.
Mantid::DataObjects::MDHistoWorkspace_sptr m_in_histo
Input workspace (MDHisto)
std::shared_ptr< IMDEventWorkspace > IMDEventWorkspace_sptr
Shared pointer to Mantid::API::IMDEventWorkspace.
std::shared_ptr< MDHistoWorkspace > MDHistoWorkspace_sptr
A shared pointer to a MDHistoWorkspace.