Mantid
Loading...
Searching...
No Matches
Framework
Kernel
inc
MantidKernel
AttenuationProfile.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2020 ISIS Rutherford Appleton Laboratory UKRI,
4
// NScD Oak Ridge National Laboratory, European Spallation Source,
5
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6
// SPDX - License - Identifier: GPL - 3.0 +
7
#pragma once
8
9
#include "MantidKernel/DllConfig.h"
10
#include "
MantidKernel/Interpolation.h
"
11
#include <vector>
12
13
namespace
Mantid
{
14
namespace
Kernel {
15
16
class
Material;
17
18
class
MANTID_KERNEL_DLL
AttenuationProfile
{
19
public
:
20
AttenuationProfile
() {};
21
AttenuationProfile
(
const
std::string &inputFileName,
const
std::string &searchPath,
22
Material
const
*extrapolationMaterial =
nullptr
,
double
extrapolationMaxX = 100);
23
double
getAttenuationCoefficient(
const
double
x)
const
;
24
25
void
setAttenuationCoefficient(
const
double
x,
const
double
atten);
26
27
private
:
28
Kernel::Interpolation
m_Interpolator
;
29
};
30
31
}
// namespace Kernel
32
}
// namespace Mantid
Interpolation.h
Mantid::Kernel::AttenuationProfile
Definition
AttenuationProfile.h:18
Mantid::Kernel::AttenuationProfile::m_Interpolator
Kernel::Interpolation m_Interpolator
Definition
AttenuationProfile.h:28
Mantid::Kernel::AttenuationProfile::AttenuationProfile
AttenuationProfile()
Definition
AttenuationProfile.h:20
Mantid::Kernel::Interpolation
Provide interpolation over a series of points.
Definition
Interpolation.h:29
Mantid::Kernel::Material
A material is defined as being composed of a given element, defined as a PhysicalConstants::NeutronAt...
Definition
Material.h:50
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition
AbsorptionCorrection.h:18
Generated by
1.9.8