24class MDImplicitFunction;
26namespace MDAlgorithms {
42 const std::string
name()
const override {
return "BinMD"; }
44 const std::string
summary()
const override {
45 return "Take a MDEventWorkspace and bin into into a dense, "
46 "multi-dimensional histogram workspace (MDHistoWorkspace).";
50 int version()
const override {
return 1; }
51 const std::vector<std::string>
seeAlso()
const override {
return {
"SliceMDHisto",
"ProjectMD",
"CutMD",
"SliceMD"}; }
53 const std::string
category()
const override {
return "MDAlgorithms\\Slicing"; }
65 template <
typename MDE,
size_t nd>
71 std::unique_ptr<Mantid::API::Progress> prog =
nullptr;
80 bool m_accumulate{
false};
Templated class for a multi-dimensional event "box".
std::shared_ptr< MDEventWorkspace< MDE, nd > > sptr
Typedef for a shared pointer of this kind of event workspace.
Take a MDEventWorkspace and bin it to a dense histogram in a MDHistoWorkspace.
const std::string category() const override
Algorithm's category for identification.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
std::unique_ptr< Mantid::Geometry::MDImplicitFunction > implicitFunction
ImplicitFunction used.
std::vector< size_t > indexMultiplier
Cached values for speed up.
int version() const override
Algorithm's version for identification.
const std::string name() const override
Algorithm's name for identification.
Mantid::DataObjects::MDHistoWorkspace_sptr outWS
The output MDHistoWorkspace.
const std::string summary() const override
Summary of algorithms purpose.
Abstract Algorithm class that will be used by: BinMD and SliceMD and shares code for getting a slice ...
std::shared_ptr< MDHistoWorkspace > MDHistoWorkspace_sptr
A shared pointer to a MDHistoWorkspace.
Helper class which provides the Collimation Length for SANS instruments.
double signal_t
Typedef for the signal recorded in a MDBox, etc.