Mantid
Loading...
Searching...
No Matches
FindDeadDetectors.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2007 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
9//----------------------------------------------------------------------
10// Includes
11//----------------------------------------------------------------------
12#include "MantidAPI/Algorithm.h"
13#include "MantidAlgorithms/DllConfig.h"
14
15namespace Mantid {
16namespace Algorithms {
52class MANTID_ALGORITHMS_DLL FindDeadDetectors final : public API::Algorithm {
53public:
55 const std::string name() const override { return "FindDeadDetectors"; }
57 const std::string summary() const override {
58 return "Identifies and flags empty spectra caused by 'dead' detectors.";
59 }
60
62 int version() const override { return (1); }
63 const std::vector<std::string> seeAlso() const override {
64 return {"FindDetectorsOutsideLimits", "DetectorDiagnostic"};
65 }
67 const std::string category() const override { return "Diagnostics"; }
68
69private:
70 // Overridden Algorithm methods
71 void init() override;
72 void exec() override;
73
74 API::MatrixWorkspace_sptr integrateWorkspace();
75};
76
77} // namespace Algorithms
78} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Takes a workspace as input and identifies all of the spectra that have a value across all time bins l...
int version() const override
Algorithm's version for identification overriding a virtual method.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
const std::string summary() const override
Summary of algorithms purpose.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.