Mantid
Loading...
Searching...
No Matches
StepScan.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2013 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
11#include "MantidKernel/System.h"
12
13namespace Mantid {
14namespace WorkflowAlgorithms {
21class DLLExport StepScan final : public API::Algorithm {
22public:
23 const std::string name() const override;
25 const std::string summary() const override {
26 return "Workflow algorithm for analysis of an alignment scan from an SNS "
27 "Adara-enabled beam line";
28 }
29
30 int version() const override;
31 const std::string category() const override;
32
33private:
34 void init() override;
35 void exec() override;
36
37 DataObjects::EventWorkspace_sptr getMonitorWorkspace(const API::MatrixWorkspace_sptr &inputWS);
38 DataObjects::EventWorkspace_sptr cloneInputWorkspace(const API::Workspace_sptr &inputWS);
39 void runMaskDetectors(const API::MatrixWorkspace_sptr &inputWS, const API::MatrixWorkspace_sptr &maskWS);
40 void runFilterByXValue(const API::MatrixWorkspace_sptr &inputWS, const double xmin, const double xmax);
41};
42
43} // namespace WorkflowAlgorithms
44} // namespace Mantid
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
Definition: System.h:53
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
This workflow algorithm is for generation of a rocking curve from an alignment scan performed on an A...
Definition: StepScan.h:21
const std::string summary() const override
Summary of algorithms purpose.
Definition: StepScan.h:25
std::shared_ptr< Workspace > Workspace_sptr
shared pointer to Mantid::API::Workspace
Definition: Workspace_fwd.h:20
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
std::shared_ptr< EventWorkspace > EventWorkspace_sptr
shared pointer to the EventWorkspace class
Helper class which provides the Collimation Length for SANS instruments.