11#include "MantidDataHandling/DllConfig.h"
22namespace DataHandling {
32 const std::string
name()
const override {
return "LoadIsawDetCal"; }
34 const std::string
summary()
const override {
35 return "Since ISAW already has the capability to calibrate the instrument "
36 "using single crystal peaks, this algorithm leverages this in "
37 "mantid. It loads in a detcal file from ISAW and moves all of the "
38 "detector panels accordingly. The target instruments for this "
39 "feature are SNAP and TOPAZ.";
43 int version()
const override {
return 1; }
44 const std::vector<std::string>
seeAlso()
const override {
return {
"SaveIsawDetCal"}; }
46 const std::string
category()
const override {
return "Diffraction\\DataHandling;DataHandling\\Isaw"; }
49 std::map<std::string, std::string> validateInputs()
override;
52 const double CM_TO_M = 0.01;
65 void center(
const double x,
const double y,
const double z,
const std::string &detname,
const API::Workspace_sptr &ws,
69 std::vector<std::string> getFilenames();
72 const std::shared_ptr<const Geometry::IComponent> &comp,
bool doWishCorrection =
false);
73 void applyScalings(
API::Workspace_sptr &ws,
const std::vector<ComponentScaling> &rectangularDetectorScalings);
Base class from which all concrete algorithm classes should be derived.
Find the offsets for each detector.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
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::string category() const override
Algorithm's category for identification overriding a virtual method.
const std::string summary() const override
Summary of algorithms purpose.
ComponentInfo : Provides a component centric view on to the instrument.
std::shared_ptr< Workspace > Workspace_sptr
shared pointer to Mantid::API::Workspace
std::shared_ptr< Instrument > Instrument_sptr
Shared pointer to an instrument object.
Helper class which provides the Collimation Length for SANS instruments.
std::string componentName