28class DetectorGridDefinition;
29class MCInteractionVolume;
38 const std::string
name()
const override {
return "XrayAbsorptionCorrection"; }
40 int version()
const override {
return 1; }
42 const std::string
category()
const override {
return "CorrectionFunctions\\AbsorptionCorrections"; }
44 const std::string
summary()
const override {
45 return "Calculates attenuation of xrays produced by negative muons due"
46 " to absorption in a sample for elemental analysis ";
48 const std::vector<std::string>
seeAlso()
const override {
return {
"SetSample",
"SetSampleMaterial"}; }
51 double degreesToRadians(
double degrees);
53 Kernel::V3D calculateDetectorPos(
double const detectorAngle,
double detectorDistance);
58 std::vector<double> normaliseMuonIntensity(MantidVec muonIntensity);
63 std::map<std::string, std::string> validateInputs()
override;
Base class from which all concrete algorithm classes should be derived.
Calculates attenuation of xrays due to absorption in a sample.
virtual ~XrayAbsorptionCorrection()=default
int version() const override
Algorithm's version.
const std::string category() const override
Algorithm's category for identification.
const std::string summary() const override
Summary of algorithms purpose.
const std::string name() const override
Algorithm's name.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.