66 const std::string
name()
const override {
return "FlatPlateAbsorption"; }
68 const std::string
summary()
const override {
69 return "Calculates bin-by-bin correction factors for attenuation due to "
70 "absorption and scattering in a sample of 'flat plate' geometry.";
74 int version()
const override {
return (1); }
75 const std::vector<std::string>
seeAlso()
const override {
return {
"AbsorptionCorrection"}; }
78 void initialiseCachedDistances()
override;
81 void defineProperties()
override;
82 void retrieveProperties()
override;
83 std::string sampleXML()
override;
A base class for absorption correction algorithms.
Calculates attenuation due to absorption and scattering in a flat plate/slab sample.
double m_ZSliceThickness
The thickness of a Z slice in m.
int m_numXSlices
The number of slices in X.
double m_slabThickness
The thickness of the sample in m.
double m_slabHeight
The height of the sample in m.
const std::string summary() const override
Summary of algorithms purpose.
double m_XSliceThickness
The thickness of an X slice in m.
double m_slabWidth
The width of the sample in m.
const std::string name() const override
Algorithm's name.
int m_numZSlices
The number of slices in Z.
int version() const override
Algorithm's version.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
double m_YSliceThickness
The thickness of a Y slice in m.
int m_numYSlices
The number of slices in Y.
Helper class which provides the Collimation Length for SANS instruments.