78 const std::string
name()
const override {
return "CylinderAbsorption"; }
80 const std::string
summary()
const override {
81 return "Calculates bin-by-bin correction factors for attenuation due to "
82 "absorption and single scattering in a 'cylindrical' sample.";
86 int version()
const override {
return (1); }
87 const std::vector<std::string>
seeAlso()
const override {
return {
"AbsorptionCorrection"}; }
90 void defineProperties()
override;
91 void retrieveProperties()
override;
92 std::string sampleXML()
override;
93 void initialiseCachedDistances()
override;
94 void getShapeFromSample(
const Geometry::IObject &sampleShape,
bool updateHeight,
bool updateRadius);
95 std::map<std::string, std::string> validateInputs()
override;
A base class for absorption correction algorithms.
Calculates attenuation due to absorption and scattering in a cylindrical sample.
const std::string summary() const override
Summary of algorithms purpose.
Kernel::V3D m_cylAxis
The axis orientation of the cylinder.
const std::string name() const override
Algorithm's name.
int m_numAnnuli
The number of annuli.
double m_cylRadius
The radius of the cylindrical sample in m.
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.
int m_numSlices
The number of slices.
double m_cylHeight
The height of the cylindrical sample in m.
IObject : Interface for geometry objects.
Helper class which provides the Collimation Length for SANS instruments.