10#include "MantidDataHandling/DllConfig.h"
15namespace DataHandling {
24 const std::string
name()
const override {
return "SaveDetectorsGrouping"; };
26 const std::string
summary()
const override {
return "Save a GroupingWorkspace to an XML file."; }
29 int version()
const override {
return 1; };
30 const std::vector<std::string>
seeAlso()
const override {
return {
"LoadDetectorsGroupingFile",
"GroupDetectors"}; }
32 const std::string
category()
const override {
return "DataHandling\\Grouping;Transforms\\Grouping"; }
42 void createGroupDetectorIDMap(std::map<
int, std::vector<detid_t>> &groupwkspmap);
45 void convertToDetectorsRanges(std::map<
int, std::vector<detid_t>> groupdetidsmap,
46 std::map<
int, std::vector<detid_t>> &groupdetidrangemap);
49 void printToXML(
const std::map<
int, std::vector<detid_t>> &groupdetidrangemap,
const std::string &xmlfilename);
Base class from which all concrete algorithm classes should be derived.
SaveDetectorsGrouping : TODO: DESCRIPTION.
const std::string category() const override
Algorithm's category for identification.
const std::string summary() const override
Summary of algorithms purpose.
DataObjects::GroupingWorkspace_const_sptr mGroupWS
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
const std::string name() const override
Algorithm's name for identification.
int version() const override
Algorithm's version for identification.
std::shared_ptr< const GroupingWorkspace > GroupingWorkspace_const_sptr
shared pointer to a const GroupingWorkspace
Helper class which provides the Collimation Length for SANS instruments.