20const
std::
string NotMD::name()
const {
return "NotMD"; }
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)
NotMD : boolean negation of a MDHistoWorkspace.
void execHisto(Mantid::DataObjects::MDHistoWorkspace_sptr out) override
Run the algorithm with a MDHistoWorkspace.
const std::string name() const override
Algorithm's name for identification.
int version() const override
Algorithm's version 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.
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.