Mantid
Loading...
Searching...
No Matches
FindDetectorsInShape.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2009 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
10#include "MantidDataHandling/DllConfig.h"
11
12namespace Mantid {
13namespace DataHandling {
40class MANTID_DATAHANDLING_DLL FindDetectorsInShape : public API::DistributedAlgorithm {
41public:
43 const std::string name() const override { return "FindDetectorsInShape"; };
45 const std::string summary() const override {
46 return "Used to find which instrument detectors are contained within a "
47 "user-defined 3-D shape.";
48 }
49
51 int version() const override { return 1; };
52 const std::vector<std::string> seeAlso() const override { return {"MaskDetectorsInShape"}; }
54 const std::string category() const override { return "Utility\\Instrument"; }
55
56private:
57 // Implement abstract Algorithm methods
58 void init() override;
59 void exec() override;
60};
61
62} // namespace DataHandling
63} // namespace Mantid
Base class for algorithms that treat all spectra independently, i.e., we can trivially parallelize ov...
An algorithm for finding which detectors are contained within a user defined shape within the instrum...
int version() const override
Algorithm's version for identification overriding a virtual method.
const std::string summary() const override
Summary of algorithms purpose.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
Helper class which provides the Collimation Length for SANS instruments.