12#include "MantidAlgorithms/DllConfig.h"
13#include <unordered_map>
22 std::string
const name()
const override {
return "PolarizationEfficienciesWildes"; }
25 std::string
const summary()
const override;
28 std::string
const category()
const override {
return "Reflectometry\\PolarizationCorrections"; }
31 const std::vector<std::string>
seeAlso()
const override {
return {
"PolarizationCorrectionWildes"}; }
34 int version()
const override {
return 1; }
44 std::map<std::string, std::string> validateInputs()
override;
47 void calculateFlipperEfficienciesAndPhi();
53 void calculatePolarizerAndAnalyserEfficiencies(
const bool solveForP,
const bool solveForA);
59 void resetMemberVariables();
63 void resetPropertyValue(
const std::string &propertyName);
66 void populateSpinStateWorkspaces(
const WorkspaceGroup_sptr &wsGrp,
const std::string &keyPrefix =
"");
69 void mapSpinStateWorkspaces();
88 bool m_magWsProvided =
false;
Base class from which all concrete algorithm classes should be derived.
std::string const category() const override
The category of the algorithm.
const std::vector< std::string > seeAlso() const override
Returns related algorithms.
int version() const override
The version number of the algorithm.
std::unordered_map< std::string, MatrixWorkspace_sptr > m_spinStateWorkspaces
std::string const name() const override
The string identifier for the algorithm.
std::shared_ptr< WorkspaceGroup > WorkspaceGroup_sptr
shared pointer to Mantid::API::WorkspaceGroup
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
const MatrixWorkspace_sptr & ws01
const MatrixWorkspace_sptr & ws11
const MatrixWorkspace_sptr & ws10
const MatrixWorkspace_sptr & ws00