Mantid
Loading...
Searching...
No Matches
PDDetermineCharacterizations.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2015 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 "MantidAlgorithms/DllConfig.h"
12
13namespace Mantid {
14
15namespace API {
16class Run;
17}
18
19namespace Kernel {
21class PropertyMantager;
23using PropertyManager_sptr = std::shared_ptr<PropertyManager>;
24} // namespace Kernel
25
26namespace Algorithms {
27
30class MANTID_ALGORITHMS_DLL PDDetermineCharacterizations : public API::DistributedAlgorithm {
31public:
32 const std::string name() const override;
33 int version() const override;
34 const std::string category() const override;
35 const std::string summary() const override;
36 std::map<std::string, std::string> validateInputs() override;
37
38private:
39 double getLogValue(const API::Run &run, const std::string &propName);
40 void getInformationFromTable(const double frequency, const double wavelength, const std::string &canName);
41 void setDefaultsInPropManager();
42 void overrideRunNumProperty(const std::string &inputName, const std::string &propName);
43 void init() override;
44 void exec() override;
45
48};
49
50} // namespace Algorithms
51} // namespace Mantid
Base class for algorithms that treat all spectra independently, i.e., we can trivially parallelize ov...
This class stores information regarding an experimental run as a series of log entries.
Definition: Run.h:38
std::shared_ptr< ITableWorkspace > ITableWorkspace_sptr
shared pointer to Mantid::API::ITableWorkspace
std::shared_ptr< PropertyManager > PropertyManager_sptr
Typedef for a shared pointer to a PropertyManager.
Helper class which provides the Collimation Length for SANS instruments.