10#include "MantidAlgorithms/DllConfig.h"
13#include <gsl/gsl_blas.h>
14#include <gsl/gsl_multifit_nlin.h>
15#include <gsl/gsl_multimin.h>
16#include <gsl/gsl_statistics.h>
29 const std::string
name()
const override {
return "DiffractionEventCalibrateDetectors"; }
31 const std::string
summary()
const override {
32 return "This algorithm optimizes the position and angles of all of the "
33 "detector panels. The target instruments for this feature are SNAP "
38 int version()
const override {
return 1; }
39 const std::vector<std::string>
seeAlso()
const override {
return {
"AlignComponents"}; }
42 return "Diffraction\\Calibration;"
43 "CorrectionFunctions\\InstrumentCorrections";
46 double intensity(
double x,
double y,
double z,
double rotx,
double roty,
double rotz,
const std::string &detname,
47 const std::string &inname,
const std::string &outname,
const std::string &peakOpt,
48 const std::string &rb_param,
const std::string &groupWSName);
49 void movedetector(
double x,
double y,
double z,
double rotx,
double roty,
double rotz,
const std::string &detname,
Base class from which all concrete algorithm classes should be derived.
Find the offsets for each detector.
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.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso 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.
std::shared_ptr< EventWorkspace > EventWorkspace_sptr
shared pointer to the EventWorkspace class
Helper class which provides the Collimation Length for SANS instruments.