10#include "MantidAlgorithms/DllConfig.h"
21 const std::string name()
const override;
22 int version()
const override;
23 const std::string category()
const override;
24 const std::string summary()
const override;
36 template <
class T>
void ScharpfEventHelper(std::vector<T> &wevector,
double thPlane);
43 float calculateFactor(
const double kfki,
const double thPlane);
Base class from which all concrete algorithm classes should be derived.
HyspecScharpfCorrection : Divide by cos(2alpha) where alpha is the angle between incident beam and th...
double m_Ei
Incident energy.
Mantid::API::MatrixWorkspace_const_sptr m_inputWS
The user selected (input) workspace.
double m_angle
In plane angle beween polarization and incident beam (in degrees)
double m_precision
Lower limit for abs(cos(2*Scharpf angle)), below which intensities are 0.
Mantid::API::MatrixWorkspace_sptr m_outputWS
The output workspace, maybe the same as the input one.
std::shared_ptr< const MatrixWorkspace > MatrixWorkspace_const_sptr
shared pointer to the matrix workspace base class (const version)
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.